Home
last modified time | relevance | path

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

/freebsd-12.1/sys/netinet/
H A Dip_options.c162 if (optlen < IPOPT_OFFSET + sizeof(*cp)) { in ip_dooptions()
167 code = &cp[IPOPT_OFFSET] - (u_char *)ip; in ip_dooptions()
278 if (optlen < IPOPT_OFFSET + sizeof(*cp)) { in ip_dooptions()
279 code = &cp[IPOPT_OFFSET] - (u_char *)ip; in ip_dooptions()
283 code = &cp[IPOPT_OFFSET] - (u_char *)ip; in ip_dooptions()
324 if ((off = cp[IPOPT_OFFSET]) < 5) { in ip_dooptions()
329 cp[IPOPT_OFFSET + 1] += (1 << 4); in ip_dooptions()
330 if ((cp[IPOPT_OFFSET + 1] & 0xf0) == 0) { in ip_dooptions()
338 switch (cp[IPOPT_OFFSET + 1] & 0x0f) { in ip_dooptions()
380 cp[IPOPT_OFFSET] += sizeof(uint32_t); in ip_dooptions()
[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.1/contrib/tcpdump/
H A Dip.h119 #define IPOPT_OFFSET 2 /* offset within option */ macro
/freebsd-12.1/sbin/ping/
H A Dping.c748 rspace[IPOPT_OFFSET] = IPOPT_MINOFF; in main()
1341 i = cp[IPOPT_OFFSET]; /* and pointer */ in pr_pack()
/freebsd-12.1/contrib/ipfilter/ipsend/
H A Diptests.c488 s[IPOPT_OFFSET] = IPOPT_MINOFF;