Home
last modified time | relevance | path

Searched refs:sockaddr_storage (Results 1 – 25 of 156) sorted by relevance

1234567

/linux-6.1.9/include/rdma/
Diw_portmap.h34 struct sockaddr_storage loc_addr;
35 struct sockaddr_storage mapped_loc_addr;
36 struct sockaddr_storage rem_addr;
37 struct sockaddr_storage mapped_rem_addr;
47 int iwpm_remove_mapping(struct sockaddr_storage *local_addr, u8 nl_client);
55 int iwpm_get_remote_info(struct sockaddr_storage *mapped_loc_addr,
56 struct sockaddr_storage *mapped_rem_addr,
57 struct sockaddr_storage *remote_addr, u8 nl_client);
58 int iwpm_create_mapinfo(struct sockaddr_storage *local_addr,
59 struct sockaddr_storage *mapped_addr, u8 nl_client,
[all …]
Diw_cm.h26 struct sockaddr_storage local_addr;
27 struct sockaddr_storage remote_addr;
60 struct sockaddr_storage local_addr; /* local addr */
61 struct sockaddr_storage remote_addr;
62 struct sockaddr_storage m_local_addr; /* nmapped local addr */
63 struct sockaddr_storage m_remote_addr; /* nmapped rem addr */
/linux-6.1.9/drivers/infiniband/core/
Diwpm_util.h77 struct sockaddr_storage local_sockaddr;
78 struct sockaddr_storage mapped_sockaddr;
85 struct sockaddr_storage remote_sockaddr;
86 struct sockaddr_storage mapped_loc_sockaddr;
87 struct sockaddr_storage mapped_rem_sockaddr;
200 int iwpm_compare_sockaddr(struct sockaddr_storage *a_sockaddr,
201 struct sockaddr_storage *b_sockaddr);
252 void iwpm_print_sockaddr(struct sockaddr_storage *sockaddr, char *msg);
Diwpm_msg.c176 ret = ibnl_put_attr(skb, nlh, sizeof(struct sockaddr_storage), in iwpm_add_mapping()
262 ret = ibnl_put_attr(skb, nlh, sizeof(struct sockaddr_storage), in iwpm_add_and_query_mapping()
266 ret = ibnl_put_attr(skb, nlh, sizeof(struct sockaddr_storage), in iwpm_add_and_query_mapping()
314 int iwpm_remove_mapping(struct sockaddr_storage *local_addr, u8 nl_client) in iwpm_remove_mapping()
341 ret = ibnl_put_attr(skb, nlh, sizeof(struct sockaddr_storage), in iwpm_remove_mapping()
445 .len = sizeof(struct sockaddr_storage) },
447 .len = sizeof(struct sockaddr_storage) },
462 struct sockaddr_storage *local_sockaddr; in iwpm_add_mapping_cb()
463 struct sockaddr_storage *mapped_sockaddr; in iwpm_add_mapping_cb()
482 local_sockaddr = (struct sockaddr_storage *) in iwpm_add_mapping_cb()
[all …]
Diwpm_util.c96 static struct hlist_head *get_mapinfo_hash_bucket(struct sockaddr_storage *,
97 struct sockaddr_storage *);
107 int iwpm_create_mapinfo(struct sockaddr_storage *local_sockaddr, in iwpm_create_mapinfo()
108 struct sockaddr_storage *mapped_sockaddr, in iwpm_create_mapinfo()
121 sizeof(struct sockaddr_storage)); in iwpm_create_mapinfo()
123 sizeof(struct sockaddr_storage)); in iwpm_create_mapinfo()
153 int iwpm_remove_mapinfo(struct sockaddr_storage *local_sockaddr, in iwpm_remove_mapinfo()
154 struct sockaddr_storage *mapped_local_addr) in iwpm_remove_mapinfo()
234 static struct hlist_head *get_reminfo_hash_bucket(struct sockaddr_storage *,
235 struct sockaddr_storage *);
[all …]
/linux-6.1.9/tools/testing/selftests/bpf/
Dtest_sock_addr.c888 static int cmp_addr(const struct sockaddr_storage *addr1, in cmp_addr()
889 const struct sockaddr_storage *addr2, int cmp_port) in cmp_addr()
914 const struct sockaddr_storage *addr2, int cmp_port) in cmp_sock_addr()
916 struct sockaddr_storage addr1; in cmp_sock_addr()
926 static int cmp_local_ip(int sock1, const struct sockaddr_storage *addr2) in cmp_local_ip()
931 static int cmp_local_addr(int sock1, const struct sockaddr_storage *addr2) in cmp_local_addr()
936 static int cmp_peer_addr(int sock1, const struct sockaddr_storage *addr2) in cmp_peer_addr()
941 static int start_server(int type, const struct sockaddr_storage *addr, in start_server()
972 static int connect_to_server(int type, const struct sockaddr_storage *addr, in connect_to_server()
1034 static int sendmsg_to_server(int type, const struct sockaddr_storage *addr, in sendmsg_to_server()
[all …]
Dnetwork_helpers.c123 struct sockaddr_storage addr; in start_server_proto()
149 struct sockaddr_storage addr; in start_reuseport_server()
199 struct sockaddr_storage addr; in fastopen_connect()
234 const struct sockaddr_storage *addr, in connect_fd_to_addr()
264 struct sockaddr_storage addr; in connect_to_fd_opts()
325 struct sockaddr_storage addr; in connect_fd_to_fd()
343 struct sockaddr_storage *addr, socklen_t *len) in make_sockaddr()
/linux-6.1.9/drivers/target/iscsi/
Discsi_target_login.h10 struct sockaddr_storage;
16 struct sockaddr_storage *);
18 struct sockaddr_storage *);
Discsi_target.h15 struct sockaddr_storage;
26 extern bool iscsit_check_np_match(struct sockaddr_storage *,
28 extern struct iscsi_np *iscsit_add_np(struct sockaddr_storage *,
Discsi_target_tpg.h12 struct sockaddr_storage;
35 struct sockaddr_storage *, struct iscsi_tpg_np *,
/linux-6.1.9/fs/cifs/
Dcifs_swn.c81 struct sockaddr_storage *addr; in cifs_swn_send_register_message()
119 ret = nla_put(skb, CIFS_GENL_ATTR_SWN_IP, sizeof(struct sockaddr_storage), addr); in cifs_swn_send_register_message()
210 ret = nla_put(skb, CIFS_GENL_ATTR_SWN_IP, sizeof(struct sockaddr_storage), in cifs_swn_send_unregister_message()
412 static bool cifs_sockaddr_equal(struct sockaddr_storage *addr1, struct sockaddr_storage *addr2) in cifs_sockaddr_equal()
432 static int cifs_swn_store_swn_addr(const struct sockaddr_storage *new, in cifs_swn_store_swn_addr()
433 const struct sockaddr_storage *old, in cifs_swn_store_swn_addr()
434 struct sockaddr_storage *dst) in cifs_swn_store_swn_addr()
463 static int cifs_swn_reconnect(struct cifs_tcon *tcon, struct sockaddr_storage *addr) in cifs_swn_reconnect()
509 static int cifs_swn_client_move(struct cifs_swn_reg *swnreg, struct sockaddr_storage *addr) in cifs_swn_client_move()
571 struct sockaddr_storage addr; in cifs_swn_notify()
/linux-6.1.9/include/uapi/linux/
Dsctp.h399 struct sockaddr_storage spc_aaddr;
751 struct sockaddr_storage sspp_addr;
764 struct sockaddr_storage ssp_addr;
808 struct sockaddr_storage spp_address;
923 struct sockaddr_storage spinfo_address;
1043 struct sockaddr_storage sas_obs_rto_ipaddr;
1088 struct sockaddr_storage spt_address;
1096 struct sockaddr_storage spt_address;
1156 struct sockaddr_storage sctpi_p_address;
1204 struct sockaddr_storage sue_address;
[all …]
/linux-6.1.9/fs/dlm/
Dlowcomms.c145 struct sockaddr_storage *addr[DLM_MAX_ADDR_COUNT];
177 static struct sockaddr_storage *dlm_local_addr[DLM_MAX_ADDR_COUNT];
335 static int addr_compare(const struct sockaddr_storage *x, in addr_compare()
336 const struct sockaddr_storage *y) in addr_compare()
363 static int nodeid_to_addr(int nodeid, struct sockaddr_storage *sas_out, in nodeid_to_addr()
367 struct sockaddr_storage sas; in nodeid_to_addr()
377 sizeof(struct sockaddr_storage)); in nodeid_to_addr()
396 memcpy(sas_out, &sas, sizeof(struct sockaddr_storage)); in nodeid_to_addr()
414 static int addr_to_nodeid(struct sockaddr_storage *addr, int *nodeid, in addr_to_nodeid()
442 const struct sockaddr_storage *addr) in dlm_lowcomms_na_has_addr()
[all …]
/linux-6.1.9/io_uring/
Dnet.h24 struct sockaddr_storage addr;
28 struct sockaddr_storage address;
/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/
Dsk_lookup.c105 static socklen_t inetaddr_len(const struct sockaddr_storage *addr) in inetaddr_len()
112 struct sockaddr_storage *addr) in make_socket()
148 struct sockaddr_storage addr = {0}; in make_server()
224 struct sockaddr_storage addr = {0}; in make_client()
343 static void v4_to_v6(struct sockaddr_storage *ss) in v4_to_v6()
358 char cmsg_buf[CMSG_SPACE(sizeof(struct sockaddr_storage))]; in udp_recv_send()
359 struct sockaddr_storage _src_addr = { 0 }; in udp_recv_send()
360 struct sockaddr_storage *src_addr = &_src_addr; in udp_recv_send()
361 struct sockaddr_storage *dst_addr = NULL; in udp_recv_send()
393 dst_addr = (struct sockaddr_storage *)CMSG_DATA(cm); in udp_recv_send()
[all …]
Dsockmap_listen.c232 static void init_addr_loopback4(struct sockaddr_storage *ss, socklen_t *len) in init_addr_loopback4()
242 static void init_addr_loopback6(struct sockaddr_storage *ss, socklen_t *len) in init_addr_loopback6()
252 static void init_addr_loopback(int family, struct sockaddr_storage *ss, in init_addr_loopback()
267 static inline struct sockaddr *sockaddr(struct sockaddr_storage *ss) in sockaddr()
289 struct sockaddr_storage addr; in socket_loopback_reuseport()
364 struct sockaddr_storage addr; in test_insert_bound()
556 struct sockaddr_storage addr; in test_destroy_orphan_child()
590 struct sockaddr_storage addr; in test_clone_after_delete()
626 struct sockaddr_storage addr; in test_accept_after_delete()
680 struct sockaddr_storage addr; in test_accept_before_delete()
[all …]
/linux-6.1.9/drivers/infiniband/ulp/rtrs/
Drtrs.h39 struct sockaddr_storage *src;
40 struct sockaddr_storage *dst;
/linux-6.1.9/drivers/infiniband/hw/erdma/
Derdma_cm.h142 static inline int getname_peer(struct socket *s, struct sockaddr_storage *a) in getname_peer()
147 static inline int getname_local(struct socket *s, struct sockaddr_storage *a) in getname_local()
/linux-6.1.9/drivers/infiniband/sw/siw/
Dsiw_cm.h95 static inline int getname_peer(struct socket *s, struct sockaddr_storage *a) in getname_peer()
100 static inline int getname_local(struct socket *s, struct sockaddr_storage *a) in getname_local()
/linux-6.1.9/fs/nfs/
Dinternal.h72 const struct sockaddr_storage *addr; /* Address of the server */
115 struct sockaddr_storage _address;
127 struct sockaddr_storage _address;
183 struct sockaddr_storage *sap;
226 struct sockaddr_storage *sap, size_t salen,
238 const struct sockaddr_storage *ds_addr,
246 const struct sockaddr_storage *ds_addr, int ds_addrlen,
895 static inline void nfs_set_port(struct sockaddr_storage *sap, int *port, in nfs_set_port()
/linux-6.1.9/fs/nfsd/
Dfault_inject.c24 u64 (*set_clnt)(struct sockaddr_storage *, size_t);
51 struct sockaddr_storage sa; in fault_inject_write()
/linux-6.1.9/include/target/iscsi/
Discsi_transport.h4 struct sockaddr_storage;
14 int (*iscsit_setup_np)(struct iscsi_np *, struct sockaddr_storage *);
/linux-6.1.9/drivers/target/iscsi/cxgbit/
Dcxgbit.h170 struct sockaddr_storage local_addr;
171 struct sockaddr_storage remote_addr;
317 int cxgbit_setup_np(struct iscsi_np *, struct sockaddr_storage *);
/linux-6.1.9/include/linux/sunrpc/
Dsvc.h246 struct sockaddr_storage rq_addr; /* peer address */
248 struct sockaddr_storage rq_daddr; /* dest addr of request
393 struct sockaddr_storage addr; /* where reply must go */
395 struct sockaddr_storage daddr; /* where reply must come from */
/linux-6.1.9/include/linux/lockd/
Dlockd.h45 struct sockaddr_storage h_addr; /* peer address */
47 struct sockaddr_storage h_srcaddr; /* our address (optional) */
91 struct sockaddr_storage sm_addr;

1234567