Searched refs:src_in6 (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/block/drbd/
H A Ddrbd_receiver.c571 struct sockaddr_in6 src_in6; drbd_try_connect() local
589 my_addr_len = min_t(int, connection->my_addr_len, sizeof(src_in6)); drbd_try_connect()
590 memcpy(&src_in6, &connection->my_addr, my_addr_len); drbd_try_connect()
593 src_in6.sin6_port = 0; drbd_try_connect()
595 ((struct sockaddr_in *)&src_in6)->sin_port = 0; /* AF_INET & AF_SCI */ drbd_try_connect()
597 peer_addr_len = min_t(int, connection->peer_addr_len, sizeof(src_in6)); drbd_try_connect()
601 err = sock_create_kern(((struct sockaddr *)&src_in6)->sa_family, drbd_try_connect()
620 err = sock->ops->bind(sock, (struct sockaddr *) &src_in6, my_addr_len); drbd_try_connect()

Completed in 75 milliseconds