Lines Matching refs:rr
57 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()
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()
236 opt->rr = 0; in ip_options_fragment()
327 if (opt->rr) { in ip_options_compile()
352 opt->rr = optptr - iph; in ip_options_compile()
494 unsigned char *optptr = opt->__data+opt->rr-sizeof(struct iphdr); in ip_options_undo()
568 optptr = (unsigned char *)raw + opt->rr; in ip_forward_options()