IP bearer protocol

zhaozj2021-02-16  60

ENUM {

Ipproto_ip = 0, / * Dummy Protocol for TCP. * /

#define ipproto_ip ipproto_ip ipproto_hopopts = 0, / * ipv6 hop-by-hop options. * /

#define ipproto_hopopts ipproto_hopopts ipproto_ICMP = 1, / * Internet Control Message Protocol. * /

#define ipproto_ICMP ipproto_icmp ipproto_igmp = 2, / * Internet Group Management Protocol. * /

#define ipproto_igmp ipproto_igmp ipproto_ipip = 4, / * iPip tunnels (Older Ka9q Tunnels USE 94). * /

#define ipproto_ipip ipproto_ipip ipproto_tcp = 6, / * Transmission Control Protocol. * /

#define ipproto_tcp ipproto_tcp ipproto_egp = 8, / * exterior Gateway Protocol. * /

#define ipproto_egp ipproto_egp ipproto_pup = 12, / * Pup protocol. * /

#define ipproto_pup ipproto_pup ipproto_udp = 17, / * user datagram protocol. * /

#define ipproto_udp ipproto_udp ipproto_idp = 22, / * xns iDP protocol. * /

#define ipproto_idp ipproto_idp ipproto_tp = 29, / * SO Transport Protocol Class 4. * /

#define ipproto_tp ipproto_tp ipproto_ipv6 = 41, / * ipv6 header. * /

#define ipproto_ipv6 ipproto_ipv6 ipproto_routing = 43, / * ipv6 routing header. * /

#define ipproto_routing ipproto_routing ipproto_fragment = 44, / * ipv6 fragmentation header. * /

#define ipproto_fragment ipproto_fragment ipproto_rsvp = 46, / * reservation protocol. * /

#define ipproto_rsvp ipproto_rsvp ipproto_gre = 47, / * general routing enqsulation. * /

#define ipproto_gre ipproto_gre ipproto_esp = 50, / * encapsulating security payload. * /

#define ipproto_esp ipproto_esp ipproto_ah = 51, / * Authentication header. * /

#define ipproto_ah ipproto_ah ipproto_icmpv6 = 58, / * ICMPv6. * /

#define ipproto_icmpv6 ipproto_icmpv6 ipproto_none = 59, / * ipv6 no next header. * /

#define ipproto_none ipproto_none ipproto_dstopts = 60, / * ipv6 destination options. * / # define ipproto_dstopts ipproto_dstopts ipproto_mtp = 92, / * Multicast Transport Protocol. * /

#define ipproto_mtp ipproto_mtp ipproto_encap = 98, / * encapsulation header. * /

#define ipproto_encap ipproto_encap ipproto_pim = 103, / * Protocol independent multicast. * /

#DEfine ipproto_pim ipproto_pim ipproto_comp = 108, / * compression header protocol. * /

#define ipproto_comp ipproto_comp ipproto_raw = 255, / * RAW IP Packets. * /

#define ipproto_raw ipproto_raw ipproto_max

}

转载请注明原文地址:https://www.9cbs.com/read-16046.html

New Post(0)