Home
last modified time | relevance | path

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

/linux/net/ipv4/
A Dip_options.c564 int srrptr, srrspace; in ip_forward_options() local
569 srrptr <= srrspace; in ip_forward_options()
570 srrptr += 4 in ip_forward_options()
572 if (srrptr + 3 > srrspace) in ip_forward_options()
577 if (srrptr + 3 <= srrspace) { in ip_forward_options()
581 optptr[2] = srrptr+4; in ip_forward_options()
601 int srrspace, srrptr; in ip_options_rcv_srr() local
624 for (srrptr = optptr[2], srrspace = optptr[1]; srrptr <= srrspace; srrptr += 4) { in ip_options_rcv_srr()
625 if (srrptr + 3 > srrspace) { in ip_options_rcv_srr()
629 memcpy(&nexthop, &optptr[srrptr-1], 4); in ip_options_rcv_srr()
[all …]

Completed in 3 milliseconds