iPXE
Data Fields
neighbour Struct Reference

A neighbour cache entry. More...

#include <neighbour.h>

Data Fields

struct refcnt refcnt
 Reference count. More...
 
struct list_head list
 List of neighbour cache entries. More...
 
struct net_devicenetdev
 Network device. More...
 
struct net_protocolnet_protocol
 Network-layer protocol. More...
 
uint8_t net_dest [MAX_NET_ADDR_LEN]
 Network-layer destination address. More...
 
uint8_t ll_dest [MAX_LL_ADDR_LEN]
 Link-layer destination address. More...
 
struct neighbour_discoverydiscovery
 Neighbour discovery protocol (if any) More...
 
uint8_t net_source [MAX_NET_ADDR_LEN]
 Network-layer source address (if any) More...
 
struct retry_timer timer
 Retransmission timer. More...
 
struct list_head tx_queue
 Pending I/O buffers. More...
 

Detailed Description

A neighbour cache entry.

Definition at line 37 of file neighbour.h.

Field Documentation

◆ refcnt

struct refcnt neighbour::refcnt

Reference count.

Definition at line 39 of file neighbour.h.

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

◆ list

struct list_head neighbour::list

List of neighbour cache entries.

Definition at line 41 of file neighbour.h.

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

◆ netdev

struct net_device* neighbour::netdev

◆ net_protocol

struct net_protocol* neighbour::net_protocol

◆ net_dest

uint8_t neighbour::net_dest[MAX_NET_ADDR_LEN]

◆ ll_dest

uint8_t neighbour::ll_dest[MAX_LL_ADDR_LEN]

Link-layer destination address.

Definition at line 50 of file neighbour.h.

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

◆ discovery

struct neighbour_discovery* neighbour::discovery

Neighbour discovery protocol (if any)

Definition at line 53 of file neighbour.h.

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

◆ net_source

uint8_t neighbour::net_source[MAX_NET_ADDR_LEN]

Network-layer source address (if any)

Definition at line 55 of file neighbour.h.

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

◆ timer

struct retry_timer neighbour::timer

◆ tx_queue

struct list_head neighbour::tx_queue

Pending I/O buffers.

Definition at line 60 of file neighbour.h.

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


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