Searched refs:safe_socket (Results 1 – 6 of 6) sorted by relevance
/third_party/ltp/include/old/ |
D | old_safe_net.h | 31 safe_socket(__FILE__, __LINE__, (cleanup_fn), domain, type, protocol)
|
/third_party/ltp/include/ |
D | safe_net_fn.h | 28 int safe_socket(const char *file, const int lineno, void (cleanup_fn)(void),
|
D | tst_safe_net.h | 18 safe_socket(__FILE__, __LINE__, NULL, domain, type, protocol)
|
/third_party/ltp/lib/ |
D | tst_netdevice.c | 52 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()
|
D | safe_net.c | 108 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()
|
D | tst_rtnetlink.c | 80 ctx->socket = safe_socket(file, lineno, NULL, AF_NETLINK, in tst_rtnl_create_context()
|