Home
last modified time | relevance | path

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

/dragonfly/sys/netinet/
H A Dip_input.c1578 if (optlen < IPOPT_OFFSET + sizeof(*cp)) { in ip_dooptions()
1583 code = &cp[IPOPT_OFFSET] - (u_char *)ip; in ip_dooptions()
1676 if (optlen < IPOPT_OFFSET + sizeof(*cp)) { in ip_dooptions()
1677 code = &cp[IPOPT_OFFSET] - (u_char *)ip; in ip_dooptions()
1681 code = &cp[IPOPT_OFFSET] - (u_char *)ip; in ip_dooptions()
1715 if ((off = cp[IPOPT_OFFSET]) < 5) { in ip_dooptions()
1720 cp[IPOPT_OFFSET + 1] += (1 << 4); in ip_dooptions()
1721 if ((cp[IPOPT_OFFSET + 1] & 0xf0) == 0) { in ip_dooptions()
1722 code = &cp[IPOPT_OFFSET] - (u_char *)ip; in ip_dooptions()
1729 switch (cp[IPOPT_OFFSET + 1] & 0x0f) { in ip_dooptions()
[all …]
H A Dip.h180 #define IPOPT_OFFSET 2 /* offset within option */ macro
H A Dip_output.c1393 bcopy(&cp[IPOPT_OFFSET+1], mtod(m, caddr_t), in ip_pcbopts()
1399 bcopy(&cp[IPOPT_OFFSET+1] + sizeof(struct in_addr), in ip_pcbopts()
1400 &cp[IPOPT_OFFSET+1], in ip_pcbopts()
/dragonfly/contrib/tcpdump/
H A Dip.h119 #define IPOPT_OFFSET 2 /* offset within option */ macro
/dragonfly/sbin/ping/
H A Dping.c588 rspace[IPOPT_OFFSET] = IPOPT_MINOFF; in main()
1142 i = cp[IPOPT_OFFSET]; /* and pointer */ in pr_pack()