Home
last modified time | relevance | path

Searched refs:IPOPT_OFFSET (Results 1 – 6 of 6) sorted by relevance

/freebsd/sys/netinet/
H A Dip_options.c160 if (optlen < IPOPT_OFFSET + sizeof(*cp)) { in ip_dooptions()
164 if ((off = cp[IPOPT_OFFSET]) < IPOPT_MINOFF) { in ip_dooptions()
165 code = &cp[IPOPT_OFFSET] - (u_char *)ip; in ip_dooptions()
264 cp[IPOPT_OFFSET] += sizeof(struct in_addr); in ip_dooptions()
276 if (optlen < IPOPT_OFFSET + sizeof(*cp)) { in ip_dooptions()
277 code = &cp[IPOPT_OFFSET] - (u_char *)ip; in ip_dooptions()
280 if ((off = cp[IPOPT_OFFSET]) < IPOPT_MINOFF) { in ip_dooptions()
281 code = &cp[IPOPT_OFFSET] - (u_char *)ip; in ip_dooptions()
309 cp[IPOPT_OFFSET] += sizeof(struct in_addr); in ip_dooptions()
322 if ((off = cp[IPOPT_OFFSET]) < 5) { in ip_dooptions()
[all …]
H A Dip_options.h40 char srcopt[IPOPT_OFFSET + 1]; /* OPTVAL, OLEN and OFFSET */
H A Dip.h165 #define IPOPT_OFFSET 2 /* offset within option */ macro
/freebsd/contrib/tcpdump/
H A Dip.h118 #define IPOPT_OFFSET 2 /* offset within option */ macro
/freebsd/sbin/ping/
H A Dping.c725 rspace[IPOPT_OFFSET] = IPOPT_MINOFF; in ping()
1372 i = cp[IPOPT_OFFSET]; /* and pointer */ in pr_pack()
/freebsd/sbin/ipf/ipsend/
H A Diptests.c471 s[IPOPT_OFFSET] = IPOPT_MINOFF;