|
FD.io VPP
v21.10.1-2-g0a485f517
Vector Packet Processing
|
Go to the documentation of this file.
41 if (flags & IP_NEIGHBOR_FLAG_##a) \
42 s = format (s, "%s", d);
53 return (
format (s,
"[%U, %U]",
63 return (
format (s,
"[pid:%d, client:%d]",
64 clib_host_to_net_u32 (watcher->
ipw_pid),
76 return (
format (s,
"%=12U%=40U%=6U%=20U%U",
A representation of an IP neighbour/peer.
void ip_neighbor_free(ip_neighbor_t *ipn)
#define clib_memcpy(d, s, n)
ip_neighbor_t * ip_neighbor_get(index_t ipni)
static void clib_mem_free(void *p)
void ip_neighbor_clone(const ip_neighbor_t *ipn, ip_neighbor_t *clone)
u8 * format_ip_neighbor(u8 *s, va_list *va)
u8 * format_ip_neighbor_key(u8 *s, va_list *va)
ip_neighbor_flags_t ipn_flags
Falgs for this object.
format_function_t format_vlib_time
ip_neighbor_key_t * ipn_key
The idempotent key.
vnet_main_t * vnet_get_main(void)
u8 * format_mac_address_t(u8 *s, va_list *args)
u32 index_t
A Data-Path Object is an object that represents actions that are applied to packets are they are swit...
u8 * format_ip_address(u8 *s, va_list *args)
f64 ipn_time_last_updated
Aging related data.
@ foreach_ip_neighbor_flag
format_function_t format_vnet_sw_if_index_name
enum ip_neighbor_flags_t_ ip_neighbor_flags_t
description fragment has unexpected format
u8 * format_ip_neighbor_watcher(u8 *s, va_list *va)
u8 * format_ip_neighbor_flags(u8 *s, va_list *args)
static vlib_main_t * vlib_get_main(void)
mac_address_t ipn_mac
The learned MAC address of the neighbour.
static void * clib_mem_alloc(uword size)
vl_api_wireguard_peer_flags_t flags