diff options
| author | Michael Brown | 2012-03-02 21:12:10 +0100 |
|---|---|---|
| committer | Michael Brown | 2012-03-03 00:46:29 +0100 |
| commit | d620606d3e8c913876a671990600c226788b71da (patch) | |
| tree | e0dd768a5c50e0a01c9b9197821a0181b2b018c3 /src/include/ipxe | |
| parent | [undi] Allow underlying PXE stack to construct link-layer header (diff) | |
| download | ipxe-d620606d3e8c913876a671990600c226788b71da.tar.gz ipxe-d620606d3e8c913876a671990600c226788b71da.tar.xz ipxe-d620606d3e8c913876a671990600c226788b71da.zip | |
[arp] Maintain an ARP transmission queue
Allow packet transmission to be deferred pending successful ARP
resolution. This avoids the time spent waiting for a higher-level
protocol (e.g. TCP or TFTP) to attempt retransmission.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe')
| -rw-r--r-- | src/include/ipxe/arp.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/include/ipxe/arp.h b/src/include/ipxe/arp.h index f7b99c68d..00396d821 100644 --- a/src/include/ipxe/arp.h +++ b/src/include/ipxe/arp.h @@ -35,10 +35,8 @@ struct arp_net_protocol { extern struct net_protocol arp_protocol __net_protocol; -extern int arp_resolve ( struct net_device *netdev, - struct net_protocol *net_protocol, - const void *dest_net_addr, - const void *source_net_addr, - void *dest_ll_addr ); +extern int arp_tx ( struct io_buffer *iobuf, struct net_device *netdev, + struct net_protocol *net_protocol, const void *net_dest, + const void *net_source, const void *ll_source ); #endif /* _IPXE_ARP_H */ |
