1#ifndef _IPXE_NEIGHBOUR_H
2#define _IPXE_NEIGHBOUR_H
34 const void *net_dest,
const void *net_source );
76 const void *net_source );
79 const void *net_dest,
const void *ll_dest );
82 const void *net_dest,
const void *ll_dest );
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.
struct list_head neighbours
The neighbour cache.
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.
int neighbour_update(struct net_device *netdev, struct net_protocol *net_protocol, const void *net_dest, const void *ll_dest)
Update existing neighbour cache entry.
int neighbour_define(struct net_device *netdev, struct net_protocol *net_protocol, const void *net_dest, const void *ll_dest)
Define neighbour cache entry.
Network device management.
#define MAX_NET_ADDR_LEN
Maximum length of a network-layer address.
#define MAX_LL_ADDR_LEN
Maximum length of a link-layer address.
A doubly-linked list entry (or list head)
A neighbour transmission delay pseudo-header.
unsigned long start
Original transmission time (in ticks)
A neighbour discovery protocol.
int(* tx_request)(struct net_device *netdev, struct net_protocol *net_protocol, const void *net_dest, const void *net_source)
Transmit neighbour discovery request.
struct neighbour_discovery * discovery
Neighbour discovery protocol (if discovery is ongoing)
uint8_t net_source[MAX_NET_ADDR_LEN]
Network-layer source address (for discovery requests)
struct retry_timer timer
Retransmission timer.
struct list_head tx_queue
Pending I/O buffers.
struct refcnt refcnt
Reference count.
struct net_protocol * net_protocol
Network-layer protocol.
struct net_device * netdev
Network device.
uint8_t ll_dest[MAX_LL_ADDR_LEN]
Link-layer destination address.
uint8_t net_dest[MAX_NET_ADDR_LEN]
Network-layer destination address.
struct list_head list
List of neighbour cache entries.
A network-layer protocol.