Lines Matching refs:addr_len
164 struct sockaddr *addr, int addr_len);
662 int *addr_len) in make_sockaddr() argument
668 *addr_len = sizeof(struct sockaddr_in); in make_sockaddr()
673 *addr_len = sizeof(struct sockaddr_in6); in make_sockaddr()
675 memset((char *)saddr + *addr_len, 0, sizeof(struct sockaddr_storage) - *addr_len); in make_sockaddr()
1124 int i, addr_len, result = 0; in sctp_bind_addrs() local
1128 make_sockaddr(&localaddr, port, &addr_len); in sctp_bind_addrs()
1131 result = kernel_bind(sock, addr, addr_len); in sctp_bind_addrs()
1133 result = sock_bind_add(sock->sk, addr, addr_len); in sctp_bind_addrs()
1551 int result, addr_len; in dlm_connect() local
1581 make_sockaddr(&addr, dlm_config.ci_tcp_port, &addr_len); in dlm_connect()
1583 addr_len); in dlm_connect()
1800 int result, addr_len; in dlm_tcp_bind() local
1806 make_sockaddr(&src_addr, 0, &addr_len); in dlm_tcp_bind()
1809 addr_len); in dlm_tcp_bind()
1819 struct sockaddr *addr, int addr_len) in dlm_tcp_connect() argument
1821 return kernel_connect(sock, addr, addr_len, O_NONBLOCK); in dlm_tcp_connect()
1849 int addr_len; in dlm_tcp_listen_bind() local
1852 make_sockaddr(&dlm_local_addr[0], dlm_config.ci_tcp_port, &addr_len); in dlm_tcp_listen_bind()
1854 addr_len); in dlm_tcp_listen_bind()
1874 struct sockaddr *addr, int addr_len) in dlm_sctp_connect() argument
1884 ret = kernel_connect(sock, addr, addr_len, 0); in dlm_sctp_connect()