Home
last modified time | relevance | path

Searched refs:srrptr (Results 1 – 1 of 1) sorted by relevance

/linux-3.4.99/net/ipv4/
Dip_options.c560 int srrptr, srrspace; in ip_forward_options() local
564 for ( srrptr=optptr[2], srrspace = optptr[1]; in ip_forward_options()
565 srrptr <= srrspace; in ip_forward_options()
566 srrptr += 4 in ip_forward_options()
568 if (srrptr + 3 > srrspace) in ip_forward_options()
570 if (memcmp(&opt->nexthop, &optptr[srrptr-1], 4) == 0) in ip_forward_options()
573 if (srrptr + 3 <= srrspace) { in ip_forward_options()
576 ip_rt_get_source(&optptr[srrptr-1], skb, rt); in ip_forward_options()
577 optptr[2] = srrptr+4; in ip_forward_options()
595 int srrspace, srrptr; in ip_options_rcv_srr() local
[all …]