FD.io VPP  v20.05-21-gb1500e9ff
Vector Packet Processing
tunnel_types.api
Go to the documentation of this file.
1 /* Hey Emacs use -*- mode: C -*- */
2 /*
3  * Copyright (c) 2019 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  * Flags controlling tunnel behaviour
19  */
21 {
23  /** at encap, copy the DF bit of the payload into the tunnel header */
25  /** at encap, set the DF bit in the tunnel header */
27  /** at encap, copy the DSCP bits of the payload into the tunnel header */
29  /** at encap, copy the ECN bit of the payload into the tunnel header */
31  /** at decap, copy the ECN bit of the tunnel header into the payload */
33 };
34 
35 /**
36  * tunnel mode
37  */
39 {
40  /** point-to-point */
42  /** multi-point */
44 };
45 
46 /*
47  * Local Variables:
48  * eval: (c-set-style "gnu")
49  * End:
50  */
at encap, copy the ECN bit of the payload into the tunnel header
at decap, copy the ECN bit of the tunnel header into the payload
at encap, copy the DSCP bits of the payload into the tunnel header
unsigned char u8
Definition: types.h:56
tunnel_mode
tunnel mode
at encap, set the DF bit in the tunnel header
tunnel_encap_decap_flags
Flags controlling tunnel behaviour.
point-to-point
at encap, copy the DF bit of the payload into the tunnel header