Hybrid ICN (hICN) plugin
v21.06-rc0-4-g18fa668
hicn-plugin
src
mapme_ack.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2017-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
/*
17
* Copyright (c) 2017-2019 by Cisco Systems Inc. All Rights Reserved.
18
*
19
*/
20
21
#ifndef HICN_MAPME_ACK_H
22
#define HICN_MAPME_ACK_H
23
24
#include <vlib/vlib.h>
25
#include <vnet/vnet.h>
26
32
/* Node context data */
33
typedef
struct
hicn_mapme_ack_runtime_s
34
{
35
int
id;
36
}
hicn_mapme_ack_runtime_t
;
37
38
/* Trace context struct */
39
typedef
struct
40
{
41
u32 next_index;
42
u32 sw_if_index;
43
u8 pkt_type;
44
}
hicn_mapme_ack_trace_t
;
45
46
typedef
enum
47
{
48
HICN_MAPME_ACK_NEXT_ERROR_DROP,
49
HICN_MAPME_ACK_N_NEXT,
50
} hicn_mapme_ack_next_t;
51
52
#endif
/* HICN_MAPME_ACK_H */
53
54
/*
55
* fd.io coding-style-patch-verification: ON
56
*
57
* Local Variables: eval: (c-set-style "gnu") End:
58
*/
hicn_mapme_ack_trace_t
Definition:
mapme_ack.h:39
hicn_mapme_ack_runtime_s
Definition:
mapme_ack.h:33
Generated by
1.8.17