summaryrefslogtreecommitdiffstats
path: root/src/plugins/gbp/gbp_all_api_h.h
blob: 3093309e80f22a22e82df428ae849b028c3a5e39 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*
 * Copyright (c) 2018 Cisco and/or its affiliates.
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at:
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
/* Include the generated file, see BUILT_SOURCES in Makefile.am */
#include <gbp/gbp.api.h>
at encap, copy the DSCP bits of the payload into the tunnel header */ TUNNEL_API_ENCAP_DECAP_FLAG_ENCAP_COPY_DSCP = 0x4, /** at encap, copy the ECN bit of the payload into the tunnel header */ TUNNEL_API_ENCAP_DECAP_FLAG_ENCAP_COPY_ECN = 0x8, /** at decap, copy the ECN bit of the tunnel header into the payload */ TUNNEL_API_ENCAP_DECAP_FLAG_DECAP_COPY_ECN = 0x10, }; /** * tunnel mode */ enum tunnel_mode : u8 { /** point-to-point */ TUNNEL_API_MODE_P2P = 0, /** multi-point */ TUNNEL_API_MODE_MP, }; /* * Local Variables: * eval: (c-set-style "gnu") * End: */