28 const void *net_addr );
32#define ARP_NET_PROTOCOLS \
33 __table ( struct arp_net_protocol, "arp_net_protocols" )
36#define __arp_net_protocol __table_entry ( ARP_NET_PROTOCOLS, 01 )
53 const void *net_dest,
const void *net_source ) {
61 const void *net_dest,
const void *net_source );
struct neighbour_discovery arp_discovery
ARP neighbour discovery protocol.
int arp_tx_request(struct net_device *netdev, struct net_protocol *net_protocol, const void *net_dest, const void *net_source)
Transmit ARP request.
static int arp_tx(struct io_buffer *iobuf, struct net_device *netdev, struct net_protocol *net_protocol, const void *net_dest, const void *net_source)
Transmit packet, determining link-layer address via ARP.
static struct net_device * netdev
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
#define FILE_SECBOOT(_status)
Declare a file's UEFI Secure Boot permission status.
int neighbour_tx(struct io_buffer *iobuf, struct net_device *netdev, struct net_protocol *net_protocol, const void *net_dest, struct neighbour_discovery *discovery, const void *net_source)
Transmit packet, determining link-layer address via neighbour discovery.
Network device management.
#define __net_protocol
Declare a network-layer protocol.
A network-layer protocol that relies upon ARP.
struct net_protocol * net_protocol
Network-layer protocol.
int(* check)(struct net_device *netdev, const void *net_addr)
Check existence of address.
A neighbour discovery protocol.
A network-layer protocol.