示例#1
0
文件: eth.c 项目: bsmr-c-cpp/junkie
void eth_fini(void)
{
    assert(LIST_EMPTY(&eth_subprotos));
    mux_proto_dtor(&mux_proto_eth);
    mutex_dtor(&eth_subprotos_mutex);
    ext_param_collapse_vlans_fini();
    log_category_proto_eth_fini();
}
示例#2
0
文件: cap.c 项目: bonnefoa/junkie
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();
}
示例#3
0
文件: tcp.c 项目: Mybrc91/junkie
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);
}
示例#4
0
void eth_fini(void)
{
#   ifdef DELETE_ALL_AT_EXIT
    assert(LIST_EMPTY(&eth_subprotos));
    mux_proto_dtor(&mux_proto_eth);
    mutex_dtor(&eth_subprotos_mutex);
#   endif
    ext_param_collapse_vlans_fini();
    log_category_proto_eth_fini();
}
示例#5
0
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();
}
示例#6
0
文件: tcp.c 项目: k8king/junkie
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();
}