iPXE
neighbour Struct Reference

A neighbour cache entry. More...

#include <neighbour.h>

Data Fields

struct refcnt refcnt
 Reference count.
struct list_head list
 List of neighbour cache entries.
struct net_devicenetdev
 Network device.
struct net_protocolnet_protocol
 Network-layer protocol.
uint8_t net_dest [MAX_NET_ADDR_LEN]
 Network-layer destination address.
uint8_t ll_dest [MAX_LL_ADDR_LEN]
 Link-layer destination address.
struct neighbour_discoverydiscovery
 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.

Detailed Description

A neighbour cache entry.

Definition at line 38 of file neighbour.h.

Field Documentation

◆ refcnt

struct refcnt neighbour::refcnt

Reference count.

Definition at line 40 of file neighbour.h.

Referenced by neighbour_create(), neighbour_destroy(), and neighbour_tx_queue().

◆ list

struct list_head neighbour::list

List of neighbour cache entries.

Definition at line 42 of file neighbour.h.

Referenced by neighbour_create(), neighbour_destroy(), neighbour_discard(), neighbour_find(), and neighbour_flush().

◆ netdev

◆ net_protocol

struct net_protocol* neighbour::net_protocol

◆ net_dest

◆ ll_dest

uint8_t neighbour::ll_dest[MAX_LL_ADDR_LEN]

Link-layer destination address.

Definition at line 51 of file neighbour.h.

Referenced by neighbour_define(), neighbour_discovered(), neighbour_tx(), neighbour_tx_queue(), neighbour_update(), and nstat().

◆ discovery

struct neighbour_discovery* neighbour::discovery

Neighbour discovery protocol (if discovery is ongoing)

Definition at line 54 of file neighbour.h.

Referenced by neighbour_discover(), neighbour_discovered(), neighbour_expired(), neighbour_tx(), and nstat().

◆ net_source

uint8_t neighbour::net_source[MAX_NET_ADDR_LEN]

Network-layer source address (for discovery requests)

Definition at line 56 of file neighbour.h.

Referenced by neighbour_discover(), and neighbour_expired().

◆ timer

struct retry_timer neighbour::timer

Retransmission timer.

Definition at line 58 of file neighbour.h.

Referenced by neighbour_create(), neighbour_destroy(), neighbour_discover(), neighbour_expired(), and neighbour_tx_queue().

◆ tx_queue

struct list_head neighbour::tx_queue

Pending I/O buffers.

Definition at line 61 of file neighbour.h.

Referenced by neighbour_create(), neighbour_destroy(), neighbour_free(), neighbour_tx(), and neighbour_tx_queue().


The documentation for this struct was generated from the following file: