Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/block/drbd/
Ddrbd_receiver.c593 struct sockaddr_in6 src_in6; in drbd_try_connect() local
611 my_addr_len = min_t(int, connection->my_addr_len, sizeof(src_in6)); in drbd_try_connect()
612 memcpy(&src_in6, &connection->my_addr, my_addr_len); in drbd_try_connect()
615 src_in6.sin6_port = 0; in drbd_try_connect()
617 ((struct sockaddr_in *)&src_in6)->sin_port = 0; /* AF_INET & AF_SCI */ in drbd_try_connect()
619 peer_addr_len = min_t(int, connection->peer_addr_len, sizeof(src_in6)); in drbd_try_connect()
623 err = sock_create_kern(&init_net, ((struct sockaddr *)&src_in6)->sa_family, in drbd_try_connect()
642 err = sock->ops->bind(sock, (struct sockaddr *) &src_in6, my_addr_len); in drbd_try_connect()