Lines Matching refs:sockaddr_storage
145 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()
454 int dlm_lowcomms_addr(int nodeid, struct sockaddr_storage *addr, int len) in dlm_lowcomms_addr()
456 struct sockaddr_storage *new_addr; in dlm_lowcomms_addr()
464 new_addr = kzalloc(sizeof(struct sockaddr_storage), GFP_NOFS); in dlm_lowcomms_addr()
727 static void make_sockaddr(struct sockaddr_storage *saddr, uint16_t port, in make_sockaddr()
741 memset((char *)saddr + *addr_len, 0, sizeof(struct sockaddr_storage) - *addr_len); in make_sockaddr()
1005 struct sockaddr_storage peeraddr; in accept_from_sock()
1165 struct sockaddr_storage localaddr; in sctp_bind_addrs()
1190 struct sockaddr_storage sas, *addr; in init_local()
1555 struct sockaddr_storage addr; in dlm_connect()
1839 struct sockaddr_storage src_addr; in dlm_tcp_bind()