/dports/net/packter-agent/PackterAgent-2.5/src/ |
H A D | pt_netflowd.c | 51 int bind_sock; in pt_netflowd() local 58 if ((bind_sock = socket(PF_INET, SOCK_DGRAM, 0)) < 0){ in pt_netflowd() 76 if (bind(bind_sock, (struct sockaddr *)&netflow_server, sizeof(netflow_server)) < 0){ in pt_netflowd() 86 if ((len = (int)recvfrom(bind_sock, (void *)buf, PACKTER_BUFSIZ_LONG, 0, in pt_netflowd()
|
H A D | pt_sflowd.c | 53 int bind_sock; in pt_sflowd() local 60 if ((bind_sock = socket(PF_INET, SOCK_DGRAM, 0)) < 0){ in pt_sflowd() 78 if (bind(bind_sock, (struct sockaddr *)&sflow_server, sizeof(sflow_server)) < 0){ in pt_sflowd() 88 if ((len = (int)recvfrom(bind_sock, (void *)buf, PACKTER_BUFSIZ, 0, in pt_sflowd()
|
H A D | pt_netflow_agent.c | 83 int bind_sock; in main() local
|
H A D | pt_sflow_agent.c | 76 int bind_sock; in main() local
|
/dports/net/libzmq4/zeromq-4.3.4/tests/ |
H A D | test_radio_dish.cpp | 310 fd_t bind_sock = retired_fd; in is_multicast_available() local 365 bind_sock = socket (family, SOCK_DGRAM, IPPROTO_UDP); in is_multicast_available() 366 if (bind_sock < 0) { in is_multicast_available() 371 if (bind_sock < 0) { in is_multicast_available() 375 rc = bind (bind_sock, &any.generic, sl); in is_multicast_available() 387 rc = setsockopt (bind_sock, IPPROTO_IPV6, IPV6_ADD_MEMBERSHIP, in is_multicast_available() 406 rc = setsockopt (bind_sock, IPPROTO_IP, IP_ADD_MEMBERSHIP, in is_multicast_available() 430 rc = recvfrom (bind_sock, buf, sizeof (buf) - 1, 0, NULL, 0); in is_multicast_available() 440 if (bind_sock >= 0) { in is_multicast_available() 441 close (bind_sock); in is_multicast_available()
|
/dports/benchmarks/fio/fio-3.29/ |
H A D | server.c | 52 static char *bind_sock; variable 2217 len = sizeof(addr.sun_family) + strlen(bind_sock) + 1; in fio_init_server_sock() 2236 if (!bind_sock) in fio_init_server_connection() 2246 if (!bind_sock) { in fio_init_server_connection() 2434 if (!is_sock && bind_sock) { in fio_handle_server_arg() 2435 free(bind_sock); in fio_handle_server_arg() 2436 bind_sock = NULL; in fio_handle_server_arg() 2448 if (bind_sock) in sig_int() 2449 unlink(bind_sock); in sig_int() 2506 if (bind_sock) in fio_server() [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/tools/testing/selftests/bpf/ |
H A D | test_sock.c | 355 static int bind_sock(int domain, int type, const char *ip, unsigned short port) in bind_sock() function 420 if (bind_sock(test->domain, test->type, test->ip, test->port) == -1) { in run_test_case()
|
/dports/multimedia/libv4l/linux-5.13-rc2/tools/testing/selftests/bpf/ |
H A D | test_sock.c | 355 static int bind_sock(int domain, int type, const char *ip, unsigned short port) in bind_sock() function 420 if (bind_sock(test->domain, test->type, test->ip, test->port) == -1) { in run_test_case()
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/tools/testing/selftests/bpf/ |
H A D | test_sock.c | 355 static int bind_sock(int domain, int type, const char *ip, unsigned short port) in bind_sock() function 420 if (bind_sock(test->domain, test->type, test->ip, test->port) == -1) { in run_test_case()
|
/dports/net/srelay/srelay-0.4.8p3/ |
H A D | socks.c | 108 int bind_sock __P((int, SOCKS_STATE *, struct addrinfo *)); 443 if (bind_sock(acs, state, &ba) != 0) { in socks_direct_conn() 1290 int bind_sock(int s, SOCKS_STATE *state, struct addrinfo *ai) in bind_sock() function
|