• Home
  • Raw
  • Download

Lines Matching refs:addr

145 	struct sockaddr_storage *addr[DLM_MAX_ADDR_COUNT];  member
154 struct sockaddr *addr, int addr_len);
376 memcpy(&sas, na->addr[na->curr_addr_index], in nodeid_to_addr()
414 static int addr_to_nodeid(struct sockaddr_storage *addr, int *nodeid, in addr_to_nodeid() argument
427 if (addr_compare(na->addr[addr_i], addr)) { in addr_to_nodeid()
442 const struct sockaddr_storage *addr) in dlm_lowcomms_na_has_addr() argument
447 if (addr_compare(na->addr[i], addr)) in dlm_lowcomms_na_has_addr()
454 int dlm_lowcomms_addr(int nodeid, struct sockaddr_storage *addr, int len) in dlm_lowcomms_addr() argument
470 memcpy(new_addr, addr, len); in dlm_lowcomms_addr()
476 new_node->addr[0] = new_addr; in dlm_lowcomms_addr()
484 ret = dlm_lowcomms_na_has_addr(na, addr); in dlm_lowcomms_addr()
499 na->addr[na->addr_count++] = new_addr; in dlm_lowcomms_addr()
1166 struct sockaddr *addr = (struct sockaddr *)&localaddr; in sctp_bind_addrs() local
1174 result = kernel_bind(sock, addr, addr_len); in sctp_bind_addrs()
1176 result = sock_bind_add(sock->sk, addr, addr_len); in sctp_bind_addrs()
1516 kfree(na->addr[na->addr_count]); in dlm_lowcomms_close()
1544 struct sockaddr_storage addr; in dlm_connect() local
1558 memset(&addr, 0, sizeof(addr)); in dlm_connect()
1559 result = nodeid_to_addr(con->nodeid, &addr, NULL, in dlm_connect()
1582 make_sockaddr(&addr, dlm_config.ci_tcp_port, &addr_len); in dlm_connect()
1583 result = dlm_proto_ops->connect(con, sock, (struct sockaddr *)&addr, in dlm_connect()
1847 struct sockaddr *addr, int addr_len) in dlm_tcp_connect() argument
1851 ret = kernel_connect(sock, addr, addr_len, O_NONBLOCK); in dlm_tcp_connect()
1914 struct sockaddr *addr, int addr_len) in dlm_sctp_connect() argument
1924 ret = kernel_connect(sock, addr, addr_len, 0); in dlm_sctp_connect()
2035 kfree(na->addr[na->addr_count]); in dlm_lowcomms_exit()