Home
last modified time | relevance | path

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

/freebsd-14.2/sys/netinet/
H A Dip_options.c161 if (optlen < IPOPT_OFFSET + sizeof(*cp)) { in ip_dooptions()
166 code = &cp[IPOPT_OFFSET] - (u_char *)ip; in ip_dooptions()
277 if (optlen < IPOPT_OFFSET + sizeof(*cp)) { in ip_dooptions()
278 code = &cp[IPOPT_OFFSET] - (u_char *)ip; in ip_dooptions()
282 code = &cp[IPOPT_OFFSET] - (u_char *)ip; in ip_dooptions()
323 if ((off = cp[IPOPT_OFFSET]) < 5) { in ip_dooptions()
328 cp[IPOPT_OFFSET + 1] += (1 << 4); in ip_dooptions()
329 if ((cp[IPOPT_OFFSET + 1] & 0xf0) == 0) { in ip_dooptions()
337 switch (cp[IPOPT_OFFSET + 1] & 0x0f) { in ip_dooptions()
378 cp[IPOPT_OFFSET] += sizeof(uint32_t); in ip_dooptions()
[all …]
H A Dip_options.h40 char srcopt[IPOPT_OFFSET + 1]; /* OPTVAL, OLEN and OFFSET */
H A Dip.h166 #define IPOPT_OFFSET 2 /* offset within option */ macro
/freebsd-14.2/contrib/tcpdump/
H A Dip.h118 #define IPOPT_OFFSET 2 /* offset within option */ macro
/freebsd-14.2/sbin/ping/
H A Dping.c737 rspace[IPOPT_OFFSET] = IPOPT_MINOFF; in ping()
1377 i = cp[IPOPT_OFFSET]; /* and pointer */ in pr_pack()
/freebsd-14.2/sbin/ipf/ipsend/
H A Diptests.c476 s[IPOPT_OFFSET] = IPOPT_MINOFF;