tag | line | file | source code |
srrptr | 371 | net/ipv4/ip_forward.c | int srrptr, srrspace; |
srrptr | 375 | net/ipv4/ip_forward.c | for ( srrptr=optptr[2], srrspace = optptr[1]; |
srrptr | 376 | net/ipv4/ip_forward.c | srrptr <= srrspace; |
srrptr | 377 | net/ipv4/ip_forward.c | srrptr += 4 |
srrptr | 380 | net/ipv4/ip_forward.c | if (srrptr + 3 > srrspace) |
srrptr | 382 | net/ipv4/ip_forward.c | if (memcmp(&target_addr, &optptr[srrptr-1], 4) == 0) |
srrptr | 385 | net/ipv4/ip_forward.c | if (srrptr + 3 <= srrspace) |
srrptr | 388 | net/ipv4/ip_forward.c | memcpy(&optptr[srrptr-1], &dev2->pa_addr, 4); |
srrptr | 390 | net/ipv4/ip_forward.c | optptr[2] = srrptr+4; |
srrptr | 346 | net/ipv4/ip_input.c | int srrspace, srrptr; |
srrptr | 356 | net/ipv4/ip_input.c | for ( srrptr=optptr[2], srrspace = optptr[1]; |
srrptr | 357 | net/ipv4/ip_input.c | srrptr <= srrspace; |
srrptr | 358 | net/ipv4/ip_input.c | srrptr += 4 |
srrptr | 362 | net/ipv4/ip_input.c | if (srrptr + 3 > srrspace) |
srrptr | 369 | net/ipv4/ip_input.c | memcpy(&nexthop, &optptr[srrptr-1], 4); |
srrptr | 383 | net/ipv4/ip_input.c | memcpy(&daddr, &optptr[srrptr-1], 4); |
srrptr | 385 | net/ipv4/ip_input.c | if (srrptr <= srrspace) |