aboutsummaryrefslogtreecommitdiffstats
path: root/vnet
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2016-04-27 14:13:25 -0400
committerJohn Lo <loj@cisco.com>2016-04-27 18:35:30 +0000
commit2a00d171a04f00a95b131b089d100b7a62a99adc (patch)
treee185a431780421c0a8219ef6f68bf4076ef10ba1 /vnet
parentae65f5b6a8c0920143ad274b0c25e99d5153711e (diff)
Remove historical artifacts from vnet/buffer.h
Change-Id: I7f50074a4ed5b62bef4584190eb849d90e90e592 Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'vnet')
-rw-r--r--vnet/vnet/buffer.h26
1 files changed, 0 insertions, 26 deletions
diff --git a/vnet/vnet/buffer.h b/vnet/vnet/buffer.h
index 7648fac2..f7fd8e8f 100644
--- a/vnet/vnet/buffer.h
+++ b/vnet/vnet/buffer.h
@@ -49,19 +49,13 @@
#define IP_BUFFER_L4_CHECKSUM_COMPUTED (1 << LOG2_IP_BUFFER_L4_CHECKSUM_COMPUTED)
#define IP_BUFFER_L4_CHECKSUM_CORRECT (1 << LOG2_IP_BUFFER_L4_CHECKSUM_CORRECT)
-#define LOG2_HGSHM_BUFFER_USER_INDEX_VALID LOG2_VLIB_BUFFER_FLAG_USER(3)
-#define VNET_HGSHM_BUFFER_USER_INDEX_VALID (1 << LOG2_HGSHM_BUFFER_USER_INDEX_VALID)
-
#define foreach_buffer_opaque_union_subtype \
_(ethernet) \
_(ip) \
_(mcast) \
-_(lb) \
-_(dlb) \
_(swt) \
_(l2) \
_(l2t) \
-_(hgshm) \
_(gre) \
_(l2_classify) \
_(io_handoff) \
@@ -140,20 +134,6 @@ typedef struct {
u32 original_free_list_index;
} mcast;
- /* ipv6 shallow-pkt-inspection load-balancer, only valid there */
- struct {
- u8 lb_disable;
- u8 user_to_network;
- u8 was_injected;
- u32 bucket_id;
- } lb;
- /* ipv4 DPI load-balancer, only valid there */
- struct {
- u8 lb_disable;
- u8 user_to_network;
- u32 session_index;
- } dlb;
-
/* ip4-in-ip6 softwire termination, only valid there */
struct {
u8 swt_disable;
@@ -175,12 +155,6 @@ typedef struct {
u32 session_index;
} l2t;
- /* hgshm, valid if packet sent through iface */
- struct {
- u32 pad[8 -VLIB_N_RX_TX -1]; /* to end of opaque */
- u32 user_index; /* client id borrowing buffer */
- } hgshm;
-
struct {
u32 src, dst;
} gre;