Home
last modified time | relevance | path

Searched refs:udp_conf (Results 1 – 2 of 2) sorted by relevance

/net/tipc/
Dudp_media.c658 struct udp_port_cfg udp_conf = {0}; in tipc_udp_enable() local
723 udp_conf.family = AF_INET; in tipc_udp_enable()
727 udp_conf.local_ip.s_addr = htonl(INADDR_ANY); in tipc_udp_enable()
729 udp_conf.local_ip.s_addr = local.ipv4.s_addr; in tipc_udp_enable()
730 udp_conf.use_udp_checksums = false; in tipc_udp_enable()
740 udp_conf.family = AF_INET6; in tipc_udp_enable()
741 udp_conf.use_udp6_tx_checksums = true; in tipc_udp_enable()
742 udp_conf.use_udp6_rx_checksums = true; in tipc_udp_enable()
744 udp_conf.local_ip6 = in6addr_any; in tipc_udp_enable()
746 udp_conf.local_ip6 = local.ipv6; in tipc_udp_enable()
[all …]
/net/l2tp/
Dl2tp_core.c1294 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 …]