diff options
author | 2019-03-27 17:40:42 +0100 | |
---|---|---|
committer | 2019-03-27 17:40:42 +0100 | |
commit | a91867ab59f1cbbd41d1e01ded6e15474a6889b5 (patch) | |
tree | 9dcf9c2bd31aee81ab5e2b580d531da915fa5e0d /hicn-plugin/src/punt.h | |
parent | 558581790763815071e9c77e06047e689faf752f (diff) |
[HICN-150] Fixed punting to classify packets from current_data instead of from data
Change-Id: I448b13430dc00ea47b928092249fb9ca88ceba0e
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
Diffstat (limited to 'hicn-plugin/src/punt.h')
-rw-r--r-- | hicn-plugin/src/punt.h | 14 |
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 |