FD.io VPP  v20.01-48-g3e0dafb74
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_event_t * publish_events
Definition: l2_arp_term.h:38
struct l2_arp_term_main_t_ l2_arp_term_main_t
unsigned int u32
Definition: types.h:88
void l2_arp_term_set_publisher_node(bool on)
Definition: l2_arp_term.c:99
struct _vlib_node_registration vlib_node_registration_t
l2_arp_term_main_t l2_arp_term_main
Definition: l2_arp_term.c:29
struct l2_arp_term_publish_ctx_t_ l2_arp_term_publish_event_t
vlib_node_registration_t l2_arp_term_process_node
(constructor) VLIB_REGISTER_NODE (l2_arp_term_process_node)
Definition: l2_api.c:1133
ip46_type_t
Definition: ip46_address.h:22