tag | line | file | source code |
srrptr | 380 | net/ipv4/ip_forward.c | int srrptr, srrspace; |
srrptr | 384 | net/ipv4/ip_forward.c | for ( srrptr=optptr[2], srrspace = optptr[1]; |
srrptr | 385 | net/ipv4/ip_forward.c | srrptr <= srrspace; |
srrptr | 386 | net/ipv4/ip_forward.c | srrptr += 4 |
srrptr | 389 | net/ipv4/ip_forward.c | if (srrptr + 3 > srrspace) |
srrptr | 391 | net/ipv4/ip_forward.c | if (memcmp(&target_addr, &optptr[srrptr-1], 4) == 0) |
srrptr | 394 | net/ipv4/ip_forward.c | if (srrptr + 3 <= srrspace) |
srrptr | 397 | net/ipv4/ip_forward.c | memcpy(&optptr[srrptr-1], &dev2->pa_addr, 4); |
srrptr | 399 | net/ipv4/ip_forward.c | optptr[2] = srrptr+4; |
srrptr | 349 | net/ipv4/ip_input.c | int srrspace, srrptr; |
srrptr | 359 | net/ipv4/ip_input.c | for ( srrptr=optptr[2], srrspace = optptr[1]; |
srrptr | 360 | net/ipv4/ip_input.c | srrptr <= srrspace; |
srrptr | 361 | net/ipv4/ip_input.c | srrptr += 4 |
srrptr | 365 | net/ipv4/ip_input.c | if (srrptr + 3 > srrspace) |
srrptr | 372 | net/ipv4/ip_input.c | memcpy(&nexthop, &optptr[srrptr-1], 4); |
srrptr | 386 | net/ipv4/ip_input.c | memcpy(&daddr, &optptr[srrptr-1], 4); |
srrptr | 388 | net/ipv4/ip_input.c | if (srrptr <= srrspace) |