Searched refs:IPOPT_OFFSET (Results 1 – 3 of 3) sorted by relevance
202 #define IPOPT_OFFSET 2 /* offset within option */ macro
383 char srcopt[IPOPT_OFFSET + 1]; /* OPTVAL, OLEN and OFFSET */2827 if (optlen < IPOPT_OFFSET + sizeof(*cp)) { in ip_dooptions()2831 if ((off = cp[IPOPT_OFFSET]) < IPOPT_MINOFF) { in ip_dooptions()2832 code = (uint8_t)(&cp[IPOPT_OFFSET] - (u_char *)ip); in ip_dooptions()2923 cp[IPOPT_OFFSET] += sizeof(struct in_addr); in ip_dooptions()2931 if (optlen < IPOPT_OFFSET + sizeof(*cp)) { in ip_dooptions()2932 code = (uint8_t)(&cp[IPOPT_OFFSET] - (u_char *)ip); in ip_dooptions()2935 if ((off = cp[IPOPT_OFFSET]) < IPOPT_MINOFF) { in ip_dooptions()2936 code = (uint8_t)(&cp[IPOPT_OFFSET] - (u_char *)ip); in ip_dooptions()2965 cp[IPOPT_OFFSET] += sizeof(struct in_addr); in ip_dooptions()[all …]
2775 bcopy((caddr_t)&cp[IPOPT_OFFSET + 1], mtod(m, caddr_t), in ip_pcbopts()2781 ovbcopy((caddr_t)(&cp[IPOPT_OFFSET + 1] + in ip_pcbopts()2783 (caddr_t)&cp[IPOPT_OFFSET + 1], in ip_pcbopts()