27 const void *net_addr );
31 #define ARP_NET_PROTOCOLS \ 32 __table ( struct arp_net_protocol, "arp_net_protocols" ) 35 #define __arp_net_protocol __table_entry ( ARP_NET_PROTOCOLS, 01 ) 53 const void *net_dest,
const void *net_source,
54 const void *ll_source ) {
62 const void *net_dest,
const void *net_source );
A neighbour discovery protocol.
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
struct neighbour_discovery arp_discovery
ARP neighbour discovery protocol.
int(* check)(struct net_device *netdev, const void *net_addr)
Check existence of address.
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, const void *ll_source)
Transmit packet, determining link-layer address via ARP.
A network-layer protocol that relies upon ARP.
struct net_protocol * net_protocol
Network-layer protocol.
static struct net_device * netdev
struct net_protocol arp_protocol __net_protocol
AoE protocol.
A network-layer protocol.
Network device management.
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, const void *ll_source)
Transmit packet, determining link-layer address via neighbour discovery.
int arp_tx_request(struct net_device *netdev, struct net_protocol *net_protocol, const void *net_dest, const void *net_source)
Transmit ARP request.