Home | History | Annotate | Download | only in tcpdump

Lines Matching defs:ip

1 /* @(#) $Header: /tcpdump/master/tcpdump/ip.h,v 1.11.2.1 2007/09/14 01:30:02 guy Exp $ (LBL) */
34 * @(#)ip.h 8.2 (Berkeley) 6/1/94
50 struct ip {
52 #define IP_V(ip) (((ip)->ip_vhl & 0xf0) >> 4)
53 #define IP_HL(ip) ((ip)->ip_vhl & 0x0f)
70 * Definitions for IP type of service (ip_tos)
77 * Definitions for IP precedence (also in ip_tos) (hopefully unused)
128 #define IPTS_OFLW(ip) (((ipt)->ipt_oflwflg & 0xf0) >> 4)
129 #define IPTS_FLG(ip) ((ipt)->ipt_oflwflg & 0x0f)
163 /* in print-ip.c */
164 extern u_int32_t ip_finddst(const struct ip *);