Home
last modified time | relevance | path

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

/freebsd-13-stable/sys/netinet/
HDip_options.c161 if (optlen < IPOPT_OFFSET + sizeof(*cp)) { in ip_dooptions()
165 if ((off = cp[IPOPT_OFFSET]) < IPOPT_MINOFF) { in ip_dooptions()
166 code = &cp[IPOPT_OFFSET] - (u_char *)ip; in ip_dooptions()
265 cp[IPOPT_OFFSET] += sizeof(struct in_addr); in ip_dooptions()
277 if (optlen < IPOPT_OFFSET + sizeof(*cp)) { in ip_dooptions()
278 code = &cp[IPOPT_OFFSET] - (u_char *)ip; in ip_dooptions()
281 if ((off = cp[IPOPT_OFFSET]) < IPOPT_MINOFF) { in ip_dooptions()
282 code = &cp[IPOPT_OFFSET] - (u_char *)ip; in ip_dooptions()
310 cp[IPOPT_OFFSET] += sizeof(struct in_addr); in ip_dooptions()
323 if ((off = cp[IPOPT_OFFSET]) < 5) { in ip_dooptions()
[all …]
HDip_options.h40 char srcopt[IPOPT_OFFSET + 1]; /* OPTVAL, OLEN and OFFSET */
HDip.h167 #define IPOPT_OFFSET 2 /* offset within option */ macro
/freebsd-13-stable/contrib/tcpdump/
HDip.h118 #define IPOPT_OFFSET 2 /* offset within option */ macro
/freebsd-13-stable/sbin/ping/
HDping.c763 rspace[IPOPT_OFFSET] = IPOPT_MINOFF; in ping()
1412 i = cp[IPOPT_OFFSET]; /* and pointer */ in pr_pack()
/freebsd-13-stable/sbin/ipf/ipsend/
HDiptests.c476 s[IPOPT_OFFSET] = IPOPT_MINOFF;