Lines Matching refs:udp_conf
1457 struct udp_port_cfg udp_conf; in l2tp_tunnel_sock_create() local
1461 memset(&udp_conf, 0, sizeof(udp_conf)); in l2tp_tunnel_sock_create()
1465 udp_conf.family = AF_INET6; in l2tp_tunnel_sock_create()
1466 memcpy(&udp_conf.local_ip6, cfg->local_ip6, in l2tp_tunnel_sock_create()
1467 sizeof(udp_conf.local_ip6)); in l2tp_tunnel_sock_create()
1468 memcpy(&udp_conf.peer_ip6, cfg->peer_ip6, in l2tp_tunnel_sock_create()
1469 sizeof(udp_conf.peer_ip6)); in l2tp_tunnel_sock_create()
1470 udp_conf.use_udp6_tx_checksums = in l2tp_tunnel_sock_create()
1472 udp_conf.use_udp6_rx_checksums = in l2tp_tunnel_sock_create()
1477 udp_conf.family = AF_INET; in l2tp_tunnel_sock_create()
1478 udp_conf.local_ip = cfg->local_ip; in l2tp_tunnel_sock_create()
1479 udp_conf.peer_ip = cfg->peer_ip; in l2tp_tunnel_sock_create()
1480 udp_conf.use_udp_checksums = cfg->use_udp_checksums; in l2tp_tunnel_sock_create()
1483 udp_conf.local_udp_port = htons(cfg->local_udp_port); in l2tp_tunnel_sock_create()
1484 udp_conf.peer_udp_port = htons(cfg->peer_udp_port); in l2tp_tunnel_sock_create()
1486 err = udp_sock_create(net, &udp_conf, &sock); in l2tp_tunnel_sock_create()