Lines Matching refs:rr
57 ip_rt_get_source(iph + opt->rr + iph[opt->rr + 2] - 5, skb, rt); in ip_options_build()
92 if (sopt->rr) { in __ip_options_echo()
93 optlen = sptr[sopt->rr+1]; in __ip_options_echo()
94 soffset = sptr[sopt->rr+2]; in __ip_options_echo()
95 dopt->rr = dopt->optlen + sizeof(struct iphdr); in __ip_options_echo()
96 memcpy(dptr, sptr+sopt->rr, optlen); in __ip_options_echo()
220 opt->rr = 0; in ip_options_fragment()
312 if (opt->rr) { in __ip_options_compile()
337 opt->rr = optptr - iph; in __ip_options_compile()
491 unsigned char *optptr = opt->__data + opt->rr - sizeof(struct iphdr); in ip_options_undo()
546 optptr = (unsigned char *)raw + opt->rr; in ip_forward_options()