Home
last modified time | relevance | path

Searched refs:sock_type (Results 1 – 5 of 5) sorted by relevance

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dsock_iter_batch.c214 static int *connect_to_server(int family, int sock_type, const char *addr, in connect_to_server() argument
238 established_socks[i] = connect_to_addr_str(family, sock_type, in connect_to_server()
258 static void remove_seen(int family, int sock_type, const char *addr, __u16 port, in remove_seen() argument
289 static void remove_seen_established(int family, int sock_type, const char *addr, in remove_seen_established() argument
326 static void remove_unseen(int family, int sock_type, const char *addr, in remove_unseen() argument
359 static void remove_unseen_established(int family, int sock_type, in remove_unseen_established() argument
404 static void remove_all(int family, int sock_type, const char *addr, in remove_all() argument
433 static void remove_all_established(int family, int sock_type, const char *addr, in remove_all_established() argument
481 static void add_some(int family, int sock_type, const char *addr, __u16 port, in add_some() argument
496 new_socks = start_reuseport_server(family, sock_type, addr, port, 0, in add_some()
[all …]
/linux/include/net/phonet/
H A Dphonet.h99 int sock_type; member
/linux/net/phonet/
H A Ddatagram.c185 .sock_type = SOCK_DGRAM,
/linux/tools/net/ynl/lib/
H A Dynl.c741 int sock_type; in ynl_sock_create() local
754 sock_type = yf->is_classic ? yf->classic_id : NETLINK_GENERIC; in ynl_sock_create()
756 ys->socket = socket(AF_NETLINK, SOCK_RAW, sock_type); in ynl_sock_create()
/linux/tools/testing/selftests/net/ovpn/
H A Dovpn-cli.c474 int ret, s, sock_type; in ovpn_socket() local
478 sock_type = SOCK_DGRAM; in ovpn_socket()
480 sock_type = SOCK_STREAM; in ovpn_socket()
484 s = socket(family, sock_type, 0); in ovpn_socket()