Lines Matching refs:ip6_addr
1331 struct sockaddr_l2tpip6 ip6_addr = {0}; in l2tp_tunnel_sock_create() local
1338 ip6_addr.l2tp_family = AF_INET6; in l2tp_tunnel_sock_create()
1339 memcpy(&ip6_addr.l2tp_addr, cfg->local_ip6, in l2tp_tunnel_sock_create()
1340 sizeof(ip6_addr.l2tp_addr)); in l2tp_tunnel_sock_create()
1341 ip6_addr.l2tp_conn_id = tunnel_id; in l2tp_tunnel_sock_create()
1342 err = kernel_bind(sock, (struct sockaddr *)&ip6_addr, in l2tp_tunnel_sock_create()
1343 sizeof(ip6_addr)); in l2tp_tunnel_sock_create()
1347 ip6_addr.l2tp_family = AF_INET6; in l2tp_tunnel_sock_create()
1348 memcpy(&ip6_addr.l2tp_addr, cfg->peer_ip6, in l2tp_tunnel_sock_create()
1349 sizeof(ip6_addr.l2tp_addr)); in l2tp_tunnel_sock_create()
1350 ip6_addr.l2tp_conn_id = peer_tunnel_id; in l2tp_tunnel_sock_create()
1352 (struct sockaddr *)&ip6_addr, in l2tp_tunnel_sock_create()
1353 sizeof(ip6_addr), 0); in l2tp_tunnel_sock_create()