Home
last modified time | relevance | path

Searched refs:reuseaddr (Results 1 – 13 of 13) sorted by relevance

/linux-6.12.1/tools/testing/selftests/net/
Dreuseaddr_ports_exhausted.c28 int reuseaddr[2]; member
54 int bind_port(struct __test_metadata *_metadata, int reuseaddr, int reuseport) in bind_port() argument
63 ret = setsockopt(fd, SOL_SOCKET, SO_REUSEADDR, &reuseaddr, sizeof(int)); in bind_port()
90 fd[j] = bind_port(_metadata, opts->reuseaddr[j], opts->reuseport[j]); in TEST()
110 fd[j] = bind_port(_metadata, opts->reuseaddr[j], opts->reuseport[j]); in TEST()
139 fd[j] = bind_port(_metadata, opts->reuseaddr[j], opts->reuseport[j]); in TEST()
Dreuseaddr_conflict.c24 int reuseaddr = 1; in open_port() local
62 if (setsockopt(fd, SOL_SOCKET, SO_REUSEADDR, &reuseaddr, in open_port()
63 sizeof(reuseaddr)) < 0) { in open_port()
Dgre_gso.sh119 $NS_EXEC socat - tcp${proto}-listen:$port,reuseaddr,fork >/dev/null &
Dbind_wildcard.c793 TEST_F(bind_wildcard, reuseaddr) in TEST_F() argument
Dpmtu.sh1433 ${ns_b} socat -T 3 -u -6 TCP-LISTEN:50000,reuseaddr STDOUT > $tmpoutfile &
/linux-6.12.1/tools/testing/selftests/net/netfilter/
Dnft_conntrack_helper.sh117 ip netns exec "$ns2" socat -t 3 -u -4 TCP-LISTEN:"$port",reuseaddr STDOUT > /dev/null &
132 ip netns exec "$ns2" socat -t 3 -u -6 TCP-LISTEN:"$port",reuseaddr STDOUT > /dev/null &
Dconntrack_tcp_unreplied.sh83 ip netns exec "$ns2" socat -u -4 TCP-LISTEN:8080,reuseaddr STDOUT &
Dconntrack_ipip_mtu.sh49 ip netns exec "$c_b" socat -t 3 - udp4-listen:5000,reuseaddr > "$rx" < /dev/null &
Dconntrack_vrf.sh90 ip netns exec "$ns1" socat -u -4 TCP-LISTEN:55555,reuseaddr,fork STDOUT > /dev/null &
Dipvs.sh100 ip netns exec "$ns2" timeout 5 socat -u -4 TCP-LISTEN:8080,reuseaddr STDOUT > "${outfile}" &
Dnft_flowtable.sh349 …timeout "$SOCAT_TIMEOUT" ip netns exec "$nsb" socat -4 TCP-LISTEN:12345,reuseaddr STDIO < "$nsin" …
/linux-6.12.1/drivers/infiniband/core/
Dcma_priv.h98 u8 reuseaddr; member
Dcma.c3586 id_priv->reuseaddr = reuse; in rdma_set_reuseaddr()
3767 struct rdma_id_private *id_priv, uint8_t reuseaddr) in cma_check_port() argument
3779 if (reuseaddr && cur_id->reuseaddr) in cma_check_port()
3813 ret = cma_check_port(bind_list, id_priv, id_priv->reuseaddr); in cma_use_port()
3936 if (id_priv->reuseaddr) { in rdma_listen()
3940 id_priv->reuseaddr = 0; in rdma_listen()