FD.io VPP  v21.06-3-gbb25fbf28
Vector Packet Processing
ip6_sv_reass.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2017 Cisco and/or its affiliates.
3  * Licensed under the Apache License, Version 2.0 (the "License");
4  * you may not use this file except in compliance with the License.
5  * You may obtain a copy of the License at:
6  *
7  * http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Unless required by applicable law or agreed to in writing, software
10  * distributed under the License is distributed on an "AS IS" BASIS,
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  * See the License for the specific language governing permissions and
13  * limitations under the License.
14  */
15 
16 /**
17  * @file
18  * @brief IPv6 shallow virtual reassembly.
19  *
20  * This file contains the source code for IPv6 shallow virtual reassembly.
21  */
22 
23 #ifndef __included_ip6_sv_reass_h__
24 #define __included_ip6_sv_reass_h__
25 
26 #include <vnet/api_errno.h>
27 #include <vnet/vnet.h>
28 
29 /**
30  * @brief set ip6 reassembly configuration
31  */
32 vnet_api_error_t ip6_sv_reass_set (u32 timeout_ms, u32 max_reassemblies,
33  u32 max_reassembly_length,
34  u32 expire_walk_interval_ms);
35 
36 /**
37  * @brief get ip6 reassembly configuration
38  */
39 vnet_api_error_t ip6_sv_reass_get (u32 * timeout_ms, u32 * max_reassemblies,
40  u32 * max_reassembly_length,
41  u32 * expire_walk_interval_ms);
42 
44  u8 enable_disable);
45 
47 
48 #endif /* __included_ip6_sv_reass_h */
49 
50 /*
51  * fd.io coding-style-patch-verification: ON
52  *
53  * Local Variables:
54  * eval: (c-set-style "gnu")
55  * End:
56  */
u32
unsigned int u32
Definition: types.h:88
u8
unsigned char u8
Definition: types.h:56
ip6_sv_reass_get
vnet_api_error_t ip6_sv_reass_get(u32 *timeout_ms, u32 *max_reassemblies, u32 *max_reassembly_length, u32 *expire_walk_interval_ms)
get ip6 reassembly configuration
Definition: ip6_sv_reass.c:934
ip6_sv_reass_enable_disable_with_refcnt
int ip6_sv_reass_enable_disable_with_refcnt(u32 sw_if_index, int is_enable)
Definition: ip6_sv_reass.c:1327
ip6_sv_reass_set
vnet_api_error_t ip6_sv_reass_set(u32 timeout_ms, u32 max_reassemblies, u32 max_reassembly_length, u32 expire_walk_interval_ms)
set ip6 reassembly configuration
Definition: ip6_sv_reass.c:896
vnet.h
api_errno.h
sw_if_index
vl_api_interface_index_t sw_if_index
Definition: wireguard.api:34
ip6_sv_reass_enable_disable
vnet_api_error_t ip6_sv_reass_enable_disable(u32 sw_if_index, u8 enable_disable)
Definition: ip6_sv_reass.c:1185
vnet_api_error_t
vnet_api_error_t
Definition: api_errno.h:162