sw_error_t fal_ip_age_time_get(a_uint32_t dev_id, a_uint32_t * time) { sw_error_t rv; rv = sw_uk_exec(SW_API_IP_AGE_TIME_GET, dev_id, (a_uint32_t) time); return rv; }
sw_error_t fal_acl_list_creat(a_uint32_t dev_id, a_uint32_t list_id, a_uint32_t prio) { sw_error_t rv; rv = sw_uk_exec(SW_API_ACL_LIST_CREAT, dev_id, list_id, prio); return rv; }
sw_error_t fal_mib_status_get(a_uint32_t dev_id, a_bool_t * enable) { sw_error_t rv; rv = sw_uk_exec(SW_API_MIB_STATUS_GET, dev_id, (a_uint32_t)enable); return rv; }
sw_error_t fal_acl_rule_dump(a_uint32_t dev_id) { sw_error_t rv; rv = sw_uk_exec(SW_API_ACL_RULE_DUMP, dev_id); return rv; }
sw_error_t fal_acl_list_destroy(a_uint32_t dev_id, a_uint32_t list_id) { sw_error_t rv; rv = sw_uk_exec(SW_API_ACL_LIST_DESTROY, dev_id, list_id); return rv; }
sw_error_t fal_napt_del(a_uint32_t dev_id, a_uint32_t del_mode, fal_napt_entry_t * napt_entry) { sw_error_t rv; rv = sw_uk_exec(SW_API_NAPT_DEL, dev_id, del_mode, (a_uint32_t) napt_entry); return rv; }
sw_error_t fal_napt_next(a_uint32_t dev_id, a_uint32_t next_mode, fal_napt_entry_t * napt_entry) { sw_error_t rv; rv = sw_uk_exec(SW_API_NAPT_NEXT, dev_id, next_mode, (a_uint32_t) napt_entry); return rv; }
sw_error_t fal_ip_arp_learn_get(a_uint32_t dev_id, fal_arp_learn_mode_t * mode) { sw_error_t rv; rv = sw_uk_exec(SW_API_IP_ARP_LEARN_GET, dev_id, (a_uint32_t)mode); return rv; }
sw_error_t fal_nat_hash_mode_get(a_uint32_t dev_id, a_uint32_t * mode) { sw_error_t rv; rv = sw_uk_exec(SW_API_NAT_HASH_MODE_GET, dev_id, (a_uint32_t) mode); return rv; }
sw_error_t fal_ip_host_pppoe_bind(a_uint32_t dev_id, a_uint32_t entry_id, a_uint32_t pppoe_id, a_bool_t enable) { sw_error_t rv; rv = sw_uk_exec(SW_API_IP_HOST_PPPOE_BIND, dev_id, entry_id, pppoe_id, (a_uint32_t) enable); return rv; }
sw_error_t fal_ip_pt_arp_learn_get(a_uint32_t dev_id, fal_port_t port_id, a_uint32_t * flags) { sw_error_t rv; rv = sw_uk_exec(SW_API_IP_PT_ARP_LEARN_GET, dev_id, port_id, (a_uint32_t)flags); return rv; }
sw_error_t fal_ip_host_next(a_uint32_t dev_id, a_uint32_t next_mode, fal_host_entry_t * host_entry) { sw_error_t rv; rv = sw_uk_exec(SW_API_IP_HOST_NEXT, dev_id, next_mode, (a_uint32_t) host_entry); return rv; }
sw_error_t fal_ip_host_get(a_uint32_t dev_id, a_uint32_t get_mode, fal_host_entry_t * host_entry) { sw_error_t rv; rv = sw_uk_exec(SW_API_IP_HOST_GET, dev_id, get_mode, (a_uint32_t) host_entry); return rv; }
sw_error_t fal_ip_wcmp_hash_mode_get(a_uint32_t dev_id, a_uint32_t * hash_mode) { sw_error_t rv; rv = sw_uk_exec(SW_API_WCMP_HASH_MODE_GET, dev_id, (a_uint32_t) hash_mode); return rv; }
sw_error_t fal_nat_unk_session_cmd_get(a_uint32_t dev_id, fal_fwd_cmd_t * cmd) { sw_error_t rv; rv = sw_uk_exec(SW_API_NAT_UNK_SESSION_CMD_GET, dev_id, (a_uint32_t) cmd); return rv; }
sw_error_t fal_napt_mode_get(a_uint32_t dev_id, fal_napt_mode_t * mode) { sw_error_t rv; rv = sw_uk_exec(SW_API_NAPT_MODE_GET, dev_id, (a_uint32_t) mode); return rv; }
sw_error_t fal_napt_add(a_uint32_t dev_id, fal_napt_entry_t * napt_entry) { sw_error_t rv; rv = sw_uk_exec(SW_API_NAPT_ADD, dev_id, (a_uint32_t) napt_entry); return rv; }
sw_error_t fal_nat_prv_base_addr_set(a_uint32_t dev_id, fal_ip4_addr_t addr) { sw_error_t rv; rv = sw_uk_exec(SW_API_PRV_BASE_ADDR_SET, dev_id, (a_uint32_t) addr); return rv; }
sw_error_t fal_napt_get(a_uint32_t dev_id, a_uint32_t get_mode, fal_napt_entry_t * napt_entry) { sw_error_t rv; rv = sw_uk_exec(SW_API_NAPT_GET, dev_id, get_mode, (a_uint32_t) napt_entry); return rv; }
sw_error_t fal_nat_prv_base_mask_get(a_uint32_t dev_id, fal_ip4_addr_t * addr) { sw_error_t rv; rv = sw_uk_exec(SW_API_PRV_BASE_MASK_GET, dev_id, (a_uint32_t) addr); return rv; }
sw_error_t fal_napt_counter_bind(a_uint32_t dev_id, a_uint32_t entry_id, a_uint32_t cnt_id, a_bool_t enable) { sw_error_t rv; rv = sw_uk_exec(SW_API_NAPT_COUNTER_BIND, dev_id, entry_id, cnt_id, (a_uint32_t) enable); return rv; }
sw_error_t fal_nat_prv_addr_mode_get(a_uint32_t dev_id, a_bool_t * map_en) { sw_error_t rv; rv = sw_uk_exec(SW_API_PRV_ADDR_MODE_GET, dev_id, (a_uint32_t) map_en); return rv; }
sw_error_t fal_acl_port_udf_profile_get(a_uint32_t dev_id, fal_port_t port_id, fal_acl_udf_type_t udf_type, a_uint32_t * offset, a_uint32_t * length) { sw_error_t rv; rv = sw_uk_exec(SW_API_ACL_PT_UDF_PROFILE_GET, dev_id, port_id, udf_type, (a_uint32_t)offset, (a_uint32_t)length); return rv; }
sw_error_t fal_nat_pub_addr_add(a_uint32_t dev_id, fal_nat_pub_addr_t * entry) { sw_error_t rv; rv = sw_uk_exec(SW_API_PUB_ADDR_ENTRY_ADD, dev_id, (a_uint32_t) entry); return rv; }
sw_error_t fal_acl_status_set(a_uint32_t dev_id, a_bool_t enable) { sw_error_t rv; rv = sw_uk_exec(SW_API_ACL_STATUS_SET, dev_id, (a_uint32_t) enable); return rv; }
sw_error_t fal_nat_pub_addr_del(a_uint32_t dev_id, a_uint32_t del_mode, fal_nat_pub_addr_t * entry) { sw_error_t rv; rv = sw_uk_exec(SW_API_PUB_ADDR_ENTRY_DEL, dev_id, del_mode, (a_uint32_t) entry); return rv; }
sw_error_t fal_acl_list_dump(a_uint32_t dev_id) { sw_error_t rv; rv = sw_uk_exec(SW_API_ACL_LIST_DUMP, dev_id); return rv; }
sw_error_t fal_nat_pub_addr_next(a_uint32_t dev_id, a_uint32_t next_mode, fal_nat_pub_addr_t * entry) { sw_error_t rv; rv = sw_uk_exec(SW_API_PUB_ADDR_ENTRY_NEXT, dev_id, next_mode, (a_uint32_t) entry); return rv; }
sw_error_t fal_mib_port_flush_counters(a_uint32_t dev_id, fal_port_t port_id) { sw_error_t rv; rv = sw_uk_exec(SW_API_PT_MIB_FLUSH_COUNTERS, dev_id, port_id); return rv; }
sw_error_t fal_arp_unk_source_cmd_get(a_uint32_t dev_id, fal_fwd_cmd_t * cmd) { sw_error_t rv; rv = sw_uk_exec(SW_API_ARP_UNK_SOURCE_CMD_GET, dev_id, (a_uint32_t) cmd); return rv; }