github.com/MerlinKodo/sing-tun@v0.1.15/internal/winipcfg/types_test_32.go (about)

     1  //go:build 386 || arm
     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          = 24
    12  	ipAdapterWINSServerAddressNextOffset    = 8
    13  	ipAdapterWINSServerAddressAddressOffset = 12
    14  
    15  	ipAdapterGatewayAddressSize          = 24
    16  	ipAdapterGatewayAddressNextOffset    = 8
    17  	ipAdapterGatewayAddressAddressOffset = 12
    18  
    19  	ipAdapterDNSSuffixSize         = 516
    20  	ipAdapterDNSSuffixStringOffset = 4
    21  
    22  	ipAdapterAddressesSize                         = 376
    23  	ipAdapterAddressesIfIndexOffset                = 4
    24  	ipAdapterAddressesNextOffset                   = 8
    25  	ipAdapterAddressesAdapterNameOffset            = 12
    26  	ipAdapterAddressesFirstUnicastAddressOffset    = 16
    27  	ipAdapterAddressesFirstAnycastAddressOffset    = 20
    28  	ipAdapterAddressesFirstMulticastAddressOffset  = 24
    29  	ipAdapterAddressesFirstDNSServerAddressOffset  = 28
    30  	ipAdapterAddressesDNSSuffixOffset              = 32
    31  	ipAdapterAddressesDescriptionOffset            = 36
    32  	ipAdapterAddressesFriendlyNameOffset           = 40
    33  	ipAdapterAddressesPhysicalAddressOffset        = 44
    34  	ipAdapterAddressesPhysicalAddressLengthOffset  = 52
    35  	ipAdapterAddressesFlagsOffset                  = 56
    36  	ipAdapterAddressesMTUOffset                    = 60
    37  	ipAdapterAddressesIfTypeOffset                 = 64
    38  	ipAdapterAddressesOperStatusOffset             = 68
    39  	ipAdapterAddressesIPv6IfIndexOffset            = 72
    40  	ipAdapterAddressesZoneIndicesOffset            = 76
    41  	ipAdapterAddressesFirstPrefixOffset            = 140
    42  	ipAdapterAddressesTransmitLinkSpeedOffset      = 144
    43  	ipAdapterAddressesReceiveLinkSpeedOffset       = 152
    44  	ipAdapterAddressesFirstWINSServerAddressOffset = 160
    45  	ipAdapterAddressesFirstGatewayAddressOffset    = 164
    46  	ipAdapterAddressesIPv4MetricOffset             = 168
    47  	ipAdapterAddressesIPv6MetricOffset             = 172
    48  	ipAdapterAddressesLUIDOffset                   = 176
    49  	ipAdapterAddressesDHCPv4ServerOffset           = 184
    50  	ipAdapterAddressesCompartmentIDOffset          = 192
    51  	ipAdapterAddressesNetworkGUIDOffset            = 196
    52  	ipAdapterAddressesConnectionTypeOffset         = 212
    53  	ipAdapterAddressesTunnelTypeOffset             = 216
    54  	ipAdapterAddressesDHCPv6ServerOffset           = 220
    55  	ipAdapterAddressesDHCPv6ClientDUIDOffset       = 228
    56  	ipAdapterAddressesDHCPv6ClientDUIDLengthOffset = 360
    57  	ipAdapterAddressesDHCPv6IAIDOffset             = 364
    58  	ipAdapterAddressesFirstDNSSuffixOffset         = 368
    59  )