Lines Matching refs:addr_len
152 struct sockaddr *addr, int addr_len);
714 int *addr_len) in make_sockaddr() argument
720 *addr_len = sizeof(struct sockaddr_in); in make_sockaddr()
725 *addr_len = sizeof(struct sockaddr_in6); in make_sockaddr()
727 memset((char *)saddr + *addr_len, 0, sizeof(struct sockaddr_storage) - *addr_len); in make_sockaddr()
1134 int i, addr_len, result = 0; in sctp_bind_addrs() local
1138 make_sockaddr(&localaddr, port, &addr_len); in sctp_bind_addrs()
1141 result = kernel_bind(sock, addr, addr_len); in sctp_bind_addrs()
1143 result = sock_bind_add(sock->sk, addr, addr_len); in sctp_bind_addrs()
1533 int result, addr_len; in dlm_connect() local
1570 make_sockaddr(&addr, dlm_config.ci_tcp_port, &addr_len); in dlm_connect()
1572 addr_len); in dlm_connect()
1817 int result, addr_len; in dlm_tcp_bind() local
1823 make_sockaddr(&src_addr, 0, &addr_len); in dlm_tcp_bind()
1826 addr_len); in dlm_tcp_bind()
1836 struct sockaddr *addr, int addr_len) in dlm_tcp_connect() argument
1840 ret = sock->ops->connect(sock, addr, addr_len, O_NONBLOCK); in dlm_tcp_connect()
1876 int addr_len; in dlm_tcp_listen_bind() local
1879 make_sockaddr(dlm_local_addr[0], dlm_config.ci_tcp_port, &addr_len); in dlm_tcp_listen_bind()
1881 addr_len); in dlm_tcp_listen_bind()
1903 struct sockaddr *addr, int addr_len) in dlm_sctp_connect() argument
1913 ret = sock->ops->connect(sock, addr, addr_len, 0); in dlm_sctp_connect()