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

/freebsd-12-stable/sys/netinet/
H A Dip_options.c162 if (optlen < IPOPT_OFFSET + sizeof(*cp)) {
166 if ((off = cp[IPOPT_OFFSET]) < IPOPT_MINOFF) {
167 code = &cp[IPOPT_OFFSET] - (u_char *)ip;
266 cp[IPOPT_OFFSET] += sizeof(struct in_addr);
278 if (optlen < IPOPT_OFFSET + sizeof(*cp)) {
279 code = &cp[IPOPT_OFFSET] - (u_char *)ip;
282 if ((off = cp[IPOPT_OFFSET]) < IPOPT_MINOFF) {
283 code = &cp[IPOPT_OFFSET] - (u_char *)ip;
311 cp[IPOPT_OFFSET] += sizeof(struct in_addr);
324 if ((off = cp[IPOPT_OFFSET]) <
[all...]
H A Dip_options.h42 char srcopt[IPOPT_OFFSET + 1]; /* OPTVAL, OLEN and OFFSET */
H A Dip.h167 #define IPOPT_OFFSET 2 /* offset within option */ macro
/freebsd-12-stable/contrib/tcpdump/
H A Dip.h119 #define IPOPT_OFFSET 2 /* offset within option */ macro
/freebsd-12-stable/sbin/ping/
H A Dping.c749 rspace[IPOPT_OFFSET] = IPOPT_MINOFF;
1347 i = cp[IPOPT_OFFSET]; /* and pointer */
/freebsd-12-stable/contrib/ipfilter/ipsend/
H A Diptests.c481 s[IPOPT_OFFSET] = IPOPT_MINOFF;

Completed in 115 milliseconds