@@ -2679,7 +2679,87 @@ pub const PT_GNU_STACK: u32 = 0x6474e551;
26792679pub const PT_GNU_RELRO : u32 = 0x6474e552 ;
26802680
26812681// Ethernet protocol IDs.
2682+ pub const ETH_P_LOOP : :: c_int = 0x0060 ;
2683+ pub const ETH_P_PUP : :: c_int = 0x0200 ;
2684+ pub const ETH_P_PUPAT : :: c_int = 0x0201 ;
26822685pub const ETH_P_IP : :: c_int = 0x0800 ;
2686+ pub const ETH_P_X25 : :: c_int = 0x0805 ;
2687+ pub const ETH_P_ARP : :: c_int = 0x0806 ;
2688+ pub const ETH_P_BPQ : :: c_int = 0x08FF ;
2689+ pub const ETH_P_IEEEPUP : :: c_int = 0x0a00 ;
2690+ pub const ETH_P_IEEEPUPAT : :: c_int = 0x0a01 ;
2691+ pub const ETH_P_BATMAN : :: c_int = 0x4305 ;
2692+ pub const ETH_P_DEC : :: c_int = 0x6000 ;
2693+ pub const ETH_P_DNA_DL : :: c_int = 0x6001 ;
2694+ pub const ETH_P_DNA_RC : :: c_int = 0x6002 ;
2695+ pub const ETH_P_DNA_RT : :: c_int = 0x6003 ;
2696+ pub const ETH_P_LAT : :: c_int = 0x6004 ;
2697+ pub const ETH_P_DIAG : :: c_int = 0x6005 ;
2698+ pub const ETH_P_CUST : :: c_int = 0x6006 ;
2699+ pub const ETH_P_SCA : :: c_int = 0x6007 ;
2700+ pub const ETH_P_TEB : :: c_int = 0x6558 ;
2701+ pub const ETH_P_RARP : :: c_int = 0x8035 ;
2702+ pub const ETH_P_ATALK : :: c_int = 0x809B ;
2703+ pub const ETH_P_AARP : :: c_int = 0x80F3 ;
2704+ pub const ETH_P_8021Q : :: c_int = 0x8100 ;
2705+ pub const ETH_P_IPX : :: c_int = 0x8137 ;
2706+ pub const ETH_P_IPV6 : :: c_int = 0x86DD ;
2707+ pub const ETH_P_PAUSE : :: c_int = 0x8808 ;
2708+ pub const ETH_P_SLOW : :: c_int = 0x8809 ;
2709+ pub const ETH_P_WCCP : :: c_int = 0x883E ;
2710+ pub const ETH_P_MPLS_UC : :: c_int = 0x8847 ;
2711+ pub const ETH_P_MPLS_MC : :: c_int = 0x8848 ;
2712+ pub const ETH_P_ATMMPOA : :: c_int = 0x884c ;
2713+ pub const ETH_P_PPP_DISC : :: c_int = 0x8863 ;
2714+ pub const ETH_P_PPP_SES : :: c_int = 0x8864 ;
2715+ pub const ETH_P_LINK_CTL : :: c_int = 0x886c ;
2716+ pub const ETH_P_ATMFATE : :: c_int = 0x8884 ;
2717+ pub const ETH_P_PAE : :: c_int = 0x888E ;
2718+ pub const ETH_P_AOE : :: c_int = 0x88A2 ;
2719+ pub const ETH_P_8021AD : :: c_int = 0x88A8 ;
2720+ pub const ETH_P_802_EX1 : :: c_int = 0x88B5 ;
2721+ pub const ETH_P_TIPC : :: c_int = 0x88CA ;
2722+ pub const ETH_P_8021AH : :: c_int = 0x88E7 ;
2723+ pub const ETH_P_MVRP : :: c_int = 0x88F5 ;
2724+ pub const ETH_P_1588 : :: c_int = 0x88F7 ;
2725+ pub const ETH_P_PRP : :: c_int = 0x88FB ;
2726+ pub const ETH_P_FCOE : :: c_int = 0x8906 ;
2727+ pub const ETH_P_TDLS : :: c_int = 0x890D ;
2728+ pub const ETH_P_FIP : :: c_int = 0x8914 ;
2729+ pub const ETH_P_80221 : :: c_int = 0x8917 ;
2730+ pub const ETH_P_LOOPBACK : :: c_int = 0x9000 ;
2731+ pub const ETH_P_QINQ1 : :: c_int = 0x9100 ;
2732+ pub const ETH_P_QINQ2 : :: c_int = 0x9200 ;
2733+ pub const ETH_P_QINQ3 : :: c_int = 0x9300 ;
2734+ pub const ETH_P_EDSA : :: c_int = 0xDADA ;
2735+ pub const ETH_P_AF_IUCV : :: c_int = 0xFBFB ;
2736+
2737+ pub const ETH_P_802_3_MIN : :: c_int = 0x0600 ;
2738+
2739+ pub const ETH_P_802_3 : :: c_int = 0x0001 ;
2740+ pub const ETH_P_AX25 : :: c_int = 0x0002 ;
2741+ pub const ETH_P_ALL : :: c_int = 0x0003 ;
2742+ pub const ETH_P_802_2 : :: c_int = 0x0004 ;
2743+ pub const ETH_P_SNAP : :: c_int = 0x0005 ;
2744+ pub const ETH_P_DDCMP : :: c_int = 0x0006 ;
2745+ pub const ETH_P_WAN_PPP : :: c_int = 0x0007 ;
2746+ pub const ETH_P_PPP_MP : :: c_int = 0x0008 ;
2747+ pub const ETH_P_LOCALTALK : :: c_int = 0x0009 ;
2748+ pub const ETH_P_CAN : :: c_int = 0x000C ;
2749+ pub const ETH_P_CANFD : :: c_int = 0x000D ;
2750+ pub const ETH_P_PPPTALK : :: c_int = 0x0010 ;
2751+ pub const ETH_P_TR_802_2 : :: c_int = 0x0011 ;
2752+ pub const ETH_P_MOBITEX : :: c_int = 0x0015 ;
2753+ pub const ETH_P_CONTROL : :: c_int = 0x0016 ;
2754+ pub const ETH_P_IRDA : :: c_int = 0x0017 ;
2755+ pub const ETH_P_ECONET : :: c_int = 0x0018 ;
2756+ pub const ETH_P_HDLC : :: c_int = 0x0019 ;
2757+ pub const ETH_P_ARCNET : :: c_int = 0x001A ;
2758+ pub const ETH_P_DSA : :: c_int = 0x001B ;
2759+ pub const ETH_P_TRAILER : :: c_int = 0x001C ;
2760+ pub const ETH_P_PHONET : :: c_int = 0x00F5 ;
2761+ pub const ETH_P_IEEE802154 : :: c_int = 0x00F6 ;
2762+ pub const ETH_P_CAIF : :: c_int = 0x00F7 ;
26832763
26842764pub const SFD_CLOEXEC : :: c_int = 0x080000 ;
26852765
0 commit comments