Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
lisp: move cp tests to unittest
[vpp.git]
/
src
/
vnet
/
buffer.h
diff --git
a/src/vnet/buffer.h
b/src/vnet/buffer.h
index
2144ed3
..
324c903
100644
(file)
--- a/
src/vnet/buffer.h
+++ b/
src/vnet/buffer.h
@@
-188,7
+188,8
@@
typedef struct
/* in/out variables */
struct
{
/* in/out variables */
struct
{
- u32 next_index; /* index of next node - ignored if "feature" node */
+ u32 next_index; /* index of next node - used by custom apps */
+ u32 error_next_index; /* index of next node if error - used by custom apps */
u16 estimated_mtu; /* estimated MTU calculated during reassembly */
u16 owner_thread_index;
};
u16 estimated_mtu; /* estimated MTU calculated during reassembly */
u16 owner_thread_index;
};
@@
-238,9
+239,9
@@
typedef struct
{
u32 feature_bitmap;
u16 bd_index; /* bridge-domain index */
{
u32 feature_bitmap;
u16 bd_index; /* bridge-domain index */
+ u16 l2fib_sn; /* l2fib bd/int seq_num */
u8 l2_len; /* ethernet header length */
u8 shg; /* split-horizon group */
u8 l2_len; /* ethernet header length */
u8 shg; /* split-horizon group */
- u16 l2fib_sn; /* l2fib bd/int seq_num */
u8 bd_age; /* aging enabled */
} l2;
u8 bd_age; /* aging enabled */
} l2;
@@
-275,6
+276,7
@@
typedef struct
struct
{
u32 sad_index;
struct
{
u32 sad_index;
+ u32 protect_index;
} ipsec;
/* MAP */
} ipsec;
/* MAP */
@@
-325,7
+327,11
@@
typedef struct
struct
{
u32 connection_index;
struct
{
u32 connection_index;
- u32 seq_number;
+ union
+ {
+ u32 seq_number;
+ u32 next_node_opaque;
+ };
u32 seq_end;
u32 ack_number;
u16 hdr_offset; /**< offset relative to ip hdr */
u32 seq_end;
u32 ack_number;
u16 hdr_offset; /**< offset relative to ip hdr */