Skip to content

Commit

Permalink
[arp] Maintain an ARP transmission queue
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
mcb30 committed Mar 2, 2012
1 parent 6324bd9 commit d620606
Show file tree
Hide file tree
Showing 3 changed files with 354 additions and 152 deletions.
8 changes: 3 additions & 5 deletions src/include/ipxe/arp.h
Expand Up @@ -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 */

0 comments on commit d620606

Please sign in to comment.