Home
last modified time | relevance | path

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

/net/ipv4/
Dip_options.c582 int srrptr, srrspace; in ip_forward_options() local
586 for ( srrptr = optptr[2], srrspace = optptr[1]; in ip_forward_options()
587 srrptr <= srrspace; in ip_forward_options()
588 srrptr += 4 in ip_forward_options()
590 if (srrptr + 3 > srrspace) in ip_forward_options()
592 if (memcmp(&opt->nexthop, &optptr[srrptr-1], 4) == 0) in ip_forward_options()
595 if (srrptr + 3 <= srrspace) { in ip_forward_options()
598 ip_rt_get_source(&optptr[srrptr-1], skb, rt); in ip_forward_options()
599 optptr[2] = srrptr+4; in ip_forward_options()
619 int srrspace, srrptr; in ip_options_rcv_srr() local
[all …]