Home
last modified time | relevance | path

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

/openbmc/linux/net/ipv4/
H A Dip_options.c551 int srrptr, srrspace; in ip_forward_options() local
556 srrptr <= srrspace; in ip_forward_options()
557 srrptr += 4 in ip_forward_options()
559 if (srrptr + 3 > srrspace) in ip_forward_options()
564 if (srrptr + 3 <= srrspace) { in ip_forward_options()
568 optptr[2] = srrptr+4; in ip_forward_options()
588 int srrspace, srrptr; in ip_options_rcv_srr() local
611 for (srrptr = optptr[2], srrspace = optptr[1]; srrptr <= srrspace; srrptr += 4) { in ip_options_rcv_srr()
612 if (srrptr + 3 > srrspace) { in ip_options_rcv_srr()
616 memcpy(&nexthop, &optptr[srrptr-1], 4); in ip_options_rcv_srr()
[all …]