Searched refs:IPOPT_OFFSET (Results 1 - 6 of 6) sorted by path

/freebsd-11-stable/contrib/tcpdump/
H A Dip.h119 #define IPOPT_OFFSET 2 /* offset within option */ macro
/freebsd-11-stable/sys/netinet/
H A Dip_options.c159 if (optlen < IPOPT_OFFSET + sizeof(*cp)) {
163 if ((off = cp[IPOPT_OFFSET]) < IPOPT_MINOFF) {
164 code = &cp[IPOPT_OFFSET] - (u_char *)ip;
263 cp[IPOPT_OFFSET] += sizeof(struct in_addr);
275 if (optlen < IPOPT_OFFSET + sizeof(*cp)) {
276 code = &cp[IPOPT_OFFSET] - (u_char *)ip;
279 if ((off = cp[IPOPT_OFFSET]) < IPOPT_MINOFF) {
280 code = &cp[IPOPT_OFFSET] - (u_char *)ip;
309 cp[IPOPT_OFFSET] += sizeof(struct in_addr);
322 if ((off = cp[IPOPT_OFFSET]) <
[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-11-stable/contrib/ipfilter/ipsend/
H A Diptests.c481 s[IPOPT_OFFSET] = IPOPT_MINOFF;
/freebsd-11-stable/sbin/ping/
H A Dping.c755 rspace[IPOPT_OFFSET] = IPOPT_MINOFF;
1317 i = cp[IPOPT_OFFSET]; /* and pointer */

Completed in 152 milliseconds