IPOPT_OFFSET
rspace[IPOPT_OFFSET] = IPOPT_MINOFF;
if (optlen < IPOPT_OFFSET + sizeof(*cp)) {
if ((off = cp[IPOPT_OFFSET]) < IPOPT_MINOFF) {
code = &cp[IPOPT_OFFSET] - (u_char *)ip;
cp[IPOPT_OFFSET] += sizeof(struct in_addr);
if (optlen < IPOPT_OFFSET + sizeof(*cp)) {
if ((off = cp[IPOPT_OFFSET]) < IPOPT_MINOFF) {
code = &cp[IPOPT_OFFSET] - (u_char *)ip;
cp[IPOPT_OFFSET] += sizeof(struct in_addr);
isr->isr_nhops = (olen - IPOPT_OFFSET - 1) / sizeof(struct in_addr);
isr->isr_hdr[IPOPT_OFFSET] = IPOPT_MINOFF;
char isr_hdr[IPOPT_OFFSET + 1]; /* OPTVAL, OLEN & OFFSET */
memcpy(&p->ipopt_dst, cp + IPOPT_OFFSET,
memcpy(p->ipopt_list + off + IPOPT_OFFSET,
cp + IPOPT_OFFSET, optlen - IPOPT_OFFSET);