summaryrefslogtreecommitdiffstats
path: root/src/plugins/pppoe/pppoe.h
diff options
context:
space:
mode:
authorHongjun Ni <hongjun.ni@intel.com>2017-11-17 23:43:11 +0800
committerDamjan Marion <dmarion.lists@gmail.com>2017-11-17 10:07:40 +0000
commitad2ddb1c06f84625e4e5e5fe1748bbcc7df07e97 (patch)
treed639eb2028769d2dbeb8fcc14f6cd383bfd94baf /src/plugins/pppoe/pppoe.h
parentb8bbd6521fbab6579e4c571f61489f995f56bc78 (diff)
Replace tap interface using general interface
Change-Id: Icd73f00162fb6aabe296c8bb6f2174ad4f6a17b7 Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
Diffstat (limited to 'src/plugins/pppoe/pppoe.h')
-rw-r--r--src/plugins/pppoe/pppoe.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/pppoe/pppoe.h b/src/plugins/pppoe/pppoe.h
index b79e4eaae51..77bc88fea60 100644
--- a/src/plugins/pppoe/pppoe.h
+++ b/src/plugins/pppoe/pppoe.h
@@ -73,7 +73,7 @@ typedef struct
_(DROP, "error-drop") \
_(IP4_INPUT, "ip4-input") \
_(IP6_INPUT, "ip6-input" ) \
-_(CP_INPUT, "pppoe-tap-dispatch" ) \
+_(CP_INPUT, "pppoe-cp-dispatch" ) \
typedef enum
{
@@ -163,7 +163,7 @@ typedef struct
u32 *session_index_by_sw_if_index;
/* used for pppoe cp path */
- u32 tap_if_index;
+ u32 cp_if_index;
/* API message ID base */
u16 msg_id_base;
@@ -177,7 +177,7 @@ typedef struct
extern pppoe_main_t pppoe_main;
extern vlib_node_registration_t pppoe_input_node;
-extern vlib_node_registration_t pppoe_tap_dispatch_node;
+extern vlib_node_registration_t pppoe_cp_dispatch_node;
typedef struct
{
@@ -198,7 +198,7 @@ typedef struct
{
u8 is_add;
u32 client_if_index;
- u32 tap_if_index;
+ u32 cp_if_index;
} vnet_pppoe_add_del_tap_args_t;
always_inline u64