Home
last modified time | relevance | path

Searched refs:safe_socket (Results 1 – 6 of 6) sorted by relevance

/third_party/ltp/include/old/
Dold_safe_net.h31 safe_socket(__FILE__, __LINE__, (cleanup_fn), domain, type, protocol)
/third_party/ltp/include/
Dsafe_net_fn.h28 int safe_socket(const char *file, const int lineno, void (cleanup_fn)(void),
Dtst_safe_net.h18 safe_socket(__FILE__, __LINE__, NULL, domain, type, protocol)
/third_party/ltp/lib/
Dtst_netdevice.c52 sock = safe_socket(file, lineno, NULL, AF_INET, SOCK_DGRAM, 0); in tst_netdev_index_by_name()
76 sock = safe_socket(file, lineno, NULL, AF_INET, SOCK_DGRAM, 0); in tst_netdev_set_state()
Dsafe_net.c108 int safe_socket(const char *file, const int lineno, void (cleanup_fn)(void), in safe_socket() function
507 sock = safe_socket(file, lineno, cleanup_fn, addr->sa_family, type, 0); in tst_get_unused_port()
Dtst_rtnetlink.c80 ctx->socket = safe_socket(file, lineno, NULL, AF_NETLINK, in tst_rtnl_create_context()