Home
last modified time | relevance | path

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

/linux-5.19.10/net/ipv6/
Dip6_udp_tunnel.c19 struct sockaddr_in6 udp6_addr = {}; in udp_sock_create6() local
38 udp6_addr.sin6_family = AF_INET6; in udp_sock_create6()
39 memcpy(&udp6_addr.sin6_addr, &cfg->local_ip6, in udp_sock_create6()
40 sizeof(udp6_addr.sin6_addr)); in udp_sock_create6()
41 udp6_addr.sin6_port = cfg->local_udp_port; in udp_sock_create6()
42 err = kernel_bind(sock, (struct sockaddr *)&udp6_addr, in udp_sock_create6()
43 sizeof(udp6_addr)); in udp_sock_create6()
48 memset(&udp6_addr, 0, sizeof(udp6_addr)); in udp_sock_create6()
49 udp6_addr.sin6_family = AF_INET6; in udp_sock_create6()
50 memcpy(&udp6_addr.sin6_addr, &cfg->peer_ip6, in udp_sock_create6()
[all …]