Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/net/ipv4/
Dip_options.c564 int srrptr, srrspace; in ip_forward_options() local
568 for ( srrptr = optptr[2], srrspace = optptr[1]; in ip_forward_options()
569 srrptr <= srrspace; in ip_forward_options()
570 srrptr += 4 in ip_forward_options()
572 if (srrptr + 3 > srrspace) in ip_forward_options()
574 if (memcmp(&opt->nexthop, &optptr[srrptr-1], 4) == 0) in ip_forward_options()
577 if (srrptr + 3 <= srrspace) { in ip_forward_options()
580 ip_rt_get_source(&optptr[srrptr-1], skb, rt); in ip_forward_options()
581 optptr[2] = srrptr+4; in ip_forward_options()
601 int srrspace, srrptr; in ip_options_rcv_srr() local
[all …]