FD.io VPP  v20.09-rc2-28-g3c5414029
Vector Packet Processing
interface_types_api.h
Go to the documentation of this file.
1 /* Hey Emacs use -*- mode: C -*- */
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 
18 
20 {
23 };
24 
25 /* Per protocol MTU */
27 {
28  MTU_PROTO_API_L3, /* Default payload MTU (without L2 headers) */
29  MTU_PROTO_API_IP4, /* Per-protocol MTUs overriding default */
33 };
34 
36 {
40 };
41 
43 {
52  SUB_IF_API_FLAG_MASK_VNET = 254, /* use with vnet_sub_interface_t raw_flags */
54 };
55 
56 enum rx_mode
57 {
63 };
64 
65 enum if_type
66 {
67  /* A hw interface. */
69 
70  /* A sub-interface. */
74 };
75 
77 {
80 };
81 
82 /*
83  * fd.io coding-style-patch-verification: ON
84  *
85  * Local Variables:
86  * eval: (c-set-style "gnu")
87  * End:
88  */
u32 interface_index
mtu_proto
unsigned char u8
Definition: types.h:56
unsigned int u32
Definition: types.h:88
if_status_flags
sub_if_flags
link_duplex