github.com/labulakalia/water@v0.0.5-0.20231118024244-f351ca6784b6/waterutil/ip_protocols.go (about)

     1  package waterutil
     2  
     3  type IPProtocol byte
     4  
     5  // IP Protocols. From: http://en.wikipedia.org/wiki/List_of_IP_protocol_numbers
     6  const (
     7  	HOPOPT            = 0x00
     8  	ICMP              = 0x01
     9  	IGMP              = 0x02
    10  	GGP               = 0x03
    11  	IPv4Encapsulation = 0x04
    12  	ST                = 0x05
    13  	TCP               = 0x06
    14  	CBT               = 0x07
    15  	EGP               = 0x08
    16  	IGP               = 0x09
    17  	BBN_RCC_MON       = 0x0A
    18  	NVP_II            = 0x0B
    19  	PUP               = 0x0C
    20  	ARGUS             = 0x0D
    21  	EMCON             = 0x0E
    22  	XNET              = 0x0F
    23  	CHAOS             = 0x10
    24  	UDP               = 0x11
    25  	MUX               = 0x12
    26  	DCN_MEAS          = 0x13
    27  	HMP               = 0x14
    28  	PRM               = 0x15
    29  	XNS_IDP           = 0x16
    30  	TRUNK_1           = 0x17
    31  	TRUNK_2           = 0x18
    32  	LEAF_1            = 0x19
    33  	LEAF_2            = 0x1A
    34  	RDP               = 0x1B
    35  	IRTP              = 0x1C
    36  	ISO_TP4           = 0x1D
    37  	NETBLT            = 0x1E
    38  	MFE_NSP           = 0x1F
    39  	MERIT_INP         = 0x20
    40  	DCCP              = 0x21
    41  	ThirdPC           = 0x22
    42  	IDPR              = 0x23
    43  	XTP               = 0x24
    44  	DDP               = 0x25
    45  	IDPR_CMTP         = 0x26
    46  	TPxx              = 0x27
    47  	IL                = 0x28
    48  	IPv6Encapsulation = 0x29
    49  	SDRP              = 0x2A
    50  	IPv6_Route        = 0x2B
    51  	IPv6_Frag         = 0x2C
    52  	IDRP              = 0x2D
    53  	RSVP              = 0x2E
    54  	GRE               = 0x2F
    55  	MHRP              = 0x30
    56  	BNA               = 0x31
    57  	ESP               = 0x32
    58  	AH                = 0x33
    59  	I_NLSP            = 0x34
    60  	SWIPE             = 0x35
    61  	NARP              = 0x36
    62  	MOBILE            = 0x37
    63  	TLSP              = 0x38
    64  	SKIP              = 0x39
    65  	IPv6_ICMP         = 0x3A
    66  	IPv6_NoNxt        = 0x3B
    67  	IPv6_Opts         = 0x3C
    68  	CFTP              = 0x3E
    69  	SAT_EXPAK         = 0x40
    70  	KRYPTOLAN         = 0x41
    71  	RVD               = 0x42
    72  	IPPC              = 0x43
    73  	SAT_MON           = 0x45
    74  	VISA              = 0x46
    75  	IPCV              = 0x47
    76  	CPNX              = 0x48
    77  	CPHB              = 0x49
    78  	WSN               = 0x4A
    79  	PVP               = 0x4B
    80  	BR_SAT_MON        = 0x4C
    81  	SUN_ND            = 0x4D
    82  	WB_MON            = 0x4E
    83  	WB_EXPAK          = 0x4F
    84  	ISO_IP            = 0x50
    85  	VMTP              = 0x51
    86  	SECURE_VMTP       = 0x52
    87  	VINES             = 0x53
    88  	TTP               = 0x54
    89  	IPTM              = 0x54
    90  	NSFNET_IGP        = 0x55
    91  	DGP               = 0x56
    92  	TCF               = 0x57
    93  	EIGRP             = 0x58
    94  	OSPF              = 0x59
    95  	Sprite_RPC        = 0x5A
    96  	LARP              = 0x5B
    97  	MTP               = 0x5C
    98  	AX_25             = 0x5D
    99  	IPIP              = 0x5E
   100  	MICP              = 0x5F
   101  	SCC_SP            = 0x60
   102  	ETHERIP           = 0x61
   103  	ENCAP             = 0x62
   104  	GMTP              = 0x64
   105  	IFMP              = 0x65
   106  	PNNI              = 0x66
   107  	PIM               = 0x67
   108  	ARIS              = 0x68
   109  	SCPS              = 0x69
   110  	QNX               = 0x6A
   111  	A_N               = 0x6B
   112  	IPComp            = 0x6C
   113  	SNP               = 0x6D
   114  	Compaq_Peer       = 0x6E
   115  	IPX_in_IP         = 0x6F
   116  	VRRP              = 0x70
   117  	PGM               = 0x71
   118  	L2TP              = 0x73
   119  	DDX               = 0x74
   120  	IATP              = 0x75
   121  	STP               = 0x76
   122  	SRP               = 0x77
   123  	UTI               = 0x78
   124  	SMP               = 0x79
   125  	SM                = 0x7A
   126  	PTP               = 0x7B
   127  	FIRE              = 0x7D
   128  	CRTP              = 0x7E
   129  	CRUDP             = 0x7F
   130  	SSCOPMCE          = 0x80
   131  	IPLT              = 0x81
   132  	SPS               = 0x82
   133  	PIPE              = 0x83
   134  	SCTP              = 0x84
   135  	FC                = 0x85
   136  	manet             = 0x8A
   137  	HIP               = 0x8B
   138  	Shim6             = 0x8C
   139  )