Searched refs:udp_conf (Results 1 – 2 of 2) sorted by relevance
386 struct udp_port_cfg udp_conf; in geneve_create_sock() local389 memset(&udp_conf, 0, sizeof(udp_conf)); in geneve_create_sock()392 udp_conf.family = AF_INET6; in geneve_create_sock()393 udp_conf.ipv6_v6only = 1; in geneve_create_sock()394 udp_conf.use_udp6_rx_checksums = in geneve_create_sock()397 udp_conf.family = AF_INET; in geneve_create_sock()398 udp_conf.local_ip.s_addr = htonl(INADDR_ANY); in geneve_create_sock()401 udp_conf.local_udp_port = port; in geneve_create_sock()404 err = udp_sock_create(net, &udp_conf, &sock); in geneve_create_sock()
2707 struct udp_port_cfg udp_conf; in vxlan_create_sock() local2710 memset(&udp_conf, 0, sizeof(udp_conf)); in vxlan_create_sock()2713 udp_conf.family = AF_INET6; in vxlan_create_sock()2714 udp_conf.use_udp6_rx_checksums = in vxlan_create_sock()2716 udp_conf.ipv6_v6only = 1; in vxlan_create_sock()2718 udp_conf.family = AF_INET; in vxlan_create_sock()2721 udp_conf.local_udp_port = port; in vxlan_create_sock()2724 err = udp_sock_create(net, &udp_conf, &sock); in vxlan_create_sock()