Home
last modified time | relevance | path

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

/net/ipv6/
Dip6_udp_tunnel.c18 struct sockaddr_in6 udp6_addr = {}; in udp_sock_create6() local
35 udp6_addr.sin6_family = AF_INET6; in udp_sock_create6()
36 memcpy(&udp6_addr.sin6_addr, &cfg->local_ip6, in udp_sock_create6()
37 sizeof(udp6_addr.sin6_addr)); in udp_sock_create6()
38 udp6_addr.sin6_port = cfg->local_udp_port; in udp_sock_create6()
39 err = kernel_bind(sock, (struct sockaddr *)&udp6_addr, in udp_sock_create6()
40 sizeof(udp6_addr)); in udp_sock_create6()
45 memset(&udp6_addr, 0, sizeof(udp6_addr)); in udp_sock_create6()
46 udp6_addr.sin6_family = AF_INET6; in udp_sock_create6()
47 memcpy(&udp6_addr.sin6_addr, &cfg->peer_ip6, in udp_sock_create6()
[all …]