Searched refs:IPOPT_OFFSET (Results 1 – 6 of 6) sorted by relevance
162 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 …]
42 char srcopt[IPOPT_OFFSET + 1]; /* OPTVAL, OLEN and OFFSET */
167 #define IPOPT_OFFSET 2 /* offset within option */ macro
119 #define IPOPT_OFFSET 2 /* offset within option */ macro
748 rspace[IPOPT_OFFSET] = IPOPT_MINOFF; in main()1341 i = cp[IPOPT_OFFSET]; /* and pointer */ in pr_pack()
488 s[IPOPT_OFFSET] = IPOPT_MINOFF;