Lines Matching refs:srr
53 if (opt->srr) in ip_options_build()
54 memcpy(iph+opt->srr+iph[opt->srr+1]-4, &daddr, 4); in ip_options_build()
156 if (sopt->srr) { in __ip_options_echo()
157 unsigned char *start = sptr+sopt->srr; in __ip_options_echo()
183 dopt->srr = dopt->optlen + sizeof(struct iphdr); in __ip_options_echo()
308 if (opt->srr) { in __ip_options_compile()
322 opt->srr = optptr - iph; in __ip_options_compile()
497 if (opt->srr) { in ip_options_undo()
498 unsigned char *optptr = opt->__data+opt->srr-sizeof(struct iphdr); in ip_options_undo()
584 optptr = raw + opt->srr; in ip_forward_options()
622 unsigned char *optptr = skb_network_header(skb) + opt->srr; in ip_options_rcv_srr()
644 icmp_send(skb, ICMP_PARAMETERPROB, 0, htonl((opt->srr+2)<<24)); in ip_options_rcv_srr()