blob: 546075b04b41d4b673f68153af05e0815678b225 [file] [log] [blame]
Klement Sekera75e7d132017-09-20 08:26:30 +02001/*
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 Reassembly.
19 *
20 * This file contains the source code for IPv6 reassembly.
21 */
22
Klement Sekera896c8962019-06-24 11:52:49 +000023#ifndef __included_ip6_full_reass_h__
24#define __included_ip6_full_reass_h__
Klement Sekera75e7d132017-09-20 08:26:30 +020025
26#include <vnet/api_errno.h>
27#include <vnet/vnet.h>
28
29/**
30 * @brief set ip6 reassembly configuration
31 */
Klement Sekera896c8962019-06-24 11:52:49 +000032vnet_api_error_t ip6_full_reass_set (u32 timeout_ms, u32 max_reassemblies,
33 u32 max_reassembly_length,
34 u32 expire_walk_interval_ms);
Klement Sekera75e7d132017-09-20 08:26:30 +020035
36/**
37 * @brief get ip6 reassembly configuration
38 */
Klement Sekera896c8962019-06-24 11:52:49 +000039vnet_api_error_t ip6_full_reass_get (u32 * timeout_ms, u32 * max_reassemblies,
40 u32 * max_reassembly_length,
41 u32 * expire_walk_interval_ms);
Klement Sekera75e7d132017-09-20 08:26:30 +020042
Klement Sekera896c8962019-06-24 11:52:49 +000043vnet_api_error_t ip6_full_reass_enable_disable (u32 sw_if_index,
44 u8 enable_disable);
Klement Sekera4c533132018-02-22 11:41:12 +010045
Klement Sekera7b2e9fb2019-10-01 13:00:22 +000046int ip6_full_reass_enable_disable_with_refcnt (u32 sw_if_index,
47 int is_enable);
48
Klement Sekera896c8962019-06-24 11:52:49 +000049#endif /* __included_ip6_full_reass_h */
Klement Sekera75e7d132017-09-20 08:26:30 +020050
51/*
52 * fd.io coding-style-patch-verification: ON
53 *
54 * Local Variables:
55 * eval: (c-set-style "gnu")
56 * End:
57 */