|
FD.io VPP
v21.10.1-2-g0a485f517
Vector Packet Processing
|
Go to the documentation of this file.
18 #ifndef __included_l2tp_h__
19 #define __included_l2tp_h__
110 return ((session_index << 1) + counter_id);
124 ip6_address_t * client_address,
125 ip6_address_t * our_address,
126 u32 local_session_id,
127 u32 remote_session_id,
130 int l2_sublayer_present,
135 u64 new_local_cookie,
u64 new_remote_cookie);
vlib_node_registration_t l2t_decap_local_node
(constructor) VLIB_REGISTER_NODE (l2t_decap_local_node)
int create_l2tpv3_ipv6_tunnel(l2t_main_t *lm, ip6_address_t *client_address, ip6_address_t *our_address, u32 local_session_id, u32 remote_session_id, u64 local_cookie, u64 remote_cookie, int l2_sublayer_present, u32 encap_fib_index, u32 *sw_if_index)
u8 * format_l2t_trace(u8 *s, va_list *args)
vlib_main_t * vm
X-connect all packets from the HOST to the PHY.
uword * session_by_dst_address
static u32 session_index_to_counter_index(u32 session_index, u32 counter_id)
uword * session_by_session_id
ip6_to_l2_lookup_t lookup_type
void l2tp_encap_init(vlib_main_t *vm)
u32 * free_l2tpv3_tunnel_hw_if_indices
ip6_address_t client_address
ip6_address_t client_address
struct _vlib_node_registration vlib_node_registration_t
int l2tpv3_set_tunnel_cookies(l2t_main_t *lm, u32 sw_if_index, u64 new_local_cookie, u64 new_remote_cookie)
uword * session_by_src_address
@ SESSION_COUNTER_NETWORK_TO_USER
A collection of combined counters.
int l2tpv3_interface_enable_disable(vnet_main_t *vnm, u32 sw_if_index, int enable_disable)
ip6_address_t our_address
vlib_combined_counter_main_t counter_main
@ SESSION_COUNTER_USER_TO_NETWORK
vlib_node_registration_t l2t_encap_node
(constructor) VLIB_REGISTER_NODE (l2t_encap_node)
uword unformat_pg_l2tp_header(unformat_input_t *input, va_list *args)
vl_api_interface_index_t sw_if_index
ip6_address_t our_address
vlib_node_registration_t l2t_decap_node
(constructor) VLIB_REGISTER_NODE (l2t_decap_node)