tag | line | file | source code |
arp2 | 244 | net/tcp/arp.c | struct arp *arp2; |
arp2 | 249 | net/tcp/arp.c | skb = arp_malloc (sizeof (*skb) + sizeof (*arp2) + |
arp2 | 256 | net/tcp/arp.c | skb->mem_len = sizeof (*skb) + sizeof (*arp2) + 2*arp1->hlen + |
arp2 | 258 | net/tcp/arp.c | skb->len = sizeof (*arp2) + 2*arp1->hlen + |
arp2 | 267 | net/tcp/arp.c | arp2 =(struct arp *) ((unsigned char *)skb+sizeof (*skb) + tmp ); |
arp2 | 268 | net/tcp/arp.c | memcpy (arp2, arp1, sizeof (*arp2)); |
arp2 | 271 | net/tcp/arp.c | *arp_sourcep(arp2) = *arp_targetp(arp1); |
arp2 | 272 | net/tcp/arp.c | memcpy(arp_sourceh(arp2), dev->dev_addr, arp1->hlen); |
arp2 | 274 | net/tcp/arp.c | *arp_targetp(arp2) = *arp_sourcep(arp1); |
arp2 | 275 | net/tcp/arp.c | memcpy(arp_targeth(arp2), arp_sourceh(arp1), arp1->hlen); |
arp2 | 277 | net/tcp/arp.c | arp2->op = NET16(ARP_REPLY); |
arp2 | 283 | net/tcp/arp.c | print_arp(arp2); |