Home
last modified time | relevance | path

Searched refs:udp_cfg (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.1/drivers/infiniband/sw/rxe/
Drxe_net.c173 struct udp_port_cfg udp_cfg = { }; in rxe_setup_udp_tunnel() local
177 udp_cfg.family = AF_INET6; in rxe_setup_udp_tunnel()
178 udp_cfg.ipv6_v6only = 1; in rxe_setup_udp_tunnel()
180 udp_cfg.family = AF_INET; in rxe_setup_udp_tunnel()
183 udp_cfg.local_udp_port = port; in rxe_setup_udp_tunnel()
186 err = udp_sock_create(net, &udp_cfg, &sock); in rxe_setup_udp_tunnel()
/Linux-v6.1/net/ipv4/
Dfou.c492 struct udp_port_cfg *udp_cfg = &cfg->udp_config; in fou_cfg_cmp() local
494 if (fou->family != udp_cfg->family || in fou_cfg_cmp()
495 fou->port != udp_cfg->local_udp_port || in fou_cfg_cmp()
496 sk->sk_dport != udp_cfg->peer_udp_port || in fou_cfg_cmp()
497 sk->sk_bound_dev_if != udp_cfg->bind_ifindex) in fou_cfg_cmp()
501 if (sk->sk_rcv_saddr != udp_cfg->local_ip.s_addr || in fou_cfg_cmp()
502 sk->sk_daddr != udp_cfg->peer_ip.s_addr) in fou_cfg_cmp()
508 if (ipv6_addr_cmp(&sk->sk_v6_rcv_saddr, &udp_cfg->local_ip6) || in fou_cfg_cmp()
509 ipv6_addr_cmp(&sk->sk_v6_daddr, &udp_cfg->peer_ip6)) in fou_cfg_cmp()
/Linux-v6.1/net/l2tp/
Dl2tp_core.c1503 struct udp_tunnel_sock_cfg udp_cfg = { in l2tp_tunnel_register() local
1510 setup_udp_tunnel_sock(net, sock, &udp_cfg); in l2tp_tunnel_register()