Home
last modified time | relevance | path

Searched refs:PORT (Results 1 – 20 of 20) sorted by relevance

/tools/testing/selftests/net/
A Dreuseaddr_conflict.c19 #define PORT 9999 macro
33 .sin6_port = htons(PORT), in open_port()
38 .sin_port = htons(PORT), in open_port()
91 fprintf(stderr, "Opening 127.0.0.1:%d\n", PORT); in main()
95 fprintf(stderr, "Opening INADDR_ANY:%d\n", PORT); in main()
99 fprintf(stderr, "Opening in6addr_any:%d\n", PORT); in main()
103 fprintf(stderr, "Opening INADDR_ANY:%d\n", PORT); in main()
108 fprintf(stderr, "Opening INADDR_ANY:%d after closing ipv6 socket\n", PORT); in main()
A Dtoeplitz_client.sh15 echo "msg $i" | nc "${IPVER}" -u -w 0 "${ADDR}" "${PORT}"
17 echo "msg $i" | nc "${IPVER}" -w 0 "${ADDR}" "${PORT}"
26 PORT=$4
A Dtest_so_rcv.sh7 PORT=1234
41 ip netns exec $NS ./so_rcv_listener $arg $HOST $PORT &
46 if ! ip netns exec $NS ./cmsg_sender $arg $HOST $PORT; then
A Dtoeplitz.sh23 PORT=8000
174 -d "${PORT}" -i "${DEV}" -k "${KEY}" -T 1000 \
179 -d "${PORT}" -i "${DEV}" -k "${KEY}" -T 1000 \
183 -d "${PORT}" -i "${DEV}" -k "${KEY}" -T 1000 -s -v &
189 "${IP_FLAG}" "${SERVER_IP%%/*}" "${PORT}" &
A Dreuseport_addr_any.c27 static const int PORT = 8888; variable
46 addr4.sin_port = htons(PORT); in build_rcv_fd()
56 addr6.sin6_port = htons(PORT); in build_rcv_fd()
105 daddr4.sin_port = htons(PORT); in connect_and_send()
118 daddr6.sin6_port = htons(PORT); in connect_and_send()
A Dreuseport_bpf_cpu.c32 static const int PORT = 8888; variable
47 addr4->sin_port = htons(PORT); in build_rcv_group()
53 addr6->sin6_port = htons(PORT); in build_rcv_group()
112 daddr4->sin_port = htons(PORT); in send_from_cpu()
123 daddr6->sin6_port = htons(PORT); in send_from_cpu()
A Dreuseport_bpf_numa.c28 static const int PORT = 8888; variable
43 addr4->sin_port = htons(PORT); in build_rcv_group()
49 addr6->sin6_port = htons(PORT); in build_rcv_group()
124 daddr4->sin_port = htons(PORT); in send_from_node()
135 daddr6->sin6_port = htons(PORT); in send_from_node()
A Dreuseport_dualstack.c29 static const int PORT = 8888; variable
43 addr4->sin_port = htons(PORT); in build_rcv_fd()
49 addr6->sin6_port = htons(PORT); in build_rcv_fd()
84 daddr.sin_port = htons(PORT); in send_from_v4()
A Dcmsg_so_priority.sh14 PORT=1234
116 -p $proto $TGT $PORT
129 -p $proto $TGT $PORT
A Dtcp_fastopen_backup_key.c47 static const int PORT = 8891; variable
102 addr4.sin_port = htons(PORT); in build_rcv_fd()
109 addr6.sin6_port = htons(PORT); in build_rcv_fd()
160 daddr4.sin_port = htons(PORT); in connect_and_send()
173 daddr6.sin6_port = htons(PORT); in connect_and_send()
/tools/testing/selftests/net/netfilter/
A Dconntrack_reverse_clash.c27 #define PORT 56789 macro
70 sa1.sin_port = htons(PORT); in main()
71 sa2.sin_port = htons(PORT + 1); in main()
102 if (peer.sin_port != htons(PORT)) in main()
103 die_port(peer.sin_port, PORT); in main()
111 if (peer.sin_port != htons((PORT + 1))) in main()
112 die_port(peer.sin_port, PORT + 1); in main()
A Dconnect_close.c13 #define PORT 12345 macro
21 .port = PORT,
/tools/testing/selftests/bpf/prog_tests/
A Dassign_reuse.c14 #define PORT 4443 macro
186 run_assign_reuse(AF_INET, SOCK_STREAM, "127.0.0.1", PORT); in test_assign_reuse()
188 run_assign_reuse(AF_INET6, SOCK_STREAM, "::1", PORT); in test_assign_reuse()
190 run_assign_reuse(AF_INET, SOCK_DGRAM, "127.0.0.1", PORT); in test_assign_reuse()
192 run_assign_reuse(AF_INET6, SOCK_DGRAM, "::1", PORT); in test_assign_reuse()
/tools/testing/selftests/drivers/net/
A Dnetcons_fragmented_msg.sh103 wait_local_port_listen "${NAMESPACE}" "${PORT}" udp
118 wait_local_port_listen "${NAMESPACE}" "${PORT}" udp
A Dxdp.py23 PORT = 1 # Port configuration to communicate with the remote host variable in TestConfig
213 _set_xdp_map("map_xdp_setup", TestConfig.PORT.value, port)
260 _set_xdp_map("map_xdp_setup", TestConfig.PORT.value, port)
307 _set_xdp_map("map_xdp_setup", TestConfig.PORT.value, port)
412 _set_xdp_map("map_xdp_setup", TestConfig.PORT.value, port)
532 _set_xdp_map("map_xdp_setup", TestConfig.PORT.value, port)
A Dnetcons_cmdline.sh43 wait_local_port_listen "${NAMESPACE}" "${PORT}" udp
A Dnetcons_basic.sh56 wait_for_port "${NAMESPACE}" "${PORT}" "${IP_VERSION}"
A Dnetcons_sysdata.sh196 wait_local_port_listen "${NAMESPACE}" "${PORT}" udp
/tools/testing/selftests/drivers/net/lib/sh/
A Dlib_netcons.sh20 PORT="6666"
217 socat "${SOCAT_MODE}":"${PORT}",fork "${OUTPUT}"
348 local PORT=${2}
358 wait_local_port_listen "${NAMESPACE}" "${PORT}" "${PROTOCOL}"
/tools/testing/selftests/ntb/
A Dntb_test.sh139 PORT=$1
148 if [[ ${PORT} -eq $PEER_PORT ]]; then

Completed in 21 milliseconds