Lines Matching refs:srr
52 if (opt->srr) in ip_options_build()
53 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()
186 dopt->srr = dopt->optlen + sizeof(struct iphdr); in __ip_options_echo()
310 if (opt->srr) { in ip_options_compile()
324 opt->srr = optptr - iph; in ip_options_compile()
488 if (opt->srr) { in ip_options_undo()
489 unsigned char *optptr = opt->__data+opt->srr-sizeof(struct iphdr); in ip_options_undo()
575 optptr = raw + opt->srr; in ip_forward_options()
613 unsigned char *optptr = skb_network_header(skb) + opt->srr; in ip_options_rcv_srr()
635 icmp_send(skb, ICMP_PARAMETERPROB, 0, htonl((opt->srr+2)<<24)); in ip_options_rcv_srr()