Searched refs:IPOPT_OFFSET (Results 1 – 4 of 4) sorted by relevance
165 char isr_hdr[IPOPT_OFFSET + 1]; /* OPTVAL, OLEN & OFFSET */1218 if (optlen < IPOPT_OFFSET + sizeof(*cp)) { in ip_dooptions()1222 if ((off = cp[IPOPT_OFFSET]) < IPOPT_MINOFF) { in ip_dooptions()1223 code = &cp[IPOPT_OFFSET] - (u_char *)ip; in ip_dooptions()1274 cp[IPOPT_OFFSET] += sizeof(struct in_addr); in ip_dooptions()1283 if (optlen < IPOPT_OFFSET + sizeof(*cp)) { in ip_dooptions()1287 if ((off = cp[IPOPT_OFFSET]) < IPOPT_MINOFF) { in ip_dooptions()1288 code = &cp[IPOPT_OFFSET] - (u_char *)ip; in ip_dooptions()1318 cp[IPOPT_OFFSET] += sizeof(struct in_addr); in ip_dooptions()1417 isr->isr_nhops = (olen - IPOPT_OFFSET - 1) / sizeof(struct in_addr); in save_rte()[all …]
163 #define IPOPT_OFFSET 2 /* offset within option */ macro
1313 memcpy(&p->ipopt_dst, cp + IPOPT_OFFSET, in ip_pcbopts()1320 memcpy(p->ipopt_list + off + IPOPT_OFFSET, in ip_pcbopts()1321 cp + IPOPT_OFFSET, optlen - IPOPT_OFFSET); in ip_pcbopts()
754 rspace[IPOPT_OFFSET] = IPOPT_MINOFF; in main()