repo.or.cz
/
dragonfly.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
locate(1): Bring in some updates/fixes from FreeBSD
[dragonfly.git]
/
contrib
/
tcpdump
/
ipnet.h
blob
ae692842e3b8b4957a0e93cf37e5b1778c88a58e
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 */