예제 #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();
}