FD.io VPP
v20.09-64-g4f7b92f0a
Vector Packet Processing
igmp_query.h
Go to the documentation of this file.
1
/*
2
*------------------------------------------------------------------
3
* Copyright (c) 2018 Cisco and/or its affiliates.
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
* you may not use this file except in compliance with the License.
6
* You may obtain a copy of the License at:
7
*
8
* http://www.apache.org/licenses/LICENSE-2.0
9
*
10
* Unless required by applicable law or agreed to in writing, software
11
* distributed under the License is distributed on an "AS IS" BASIS,
12
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
* See the License for the specific language governing permissions and
14
* limitations under the License.
15
*------------------------------------------------------------------
16
*/
17
18
#include <
igmp/igmp.h
>
19
20
/**
21
* A copy of the query message sent from the worker to the main thread
22
*/
23
typedef
struct
igmp_query_args_t_
24
{
25
u32
sw_if_index
;
26
igmp_membership_query_v3_t
query
[0];
27
}
igmp_query_args_t
;
28
29
extern
void
igmp_handle_query
(
const
igmp_query_args_t
* args);
30
31
/*
32
* fd.io coding-style-patch-verification: ON
33
*
34
* Local Variables:
35
* eval: (c-set-style "gnu")
36
* End:
37
*/
igmp_query_args_t_
A copy of the query message sent from the worker to the main thread.
Definition:
igmp_query.h:23
igmp_membership_query_v3_t
Definition:
igmp_packet.h:100
u32
unsigned int u32
Definition:
types.h:88
igmp_query_args_t
struct igmp_query_args_t_ igmp_query_args_t
A copy of the query message sent from the worker to the main thread.
igmp.h
igmp_handle_query
void igmp_handle_query(const igmp_query_args_t *args)
Called from the main thread on reception of a Query message.
Definition:
igmp_query.c:174
igmp_query_args_t_::query
igmp_membership_query_v3_t query[0]
Definition:
igmp_query.h:26
igmp_query_args_t_::sw_if_index
u32 sw_if_index
Definition:
igmp_query.h:25
src
plugins
igmp
igmp_query.h
Generated on Thu Jun 3 2021 16:04:31 for FD.io VPP by
1.8.13