2 * l2/l2_arp_term.c: IP v4 ARP L2 BD termination
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:
9 * http://www.apache.org/licenses/LICENSE-2.0
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.
18 #include <vnet/ip/ip46_address.h>
19 #include <vnet/ethernet/arp_packet.h>
21 typedef struct l2_arp_term_publish_ctx_t_
27 } l2_arp_term_publish_event_t;
31 L2_ARP_TERM_EVENT_PUBLISH,
34 typedef struct l2_arp_term_main_t_
38 l2_arp_term_publish_event_t *publish_events;
42 extern l2_arp_term_main_t l2_arp_term_main;
43 extern vlib_node_registration_t l2_arp_term_process_node;
45 extern void l2_arp_term_set_publisher_node (bool on);
49 * fd.io coding-style-patch-verification: ON
52 * eval: (c-set-style "gnu")