tag | line | file | source code |
srrptr | 353 | net/ipv4/ip_forward.c | int srrptr, srrspace; |
srrptr | 357 | net/ipv4/ip_forward.c | for ( srrptr=optptr[2], srrspace = optptr[1]; |
srrptr | 358 | net/ipv4/ip_forward.c | srrptr <= srrspace; |
srrptr | 359 | net/ipv4/ip_forward.c | srrptr += 4 |
srrptr | 362 | net/ipv4/ip_forward.c | if (srrptr + 3 > srrspace) |
srrptr | 364 | net/ipv4/ip_forward.c | if (memcmp(&target_addr, &optptr[srrptr-1], 4) == 0) |
srrptr | 367 | net/ipv4/ip_forward.c | if (srrptr + 3 <= srrspace) |
srrptr | 370 | net/ipv4/ip_forward.c | memcpy(&optptr[srrptr-1], &dev2->pa_addr, 4); |
srrptr | 372 | net/ipv4/ip_forward.c | optptr[2] = srrptr+4; |
srrptr | 334 | net/ipv4/ip_input.c | int srrspace, srrptr; |
srrptr | 344 | net/ipv4/ip_input.c | for ( srrptr=optptr[2], srrspace = optptr[1]; |
srrptr | 345 | net/ipv4/ip_input.c | srrptr <= srrspace; |
srrptr | 346 | net/ipv4/ip_input.c | srrptr += 4 |
srrptr | 350 | net/ipv4/ip_input.c | if (srrptr + 3 > srrspace) |
srrptr | 357 | net/ipv4/ip_input.c | memcpy(&nexthop, &optptr[srrptr-1], 4); |
srrptr | 372 | net/ipv4/ip_input.c | if (srrptr <= srrspace) |