Searched refs:make_sockaddr (Results 1 – 9 of 9) sorted by relevance
/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | xdp_features.c | 153 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 D | network_helpers.c | 126 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 D | network_helpers.h | 62 int make_sockaddr(int family, const char *addr_str, __u16 port,
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | ip_check_defrag.c | 110 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 D | decap_sanity.c | 53 err = make_sockaddr(AF_INET6, IPV6_IFACE_ADDR, UDP_TEST_PORT, in test_decap_sanity()
|
H A D | vrf_socket_lookup.c | 67 err = make_sockaddr(AF_INET, ip, port, addr, NULL); in make_socket()
|
H A D | migrate_reuseport.c | 223 make_sockaddr(test_case->family, in start_servers()
|
H A D | sk_lookup.c | 117 err = make_sockaddr(family, ip, port, addr, NULL); in make_socket()
|
/openbmc/linux/fs/dlm/ |
H A D | lowcomms.c | 661 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()
|