FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
gso.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2019 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
#ifndef included_gso_h
17
#define included_gso_h
18
19
#include <
vnet/vnet.h
>
20
21
typedef
struct
22
{
23
vlib_main_t
*
vlib_main
;
24
vnet_main_t
*
vnet_main
;
25
u16
msg_id_base
;
26
}
gso_main_t
;
27
28
extern
gso_main_t
gso_main
;
29
30
int
vnet_sw_interface_gso_enable_disable
(
u32
sw_if_index
,
u8
enable);
31
32
#endif
/* included_gso_h */
33
34
/*
35
* fd.io coding-style-patch-verification: ON
36
*
37
* Local Variables:
38
* eval: (c-set-style "gnu")
39
* End:
40
*/
gso_main_t::msg_id_base
u16 msg_id_base
Definition:
gso.h:25
u16
unsigned short u16
Definition:
types.h:57
gso_main
gso_main_t gso_main
Definition:
gso.c:24
vnet_main_t
Definition:
vnet.h:76
u32
unsigned int u32
Definition:
types.h:88
vnet_sw_interface_gso_enable_disable
int vnet_sw_interface_gso_enable_disable(u32 sw_if_index, u8 enable)
Definition:
gso.c:27
vlib_main_t
Definition:
main.h:102
u8
unsigned char u8
Definition:
types.h:56
vnet.h
gso_main_t::vlib_main
vlib_main_t * vlib_main
Definition:
gso.h:23
sw_if_index
vl_api_interface_index_t sw_if_index
Definition:
wireguard.api:34
gso_main_t::vnet_main
vnet_main_t * vnet_main
Definition:
gso.h:24
gso_main_t
Definition:
gso.h:21
src
vnet
gso
gso.h
Generated on Sat Jan 8 2022 10:05:00 for FD.io VPP by
1.8.17