Searched refs:udp_cfg (Results 1 – 3 of 3) sorted by relevance
201 struct udp_port_cfg udp_cfg = { }; in rxe_setup_udp_tunnel() local205 udp_cfg.family = AF_INET6; in rxe_setup_udp_tunnel()206 udp_cfg.ipv6_v6only = 1; in rxe_setup_udp_tunnel()208 udp_cfg.family = AF_INET; in rxe_setup_udp_tunnel()211 udp_cfg.local_udp_port = port; in rxe_setup_udp_tunnel()214 err = udp_sock_create(net, &udp_cfg, &sock); in rxe_setup_udp_tunnel()
506 struct udp_port_cfg *udp_cfg = &cfg->udp_config; in fou_cfg_cmp() local508 if (fou->family != udp_cfg->family || in fou_cfg_cmp()509 fou->port != udp_cfg->local_udp_port || in fou_cfg_cmp()510 sk->sk_dport != udp_cfg->peer_udp_port || in fou_cfg_cmp()511 sk->sk_bound_dev_if != udp_cfg->bind_ifindex) in fou_cfg_cmp()515 if (sk->sk_rcv_saddr != udp_cfg->local_ip.s_addr || in fou_cfg_cmp()516 sk->sk_daddr != udp_cfg->peer_ip.s_addr) in fou_cfg_cmp()522 if (ipv6_addr_cmp(&sk->sk_v6_rcv_saddr, &udp_cfg->local_ip6) || in fou_cfg_cmp()523 ipv6_addr_cmp(&sk->sk_v6_daddr, &udp_cfg->peer_ip6)) in fou_cfg_cmp()
1505 struct udp_tunnel_sock_cfg udp_cfg = { in l2tp_tunnel_register() local1512 setup_udp_tunnel_sock(net, sock, &udp_cfg); in l2tp_tunnel_register()