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()
143 if (sopt->srr) { in __ip_options_echo()
144 unsigned char *start = sptr+sopt->srr; in __ip_options_echo()
170 dopt->srr = dopt->optlen + sizeof(struct iphdr); in __ip_options_echo()
295 if (opt->srr) { in __ip_options_compile()
309 opt->srr = optptr - iph; in __ip_options_compile()
484 if (opt->srr) { in ip_options_undo()
485 unsigned char *optptr = opt->__data + opt->srr - sizeof(struct iphdr); in ip_options_undo()
553 optptr = raw + opt->srr; in ip_forward_options()
591 unsigned char *optptr = skb_network_header(skb) + opt->srr; in ip_options_rcv_srr()
613 icmp_send(skb, ICMP_PARAMETERPROB, 0, htonl((opt->srr+2)<<24)); in ip_options_rcv_srr()