Searched refs:IPOPT_OFFSET (Results 1 – 4 of 4) sorted by relevance
176 char isr_hdr[IPOPT_OFFSET + 1]; /* OPTVAL, OLEN & OFFSET */1241 if (optlen < IPOPT_OFFSET + sizeof(*cp)) { in ip_dooptions()1245 if ((off = cp[IPOPT_OFFSET]) < IPOPT_MINOFF) { in ip_dooptions()1246 code = &cp[IPOPT_OFFSET] - (u_char *)ip; in ip_dooptions()1297 cp[IPOPT_OFFSET] += sizeof(struct in_addr); in ip_dooptions()1306 if (optlen < IPOPT_OFFSET + sizeof(*cp)) { in ip_dooptions()1310 if ((off = cp[IPOPT_OFFSET]) < IPOPT_MINOFF) { in ip_dooptions()1311 code = &cp[IPOPT_OFFSET] - (u_char *)ip; in ip_dooptions()1341 cp[IPOPT_OFFSET] += sizeof(struct in_addr); in ip_dooptions()1440 isr->isr_nhops = (olen - IPOPT_OFFSET - 1) / sizeof(struct in_addr); in save_rte()[all …]
163 #define IPOPT_OFFSET 2 /* offset within option */ macro
1318 memcpy(&p->ipopt_dst, cp + IPOPT_OFFSET, in ip_pcbopts()1325 memcpy(p->ipopt_list + off + IPOPT_OFFSET, in ip_pcbopts()1326 cp + IPOPT_OFFSET, optlen - IPOPT_OFFSET); in ip_pcbopts()
754 rspace[IPOPT_OFFSET] = IPOPT_MINOFF; in main()