Searched refs:IPOPT_OFFSET (Results 1 – 5 of 5) sorted by relevance
1578 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 …]
180 #define IPOPT_OFFSET 2 /* offset within option */ macro
1393 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()
119 #define IPOPT_OFFSET 2 /* offset within option */ macro
588 rspace[IPOPT_OFFSET] = IPOPT_MINOFF; in main()1142 i = cp[IPOPT_OFFSET]; /* and pointer */ in pr_pack()