Lines Matching full:rr
58 ip_rt_get_source(iph + opt->rr + iph[opt->rr + 2] - 5, skb, rt); in ip_options_build()
69 if (opt->rr) { in ip_options_build()
70 memset(iph + opt->rr, IPOPT_NOP, iph[opt->rr + 1]); in ip_options_build()
71 opt->rr = 0; in ip_options_build()
85 * and grab room in RR/TS options.
105 if (sopt->rr) { in __ip_options_echo()
106 optlen = sptr[sopt->rr+1]; in __ip_options_echo()
107 soffset = sptr[sopt->rr+2]; in __ip_options_echo()
108 dopt->rr = dopt->optlen + sizeof(struct iphdr); in __ip_options_echo()
109 memcpy(dptr, sptr+sopt->rr, optlen); in __ip_options_echo()
233 opt->rr = 0; in ip_options_fragment()
325 if (opt->rr) { in __ip_options_compile()
350 opt->rr = optptr - iph; in __ip_options_compile()
504 unsigned char *optptr = opt->__data + opt->rr - sizeof(struct iphdr); in ip_options_undo()
559 optptr = (unsigned char *)raw + opt->rr; in ip_forward_options()