summaryrefslogtreecommitdiffstats
path: root/src/vnet/buffer.h
diff options
context:
space:
mode:
authorKlement Sekera <ksekera@cisco.com>2017-09-20 08:26:30 +0200
committerFlorin Coras <florin.coras@gmail.com>2018-02-01 23:41:17 +0000
commit75e7d1301475d49311d14e202936c62df0c07d10 (patch)
tree1a7e1d211cc97352f093a0207e6c94952e39e611 /src/vnet/buffer.h
parent2b9453c55a7294d8eedf126d616a608c32be0e36 (diff)
IPv4/6 reassembly
Change-Id: Ic5dcadd13c88b8a5e7896dab82404509c081614a Signed-off-by: Klement Sekera <ksekera@cisco.com>
Diffstat (limited to 'src/vnet/buffer.h')
-rw-r--r--src/vnet/buffer.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/vnet/buffer.h b/src/vnet/buffer.h
index c9f1d6ef6a1..5d7273aa04f 100644
--- a/src/vnet/buffer.h
+++ b/src/vnet/buffer.h
@@ -177,6 +177,18 @@ typedef struct
u8 code;
u32 data;
} icmp;
+
+ /* reassembly */
+ struct
+ {
+ u16 fragment_first;
+ u16 fragment_last;
+ u16 range_first;
+ u16 range_last;
+ u32 next_range_bi;
+ u16 ip6_frag_hdr_offset;
+ u16 estimated_mtu;
+ } reass;
};
} ip;