Home
last modified time | relevance | path

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

/net/l2tp/
Dl2tp_core.c1424 struct sockaddr_l2tpip6 ip6_addr = {0}; in l2tp_tunnel_sock_create() local
1497 ip6_addr.l2tp_family = AF_INET6; in l2tp_tunnel_sock_create()
1498 memcpy(&ip6_addr.l2tp_addr, cfg->local_ip6, in l2tp_tunnel_sock_create()
1499 sizeof(ip6_addr.l2tp_addr)); in l2tp_tunnel_sock_create()
1500 ip6_addr.l2tp_conn_id = tunnel_id; in l2tp_tunnel_sock_create()
1501 err = kernel_bind(sock, (struct sockaddr *) &ip6_addr, in l2tp_tunnel_sock_create()
1502 sizeof(ip6_addr)); in l2tp_tunnel_sock_create()
1506 ip6_addr.l2tp_family = AF_INET6; in l2tp_tunnel_sock_create()
1507 memcpy(&ip6_addr.l2tp_addr, cfg->peer_ip6, in l2tp_tunnel_sock_create()
1508 sizeof(ip6_addr.l2tp_addr)); in l2tp_tunnel_sock_create()
[all …]