Searched refs:udp_conf (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.4/net/tipc/ |
D | udp_media.c | 655 struct udp_port_cfg udp_conf = {0}; in tipc_udp_enable() local 720 udp_conf.family = AF_INET; in tipc_udp_enable() 724 udp_conf.local_ip.s_addr = htonl(INADDR_ANY); in tipc_udp_enable() 726 udp_conf.local_ip.s_addr = local.ipv4.s_addr; in tipc_udp_enable() 727 udp_conf.use_udp_checksums = false; in tipc_udp_enable() 737 udp_conf.family = AF_INET6; in tipc_udp_enable() 738 udp_conf.use_udp6_tx_checksums = true; in tipc_udp_enable() 739 udp_conf.use_udp6_rx_checksums = true; in tipc_udp_enable() 741 udp_conf.local_ip6 = in6addr_any; in tipc_udp_enable() 743 udp_conf.local_ip6 = local.ipv6; in tipc_udp_enable() [all …]
|
/Linux-v5.4/net/l2tp/ |
D | l2tp_core.c | 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() [all …]
|
/Linux-v5.4/drivers/net/ |
D | geneve.c | 444 struct udp_port_cfg udp_conf; in geneve_create_sock() local 447 memset(&udp_conf, 0, sizeof(udp_conf)); in geneve_create_sock() 450 udp_conf.family = AF_INET6; in geneve_create_sock() 451 udp_conf.ipv6_v6only = 1; in geneve_create_sock() 452 udp_conf.use_udp6_rx_checksums = ipv6_rx_csum; in geneve_create_sock() 454 udp_conf.family = AF_INET; in geneve_create_sock() 455 udp_conf.local_ip.s_addr = htonl(INADDR_ANY); in geneve_create_sock() 458 udp_conf.local_udp_port = port; in geneve_create_sock() 461 err = udp_sock_create(net, &udp_conf, &sock); in geneve_create_sock()
|
D | vxlan.c | 3188 struct udp_port_cfg udp_conf; in vxlan_create_sock() local 3191 memset(&udp_conf, 0, sizeof(udp_conf)); in vxlan_create_sock() 3194 udp_conf.family = AF_INET6; in vxlan_create_sock() 3195 udp_conf.use_udp6_rx_checksums = in vxlan_create_sock() 3197 udp_conf.ipv6_v6only = 1; in vxlan_create_sock() 3199 udp_conf.family = AF_INET; in vxlan_create_sock() 3202 udp_conf.local_udp_port = port; in vxlan_create_sock() 3203 udp_conf.bind_ifindex = ifindex; in vxlan_create_sock() 3206 err = udp_sock_create(net, &udp_conf, &sock); in vxlan_create_sock()
|