mirror of
https://github.com/ipxe/ipxe
synced 2025-12-23 05:21:49 +03:00
[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>
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user