Lines Matching refs:udp_conf
1294 struct udp_port_cfg udp_conf; in l2tp_tunnel_sock_create() local
1298 memset(&udp_conf, 0, sizeof(udp_conf)); in l2tp_tunnel_sock_create()
1302 udp_conf.family = AF_INET6; in l2tp_tunnel_sock_create()
1303 memcpy(&udp_conf.local_ip6, cfg->local_ip6, in l2tp_tunnel_sock_create()
1304 sizeof(udp_conf.local_ip6)); in l2tp_tunnel_sock_create()
1305 memcpy(&udp_conf.peer_ip6, cfg->peer_ip6, in l2tp_tunnel_sock_create()
1306 sizeof(udp_conf.peer_ip6)); in l2tp_tunnel_sock_create()
1307 udp_conf.use_udp6_tx_checksums = in l2tp_tunnel_sock_create()
1309 udp_conf.use_udp6_rx_checksums = in l2tp_tunnel_sock_create()
1314 udp_conf.family = AF_INET; in l2tp_tunnel_sock_create()
1315 udp_conf.local_ip = cfg->local_ip; in l2tp_tunnel_sock_create()
1316 udp_conf.peer_ip = cfg->peer_ip; in l2tp_tunnel_sock_create()
1317 udp_conf.use_udp_checksums = cfg->use_udp_checksums; in l2tp_tunnel_sock_create()
1320 udp_conf.local_udp_port = htons(cfg->local_udp_port); in l2tp_tunnel_sock_create()
1321 udp_conf.peer_udp_port = htons(cfg->peer_udp_port); in l2tp_tunnel_sock_create()
1323 err = udp_sock_create(net, &udp_conf, &sock); in l2tp_tunnel_sock_create()