Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/block/drbd/
Ddrbd_receiver.c592 struct sockaddr_in6 src_in6; in drbd_try_connect() local
610 my_addr_len = min_t(int, connection->my_addr_len, sizeof(src_in6)); in drbd_try_connect()
611 memcpy(&src_in6, &connection->my_addr, my_addr_len); in drbd_try_connect()
614 src_in6.sin6_port = 0; in drbd_try_connect()
616 ((struct sockaddr_in *)&src_in6)->sin_port = 0; /* AF_INET & AF_SCI */ in drbd_try_connect()
618 peer_addr_len = min_t(int, connection->peer_addr_len, sizeof(src_in6)); in drbd_try_connect()
622 err = sock_create_kern(&init_net, ((struct sockaddr *)&src_in6)->sa_family, in drbd_try_connect()
641 err = sock->ops->bind(sock, (struct sockaddr *) &src_in6, my_addr_len); in drbd_try_connect()