aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/srv6-mobile/mobile.h
diff options
context:
space:
mode:
authorAndrew Yourtchenko <ayourtch@gmail.com>2020-01-14 19:26:27 +0000
committerOle Trøan <otroan@employees.org>2020-01-15 11:06:59 +0000
commit61f7bfb6dee843cfc003ee7eb2572e2e2e51f02a (patch)
tree0bc287448db6562c0d343da4c84a566ad1aa8a0a /src/plugins/srv6-mobile/mobile.h
parent989c3c8fbd46ca0a8d9f6d6be3008e1285f3155e (diff)
srv6-mobile: Revert "srv6-mobile:"
This reverts commit 57584d99dd8a8524db90c67c88525d58879d9b8e. The reasons for reverting: - the documentation seems "work in progress". Also, 500K of pngs should probably go on wiki, rather than in the repo. Please make sure that newly added documentation renders correctly and sensibly as part of the review/commit process. - runner.py seems to contain unit tests, so it should be rewritten in a manner that allows the testing from within CI (including an unprivileged docker container) - the above items, especially the testing one, warrant more work, and at a RC1 milestone time it is probably not a good idea to include a significant patch without proper care. I suggest to prepare it so it is ready for the next release, or cherrypick it for a 20.01.1 release, if having it in stable/2001 is absolute necessity. - when submitting it, ensure that the commit message makes sense, especially having "srv6-mobile:" with no further text should be absolutely avoided. Change-Id: If81441f7ebf11a6ad5638b1327faf18e8ebe6a35 Type: fix Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
Diffstat (limited to 'src/plugins/srv6-mobile/mobile.h')
-rw-r--r--src/plugins/srv6-mobile/mobile.h71
1 files changed, 0 insertions, 71 deletions
diff --git a/src/plugins/srv6-mobile/mobile.h b/src/plugins/srv6-mobile/mobile.h
index eb1836e0968..5a086b66c6e 100644
--- a/src/plugins/srv6-mobile/mobile.h
+++ b/src/plugins/srv6-mobile/mobile.h
@@ -42,11 +42,6 @@
#define SRV6_GTP6_DT6 2
#define SRV6_GTP6_DT46 3
-#define SRV6_GTP4_UNKNOW 0
-#define SRV6_GTP4_DT4 1
-#define SRV6_GTP4_DT6 2
-#define SRV6_GTP4_DT46 3
-
#if __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__
#define BITALIGN2(A,B) A; B
#define BITALIGN3(A,B,C) A; B; C
@@ -64,19 +59,6 @@
#define SRH_TAG_ERROR_INDICATION 0x0002
#define SRH_TAG_END_MARKER 0x0001
-#define GTPU_RECOVERY_IE_TYPE 0x0e
-
-#define GTPU_IE_MAX_SIZ 256
-#define SRH_TLV_USER_PLANE_CONTAINER 0x0a /* tentative */
-
-/* *INDENT-OFF* */
-typedef struct
-{
- u8 type;
- u8 restart_counter;
-} __attribute__ ((packed)) gtpu_recovery_ie;
-/* *INDENT-ON* */
-
/* *INDENT-OFF* */
typedef struct
{
@@ -163,17 +145,6 @@ typedef struct
#define GTPU_PT_GTP (1<<4)
-/* *INDENT-OFF* */
-typedef struct
-{
- u8 type;
- u8 length;
- u8 value[0];
-} __attribute__ ((packed)) user_plane_sub_tlv_t;
-/* *INDENT-ON* */
-
-#define USER_PLANE_SUB_TLV_IE 0x01
-
typedef struct srv6_end_gtp6_param_s
{
u8 nhtype;
@@ -182,24 +153,6 @@ typedef struct srv6_end_gtp6_param_s
u32 sr_prefixlen;
} srv6_end_gtp6_param_t;
-typedef struct srv6_end_gtp6_dt_param_s
-{
- u8 type;
-
- u32 fib4_index;
- u32 fib6_index;
- u32 local_fib_index;
-} srv6_end_gtp6_dt_param_t;
-
-typedef struct srv6_t_gtp4_dt_param_s
-{
- u8 type;
-
- u32 fib4_index;
- u32 fib6_index;
- u32 local_fib_index;
-} srv6_t_gtp4_dt_param_t;
-
typedef struct srv6_end_gtp4_param_s
{
u8 nhtype;
@@ -285,30 +238,6 @@ typedef struct srv6_end_main_v6_decap_di_s
extern srv6_end_main_v6_decap_di_t srv6_end_main_v6_decap_di;
extern vlib_node_registration_t srv6_end_m_gtp6_d_di;
-typedef struct srv6_end_main_v6_dt_s
-{
- vlib_main_t *vlib_main;
- vnet_main_t *vnet_main;
-
- u32 end_m_gtp6_dt_node_index;
- u32 error_node_index;
-} srv6_end_main_v6_dt_t;
-
-extern srv6_end_main_v6_dt_t srv6_end_main_v6_dt;
-extern vlib_node_registration_t srv6_end_m_gtp6_dt;
-
-typedef struct srv6_t_main_v4_dt_s
-{
- vlib_main_t *vlib_main;
- vnet_main_t *vnet_main;
-
- u32 t_m_gtp4_dt_node_index;
- u32 error_node_index;
-} srv6_t_main_v4_dt_t;
-
-extern srv6_t_main_v4_dt_t srv6_t_main_v4_dt;
-extern vlib_node_registration_t srv6_t_m_gtp4_dt;
-
#endif /* __included_srv6_end_h__ */
/*