X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=VNFs%2FvCGNAPT%2Fpipeline%2Fpipeline_cgnapt_be.h;h=7fde0c5adeb9c8b6285aa01b2f1ddc01cb3eae46;hb=4e70037968d120b27b5360107ef3ab2e5a5f57b7;hp=94f19f1e7b4002367890e990e1cbdd61e3bcd123;hpb=10745be7adb099f559ba1b00b8d97fda59f75d62;p=samplevnf.git diff --git a/VNFs/vCGNAPT/pipeline/pipeline_cgnapt_be.h b/VNFs/vCGNAPT/pipeline/pipeline_cgnapt_be.h index 94f19f1e..7fde0c5a 100644 --- a/VNFs/vCGNAPT/pipeline/pipeline_cgnapt_be.h +++ b/VNFs/vCGNAPT/pipeline/pipeline_cgnapt_be.h @@ -325,7 +325,6 @@ f_ah( \ #define DST_ADR_OFST_IP4t6 (MBUF_HDR_ROOM + ETH_HDR_SIZE + \ IPV6_HDR_DST_ADR_OFST - 20) -#define TRAFFIC_TYPE_MIX 0 #define TRAFFIC_TYPE_IPV4 4 #define TRAFFIC_TYPE_IPV6 6 @@ -419,14 +418,6 @@ struct pipeline_cgnapt { uint8_t vnf_set; /* to identify as separate LB-CGNAPT set */ - /* Local ARP & ND Tables */ - struct lib_arp_route_table_entry - local_lib_arp_route_table[MAX_ARP_RT_ENTRY]; - uint8_t local_lib_arp_route_ent_cnt; - struct lib_nd_route_table_entry - local_lib_nd_route_table[MAX_ND_RT_ENTRY]; - uint8_t local_lib_nd_route_ent_cnt; - /* For internal debugging purpose */ #ifdef CGNAPT_TIMING_INST uint64_t in_port_exit_timestamp; @@ -756,11 +747,6 @@ int pipeline_cgnapt_msg_req_entry_addm_pair( uint8_t type, uint8_t src_ipv6[16]); /* CGNAPT Functions */ -extern void rte_pipeline_action_handler_port_ext( - struct rte_pipeline *p, - uint64_t pkts_mask, - struct rte_pipeline_table_entry **entries); - uint64_t pkt_miss_cgnapt( struct pipeline_cgnapt_entry_key *key, struct rte_mbuf *pkt, @@ -785,7 +771,6 @@ void calculate_hw_checksum( uint8_t protocol); uint64_t nextPowerOf2(uint64_t n); -struct ether_addr *get_local_link_hw_addr(uint8_t out_port); uint8_t local_dest_mac_present(uint8_t out_port); enum PKT_TYPE {