|
FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the documentation of this file.
18 #ifndef __INCLUDE_IP_NEIGHBOR_H__
19 #define __INCLUDE_IP_NEIGHBOR_H__
38 u32 limit,
u32 age,
bool recycle);
59 const ip46_address_t *
ip);
83 const ip6_address_t *
addr);
85 const ip6_address_t *
addr);
96 const ip6_address_t *
addr);
A representation of an IP neighbour/peer.
int ip4_neighbor_proxy_enable(u32 sw_if_index)
void ip_neighbor_register(ip_address_family_t af, const ip_neighbor_vft_t *vft)
int ip4_neighbor_proxy_add(u32 fib_index, const ip4_address_t *start, const ip4_address_t *end)
The set of function that vnet requires from the IP neighbour module.
Virtual function Table for neighbor protocol implementations to register.
ip4_neighbor_proxy_addr_t inv_proxy4_add
ip4_neighbor_proxy_addr_t inv_proxy4_del
int ip6_neighbor_proxy_add(u32 sw_if_index, const ip6_address_t *addr)
int ip4_neighbor_proxy_delete(u32 fib_index, const ip4_address_t *start, const ip4_address_t *end)
int(* ip4_neighbor_proxy_addr_t)(u32 fib_index, const ip4_address_t *start, const ip4_address_t *end)
neighbor protocol implementation registration functions this are provided by ARP and IP-ND
void ip_neighbor_del_all(ip_address_family_t af, u32 sw_if_index)
walk_rc_t(* ip_neighbor_walk_cb_t)(index_t ipni, void *ctx)
struct ip_neighbor_vft_t_ ip_neighbor_vft_t
Virtual function Table for neighbor protocol implementations to register.
void ip_neighbor_mark(ip_address_family_t af)
ip6_neighbor_proxy_cfg_t inv_proxy6_del
int ip_neighbor_add(const ip_address_t *ip, const mac_address_t *mac, u32 sw_if_index, ip_neighbor_flags_t flags, u32 *stats_index)
const ip_address_t * ip_neighbor_get_ip(const ip_neighbor_t *ipn)
void ip_neighbor_walk(ip_address_family_t af, u32 sw_if_index, ip_neighbor_walk_cb_t fn, void *ctx)
int ip6_neighbor_proxy_del(u32 sw_if_index, const ip6_address_t *addr)
ip6_neighbor_proxy_cfg_t inv_proxy6_add
int ip_neighbor_del(const ip_address_t *ip, u32 sw_if_index)
ip_neighbor_t * ip_neighbor_get(index_t ipni)
void ip_neighbor_probe(const ip_adjacency_t *adj)
f64 end
end of the time range
u32 index_t
A Data-Path Object is an object that represents actions that are applied to packets are they are swit...
const u32 ip_neighbor_get_sw_if_index(const ip_neighbor_t *ipn)
void ip_neighbor_sweep(ip_address_family_t af)
void ip_neighbor_probe_dst(u32 sw_if_index, ip_address_family_t af, const ip46_address_t *ip)
void ip_neighbor_handle_event(ip_neighbor_event_t *ipne)
From the watcher to the API to publish a new neighbor.
int ip4_neighbor_proxy_disable(u32 sw_if_index)
void ip_neighbor_update(vnet_main_t *vnm, adj_index_t ai)
int(* ip6_neighbor_proxy_cfg_t)(u32 sw_if_index, const ip6_address_t *addr)
void ip_neighbor_learn(const ip_neighbor_learn_t *l)
enum ip_neighbor_flags_t_ ip_neighbor_flags_t
const mac_address_t * ip_neighbor_get_mac(const ip_neighbor_t *ipn)
ip4_neighbor_proxy_cfg_t inv_proxy4_disable
ip_address_family_t ip_neighbor_get_af(const ip_neighbor_t *ipn)
u32 adj_index_t
An index for adjacencies.
ip4_neighbor_proxy_cfg_t inv_proxy4_enable
int(* ip4_neighbor_proxy_cfg_t)(u32 sw_if_index)
int ip_neighbor_config(ip_address_family_t af, u32 limit, u32 age, bool recycle)
vl_api_interface_index_t sw_if_index
enum walk_rc_t_ walk_rc_t
Walk return code.
enum ip_address_family_t_ ip_address_family_t
vl_api_wireguard_peer_flags_t flags