Lines Matching refs:udp_conf
1282 struct udp_port_cfg udp_conf; in l2tp_tunnel_sock_create() local
1286 memset(&udp_conf, 0, sizeof(udp_conf)); in l2tp_tunnel_sock_create()
1290 udp_conf.family = AF_INET6; in l2tp_tunnel_sock_create()
1291 memcpy(&udp_conf.local_ip6, cfg->local_ip6, in l2tp_tunnel_sock_create()
1292 sizeof(udp_conf.local_ip6)); in l2tp_tunnel_sock_create()
1293 memcpy(&udp_conf.peer_ip6, cfg->peer_ip6, in l2tp_tunnel_sock_create()
1294 sizeof(udp_conf.peer_ip6)); in l2tp_tunnel_sock_create()
1295 udp_conf.use_udp6_tx_checksums = in l2tp_tunnel_sock_create()
1297 udp_conf.use_udp6_rx_checksums = in l2tp_tunnel_sock_create()
1302 udp_conf.family = AF_INET; in l2tp_tunnel_sock_create()
1303 udp_conf.local_ip = cfg->local_ip; in l2tp_tunnel_sock_create()
1304 udp_conf.peer_ip = cfg->peer_ip; in l2tp_tunnel_sock_create()
1305 udp_conf.use_udp_checksums = cfg->use_udp_checksums; in l2tp_tunnel_sock_create()
1308 udp_conf.local_udp_port = htons(cfg->local_udp_port); in l2tp_tunnel_sock_create()
1309 udp_conf.peer_udp_port = htons(cfg->peer_udp_port); in l2tp_tunnel_sock_create()
1311 err = udp_sock_create(net, &udp_conf, &sock); in l2tp_tunnel_sock_create()