github.com/metacubex/sing-tun@v0.2.7-0.20240512075008-89e7c6208eec/internal/winipcfg/types_test_64.go (about)

     1  //go:build amd64 || arm64
     2  
     3  /* SPDX-License-Identifier: MIT
     4   *
     5   * Copyright (C) 2019-2022 WireGuard LLC. All Rights Reserved.
     6   */
     7  
     8  package winipcfg
     9  
    10  const (
    11  	ipAdapterWINSServerAddressSize          = 32
    12  	ipAdapterWINSServerAddressNextOffset    = 8
    13  	ipAdapterWINSServerAddressAddressOffset = 16
    14  
    15  	ipAdapterGatewayAddressSize          = 32
    16  	ipAdapterGatewayAddressNextOffset    = 8
    17  	ipAdapterGatewayAddressAddressOffset = 16
    18  
    19  	ipAdapterDNSSuffixSize         = 520
    20  	ipAdapterDNSSuffixStringOffset = 8
    21  
    22  	ipAdapterAddressesSize                         = 448
    23  	ipAdapterAddressesIfIndexOffset                = 4
    24  	ipAdapterAddressesNextOffset                   = 8
    25  	ipAdapterAddressesAdapterNameOffset            = 16
    26  	ipAdapterAddressesFirstUnicastAddressOffset    = 24
    27  	ipAdapterAddressesFirstAnycastAddressOffset    = 32
    28  	ipAdapterAddressesFirstMulticastAddressOffset  = 40
    29  	ipAdapterAddressesFirstDNSServerAddressOffset  = 48
    30  	ipAdapterAddressesDNSSuffixOffset              = 56
    31  	ipAdapterAddressesDescriptionOffset            = 64
    32  	ipAdapterAddressesFriendlyNameOffset           = 72
    33  	ipAdapterAddressesPhysicalAddressOffset        = 80
    34  	ipAdapterAddressesPhysicalAddressLengthOffset  = 88
    35  	ipAdapterAddressesFlagsOffset                  = 92
    36  	ipAdapterAddressesMTUOffset                    = 96
    37  	ipAdapterAddressesIfTypeOffset                 = 100
    38  	ipAdapterAddressesOperStatusOffset             = 104
    39  	ipAdapterAddressesIPv6IfIndexOffset            = 108
    40  	ipAdapterAddressesZoneIndicesOffset            = 112
    41  	ipAdapterAddressesFirstPrefixOffset            = 176
    42  	ipAdapterAddressesTransmitLinkSpeedOffset      = 184
    43  	ipAdapterAddressesReceiveLinkSpeedOffset       = 192
    44  	ipAdapterAddressesFirstWINSServerAddressOffset = 200
    45  	ipAdapterAddressesFirstGatewayAddressOffset    = 208
    46  	ipAdapterAddressesIPv4MetricOffset             = 216
    47  	ipAdapterAddressesIPv6MetricOffset             = 220
    48  	ipAdapterAddressesLUIDOffset                   = 224
    49  	ipAdapterAddressesDHCPv4ServerOffset           = 232
    50  	ipAdapterAddressesCompartmentIDOffset          = 248
    51  	ipAdapterAddressesNetworkGUIDOffset            = 252
    52  	ipAdapterAddressesConnectionTypeOffset         = 268
    53  	ipAdapterAddressesTunnelTypeOffset             = 272
    54  	ipAdapterAddressesDHCPv6ServerOffset           = 280
    55  	ipAdapterAddressesDHCPv6ClientDUIDOffset       = 296
    56  	ipAdapterAddressesDHCPv6ClientDUIDLengthOffset = 428
    57  	ipAdapterAddressesDHCPv6IAIDOffset             = 432
    58  	ipAdapterAddressesFirstDNSSuffixOffset         = 440
    59  )