void eth_fini(void) { assert(LIST_EMPTY(ð_subprotos)); mux_proto_dtor(&mux_proto_eth); mutex_dtor(ð_subprotos_mutex); ext_param_collapse_vlans_fini(); log_category_proto_eth_fini(); }
void cap_fini(void) { # ifdef DELETE_ALL_AT_EXIT mux_proto_dtor(&mux_proto_cap); # endif ext_param_collapse_ifaces_fini(); log_category_proto_capture_fini(); }
void tcp_fini(void) { port_muxer_list_dtor(&tcp_port_muxers); ip_subproto_dtor(&ip_subproto); ip6_subproto_dtor(&ip6_subproto); mux_proto_dtor(&mux_proto_tcp); pkt_wl_config_dtor(&tcp_wl_config); log_category_proto_tcp_fini(); mutex_pool_dtor(&tcp_locks); }
void eth_fini(void) { # ifdef DELETE_ALL_AT_EXIT assert(LIST_EMPTY(ð_subprotos)); mux_proto_dtor(&mux_proto_eth); mutex_dtor(ð_subprotos_mutex); # endif ext_param_collapse_vlans_fini(); log_category_proto_eth_fini(); }
void udp_fini(void) { # ifdef DELETE_ALL_AT_EXIT port_muxer_list_dtor(&udp_port_muxers); ip_subproto_dtor(&ip_subproto); ip6_subproto_dtor(&ip6_subproto); mux_proto_dtor(&mux_proto_udp); # endif log_category_proto_udp_fini(); }
void tcp_fini(void) { # ifdef DELETE_ALL_AT_EXIT port_muxer_list_dtor(&tcp_port_muxers); ip_subproto_dtor(&ip_subproto); ip6_subproto_dtor(&ip6_subproto); mux_proto_dtor(&mux_proto_tcp); pkt_wl_config_dtor(&tcp_wl_config); mutex_pool_dtor(&tcp_locks); # endif log_category_proto_tcp_fini(); }