Searched refs:udp_cfg (Results 1 – 3 of 3) sorted by relevance
179 struct udp_port_cfg udp_cfg = { }; in rxe_setup_udp_tunnel() local183 udp_cfg.family = AF_INET6; in rxe_setup_udp_tunnel()184 udp_cfg.ipv6_v6only = 1; in rxe_setup_udp_tunnel()186 udp_cfg.family = AF_INET; in rxe_setup_udp_tunnel()189 udp_cfg.local_udp_port = port; in rxe_setup_udp_tunnel()192 err = udp_sock_create(net, &udp_cfg, &sock); in rxe_setup_udp_tunnel()
513 struct udp_port_cfg *udp_cfg = &cfg->udp_config; in fou_cfg_cmp() local515 if (fou->family != udp_cfg->family || in fou_cfg_cmp()516 fou->port != udp_cfg->local_udp_port || in fou_cfg_cmp()517 sk->sk_dport != udp_cfg->peer_udp_port || in fou_cfg_cmp()518 sk->sk_bound_dev_if != udp_cfg->bind_ifindex) in fou_cfg_cmp()522 if (sk->sk_rcv_saddr != udp_cfg->local_ip.s_addr || in fou_cfg_cmp()523 sk->sk_daddr != udp_cfg->peer_ip.s_addr) in fou_cfg_cmp()529 if (ipv6_addr_cmp(&sk->sk_v6_rcv_saddr, &udp_cfg->local_ip6) || in fou_cfg_cmp()530 ipv6_addr_cmp(&sk->sk_v6_daddr, &udp_cfg->peer_ip6)) in fou_cfg_cmp()
1672 struct udp_tunnel_sock_cfg udp_cfg = { in l2tp_tunnel_register() local1679 setup_udp_tunnel_sock(net, sock, &udp_cfg); in l2tp_tunnel_register()