bdc8190c8d
it with metadata in the pkb structure. This is required since UNDI will want to be able to parse the link-layer header without destroying it.
24 lines
450 B
C
24 lines
450 B
C
#ifndef _ARP_H
|
|
#define _ARP_H
|
|
|
|
/** @file
|
|
*
|
|
* Address Resolution Protocol
|
|
*
|
|
*/
|
|
|
|
struct net_device;
|
|
struct net_interface;
|
|
struct pk_buff;
|
|
|
|
extern int arp_resolve ( struct net_device *netdev, struct pk_buff *pkb,
|
|
const void **ll_addr );
|
|
|
|
extern int arp_process ( struct net_interface *arp_netif,
|
|
struct pk_buff *pkb );
|
|
|
|
extern int arp_add_generic_header ( struct net_interface *arp_netif,
|
|
struct pk_buff *pkb );
|
|
|
|
#endif /* _ARP_H */
|