FD.io VPP  v21.06-3-gbb25fbf28
Vector Packet Processing
l2_arp_term.h
Go to the documentation of this file.
1 /*
2  * l2/l2_arp_term.c: IP v4 ARP L2 BD termination
3  *
4  * Copyright (c) 2010 Cisco and/or its affiliates.
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at:
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  */
17 
18 #include <vnet/ip/ip46_address.h>
20 
22 {
25  ip46_address_t ip;
28 
29 enum
30 {
32 };
33 
34 typedef struct l2_arp_term_main_t_
35 {
36  bool publish;
37 
39 
41 
44 
45 extern void l2_arp_term_set_publisher_node (bool on);
46 
47 
48 /*
49  * fd.io coding-style-patch-verification: ON
50  *
51  * Local Variables:
52  * eval: (c-set-style "gnu")
53  * End:
54  */
l2_arp_term_publish_ctx_t_::mac
mac_address_t mac
Definition: l2_arp_term.h:26
l2_arp_term_main_t_
Definition: l2_arp_term.h:34
L2_ARP_TERM_EVENT_PUBLISH
@ L2_ARP_TERM_EVENT_PUBLISH
Definition: l2_arp_term.h:31
l2_arp_term_publish_ctx_t_
Definition: l2_arp_term.h:21
l2_arp_term_publish_event_t
struct l2_arp_term_publish_ctx_t_ l2_arp_term_publish_event_t
vlib_node_registration_t
struct _vlib_node_registration vlib_node_registration_t
l2_arp_term_set_publisher_node
void l2_arp_term_set_publisher_node(bool on)
Definition: l2_arp_term.c:103
ip46_address.h
l2_arp_term_main_t
struct l2_arp_term_main_t_ l2_arp_term_main_t
u32
unsigned int u32
Definition: types.h:88
l2_arp_term_main_t_::publish_events
l2_arp_term_publish_event_t * publish_events
Definition: l2_arp_term.h:38
mac_address_t_
Definition: mac_address.h:21
l2_arp_term_publish_ctx_t_::type
ip46_type_t type
Definition: l2_arp_term.h:24
arp_packet.h
ip46_type_t
ip46_type_t
Definition: ip46_address.h:22
l2_arp_term_publish_ctx_t_::sw_if_index
u32 sw_if_index
Definition: l2_arp_term.h:23
l2_arp_term_publish_ctx_t_::ip
ip46_address_t ip
Definition: l2_arp_term.h:25
l2_arp_term_process_node
vlib_node_registration_t l2_arp_term_process_node
(constructor) VLIB_REGISTER_NODE (l2_arp_term_process_node)
Definition: l2_api.c:1240
l2_arp_term_main
l2_arp_term_main_t l2_arp_term_main
Definition: l2_arp_term.c:33
l2_arp_term_main_t_::publish
bool publish
Definition: l2_arp_term.h:36