Merge branch 'vendor/TCPDUMP'
[dragonfly.git] / contrib / tcpdump / ipnet.h
1 typedef struct ipnet_hdr {
2         uint8_t         iph_version;
3         uint8_t         iph_family;
4         uint16_t        iph_htype;
5         uint32_t        iph_pktlen;
6         uint32_t        iph_ifindex;
7         uint32_t        iph_grifindex;
8         uint32_t        iph_zsrc;
9         uint32_t        iph_zdst;
10 } ipnet_hdr_t;
11
12 #define IPH_AF_INET     2               /* Matches Solaris's AF_INET */
13 #define IPH_AF_INET6    26              /* Matches Solaris's AF_INET6 */