summaryrefslogtreecommitdiffstats
path: root/hicn-plugin/src/punt.h
diff options
context:
space:
mode:
authorMauro Sardara <msardara@cisco.com>2019-03-27 17:33:09 +0000
committerGerrit Code Review <gerrit@fd.io>2019-03-27 17:33:09 +0000
commit8471ba9ff149ad9ead3dd8b635c3b9fa182ed429 (patch)
tree3b405ac34b26e79d7c7b0b703c4446fc38439400 /hicn-plugin/src/punt.h
parente7af5711a05311ac92d0f8c59986fea4032937c9 (diff)
parenta91867ab59f1cbbd41d1e01ded6e15474a6889b5 (diff)
Merge "[HICN-150] Fixed punting to classify packets from current_data instead of from data"
Diffstat (limited to 'hicn-plugin/src/punt.h')
-rw-r--r--hicn-plugin/src/punt.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/hicn-plugin/src/punt.h b/hicn-plugin/src/punt.h
index ebc27e9d4..3e6900064 100644
--- a/hicn-plugin/src/punt.h
+++ b/hicn-plugin/src/punt.h
@@ -296,14 +296,16 @@ hicn_punt_enable_disable_vnet_ip6_table_on_intf (vlib_main_t * vm,
u32 hicn_punt_interest_data_for_udp (vlib_main_t * vm,
ip46_address_t * prefix, u8 mask,
u32 swif, u8 punt_type, u16 sport,
- u16 dport);
-u32 hicn_punt_interest_data_for_ethernet (vlib_main_t * vm,
- ip46_address_t * prefix, u8 mask,
- u32 swif, u8 type);
+ u16 dport, u8 with_l2);
+u32 hicn_punt_interest_data_for_ip (vlib_main_t * vm,
+ ip46_address_t * prefix, u8 mask,
+ u32 swif, u8 type, u8 with_l2);
int hicn_punt_remove_ip6_address (vlib_main_t * vm, ip6_address_t * addr,
- u8 mask, int skip, u32 swif, int is_enable);
+ u8 mask, int skip, u32 swif, int is_enable,
+ u8 with_l2);
int hicn_punt_remove_ip4_address (vlib_main_t * vm, ip4_address_t * addr,
- u8 mask, int skip, u32 swif, int is_enable);
+ u8 mask, int skip, u32 swif, int is_enable,
+ u8 with_l2);
void hicn_punt_init (vlib_main_t * vm);
int