Home
last modified time | relevance | path

Searched refs:make_sockaddr (Results 1 – 9 of 9) sorted by relevance

/openbmc/linux/tools/testing/selftests/bpf/
H A Dxdp_features.c153 if (make_sockaddr(AF_INET6, arg, DUT_ECHO_PORT, in parse_arg()
162 if (make_sockaddr(AF_INET6, arg, DUT_CTRL_PORT, in parse_arg()
171 if (make_sockaddr(AF_INET6, arg, 0, &env.tester_addr, NULL)) { in parse_arg()
216 make_sockaddr(AF_INET6, "::ffff:127.0.0.1", DUT_CTRL_PORT, in set_env_default()
218 make_sockaddr(AF_INET6, "::ffff:127.0.0.1", DUT_ECHO_PORT, in set_env_default()
220 make_sockaddr(AF_INET6, "::ffff:127.0.0.1", 0, &env.tester_addr, NULL); in set_env_default()
H A Dnetwork_helpers.c126 if (make_sockaddr(family, addr_str, port, &addr, &addrlen)) in start_server_proto()
157 if (make_sockaddr(family, addr_str, port, &addr, &addrlen)) in start_reuseport_server()
352 int make_sockaddr(int family, const char *addr_str, __u16 port, in make_sockaddr() function
H A Dnetwork_helpers.h62 int make_sockaddr(int family, const char *addr_str, __u16 port,
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dip_check_defrag.c110 err = make_sockaddr(AF_INET, VETH1_ADDR, SERVER_PORT, &saddr, &saddr_len); in send_frags()
138 err = make_sockaddr(AF_INET6, VETH1_ADDR6, 0, &saddr, &saddr_len); in send_frags6()
H A Ddecap_sanity.c53 err = make_sockaddr(AF_INET6, IPV6_IFACE_ADDR, UDP_TEST_PORT, in test_decap_sanity()
H A Dvrf_socket_lookup.c67 err = make_sockaddr(AF_INET, ip, port, addr, NULL); in make_socket()
H A Dmigrate_reuseport.c223 make_sockaddr(test_case->family, in start_servers()
H A Dsk_lookup.c117 err = make_sockaddr(family, ip, port, addr, NULL); in make_socket()
/openbmc/linux/fs/dlm/
H A Dlowcomms.c661 static void make_sockaddr(struct sockaddr_storage *saddr, uint16_t port, in make_sockaddr() function
999 make_sockaddr(&peeraddr, 0, &len); in accept_from_sock()
1128 make_sockaddr(&localaddr, port, &addr_len); in sctp_bind_addrs()
1581 make_sockaddr(&addr, dlm_config.ci_tcp_port, &addr_len); in dlm_connect()
1806 make_sockaddr(&src_addr, 0, &addr_len); in dlm_tcp_bind()
1852 make_sockaddr(&dlm_local_addr[0], dlm_config.ci_tcp_port, &addr_len); in dlm_tcp_listen_bind()