Home
last modified time | relevance | path

Searched refs:fl6 (Results 1 – 10 of 10) sorted by relevance

/drivers/net/ethernet/chelsio/libcxgb/
Dlibcxgb_cm.c128 struct flowi6 fl6; in cxgb_find_route6() local
130 memset(&fl6, 0, sizeof(fl6)); in cxgb_find_route6()
131 memcpy(&fl6.daddr, peer_ip, 16); in cxgb_find_route6()
132 memcpy(&fl6.saddr, local_ip, 16); in cxgb_find_route6()
133 if (ipv6_addr_type(&fl6.daddr) & IPV6_ADDR_LINKLOCAL) in cxgb_find_route6()
134 fl6.flowi6_oif = sin6_scope_id; in cxgb_find_route6()
135 dst = ip6_route_output(&init_net, NULL, &fl6); in cxgb_find_route6()
/drivers/net/
Dvrf.c172 struct flowi6 fl6; in vrf_process_v6_outbound() local
182 memset(&fl6, 0, sizeof(fl6)); in vrf_process_v6_outbound()
184 fl6.flowi6_oif = dev->ifindex; in vrf_process_v6_outbound()
185 fl6.flowi6_iif = LOOPBACK_IFINDEX; in vrf_process_v6_outbound()
186 fl6.daddr = iph->daddr; in vrf_process_v6_outbound()
187 fl6.saddr = iph->saddr; in vrf_process_v6_outbound()
188 fl6.flowlabel = ip6_flowinfo(iph); in vrf_process_v6_outbound()
189 fl6.flowi6_mark = skb->mark; in vrf_process_v6_outbound()
190 fl6.flowi6_proto = iph->nexthdr; in vrf_process_v6_outbound()
191 fl6.flowi6_flags = FLOWI_FLAG_SKIP_NH_OIF; in vrf_process_v6_outbound()
[all …]
Dgeneve.c768 struct flowi6 *fl6, in geneve_get_v6_dst() argument
780 memset(fl6, 0, sizeof(*fl6)); in geneve_get_v6_dst()
781 fl6->flowi6_mark = skb->mark; in geneve_get_v6_dst()
782 fl6->flowi6_proto = IPPROTO_UDP; in geneve_get_v6_dst()
783 fl6->daddr = info->key.u.ipv6.dst; in geneve_get_v6_dst()
784 fl6->saddr = info->key.u.ipv6.src; in geneve_get_v6_dst()
791 fl6->flowlabel = ip6_make_flowinfo(RT_TOS(prio), in geneve_get_v6_dst()
795 dst = dst_cache_get_ip6(dst_cache, &fl6->saddr); in geneve_get_v6_dst()
799 if (ipv6_stub->ipv6_dst_lookup(geneve->net, gs6->sock->sk, &dst, fl6)) { in geneve_get_v6_dst()
800 netdev_dbg(dev, "no route to %pI6\n", &fl6->daddr); in geneve_get_v6_dst()
[all …]
Dvxlan.c1964 struct flowi6 fl6; in vxlan6_get_route() local
1978 memset(&fl6, 0, sizeof(fl6)); in vxlan6_get_route()
1979 fl6.flowi6_oif = oif; in vxlan6_get_route()
1980 fl6.daddr = *daddr; in vxlan6_get_route()
1981 fl6.saddr = *saddr; in vxlan6_get_route()
1982 fl6.flowlabel = ip6_make_flowinfo(RT_TOS(tos), label); in vxlan6_get_route()
1983 fl6.flowi6_mark = skb->mark; in vxlan6_get_route()
1984 fl6.flowi6_proto = IPPROTO_UDP; in vxlan6_get_route()
1985 fl6.fl6_dport = dport; in vxlan6_get_route()
1986 fl6.fl6_sport = sport; in vxlan6_get_route()
[all …]
/drivers/infiniband/sw/rxe/
Drxe_net.c149 struct flowi6 fl6 = { { 0 } }; in rxe_find_route6() local
151 memset(&fl6, 0, sizeof(fl6)); in rxe_find_route6()
152 fl6.flowi6_oif = ndev->ifindex; in rxe_find_route6()
153 memcpy(&fl6.saddr, saddr, sizeof(*saddr)); in rxe_find_route6()
154 memcpy(&fl6.daddr, daddr, sizeof(*daddr)); in rxe_find_route6()
155 fl6.flowi6_proto = IPPROTO_UDP; in rxe_find_route6()
158 recv_sockets.sk6->sk, &ndst, &fl6))) { in rxe_find_route6()
/drivers/infiniband/core/
Daddr.c450 struct flowi6 fl6; in addr6_resolve() local
455 memset(&fl6, 0, sizeof fl6); in addr6_resolve()
456 fl6.daddr = dst_in->sin6_addr; in addr6_resolve()
457 fl6.saddr = src_in->sin6_addr; in addr6_resolve()
458 fl6.flowi6_oif = addr->bound_dev_if; in addr6_resolve()
460 ret = ipv6_stub->ipv6_dst_lookup(addr->net, NULL, &dst, &fl6); in addr6_resolve()
467 src_in->sin6_addr = fl6.saddr; in addr6_resolve()
/drivers/net/ethernet/mellanox/mlx5/core/
Den_tc.c1544 struct flowi6 *fl6, in mlx5e_route_lookup_ipv6() argument
1556 fl6); in mlx5e_route_lookup_ipv6()
1571 n = dst_neigh_lookup(dst, &fl6->daddr); in mlx5e_route_lookup_ipv6()
1759 struct flowi6 fl6 = {}; in mlx5e_create_encap_header_ipv6() local
1776 fl6.flowi6_proto = IPPROTO_UDP; in mlx5e_create_encap_header_ipv6()
1777 fl6.fl6_dport = tun_key->tp_dst; in mlx5e_create_encap_header_ipv6()
1784 fl6.flowlabel = ip6_make_flowinfo(RT_TOS(tun_key->tos), tun_key->label); in mlx5e_create_encap_header_ipv6()
1785 fl6.daddr = tun_key->u.ipv6.dst; in mlx5e_create_encap_header_ipv6()
1786 fl6.saddr = tun_key->u.ipv6.src; in mlx5e_create_encap_header_ipv6()
1789 &fl6, &n, &ttl); in mlx5e_create_encap_header_ipv6()
[all …]
/drivers/net/ipvlan/
Dipvlan_core.c417 struct flowi6 fl6 = { in ipvlan_process_v6_outbound() local
427 dst = ip6_route_output(net, NULL, &fl6); in ipvlan_process_v6_outbound()
753 struct flowi6 fl6 = { in ipvlan_l3_rcv() local
763 dst = ip6_route_input_lookup(dev_net(sdev), sdev, &fl6, flags); in ipvlan_l3_rcv()
/drivers/infiniband/hw/i40iw/
Di40iw_cm.c2016 struct flowi6 fl6; in i40iw_get_dst_ipv6() local
2018 memset(&fl6, 0, sizeof(fl6)); in i40iw_get_dst_ipv6()
2019 fl6.daddr = dst_addr->sin6_addr; in i40iw_get_dst_ipv6()
2020 fl6.saddr = src_addr->sin6_addr; in i40iw_get_dst_ipv6()
2021 if (ipv6_addr_type(&fl6.daddr) & IPV6_ADDR_LINKLOCAL) in i40iw_get_dst_ipv6()
2022 fl6.flowi6_oif = dst_addr->sin6_scope_id; in i40iw_get_dst_ipv6()
2024 dst = ip6_route_output(&init_net, NULL, &fl6); in i40iw_get_dst_ipv6()
/drivers/net/ethernet/broadcom/
Dcnic.c3697 struct flowi6 fl6; in cnic_get_v6_route() local
3699 memset(&fl6, 0, sizeof(fl6)); in cnic_get_v6_route()
3700 fl6.daddr = dst_addr->sin6_addr; in cnic_get_v6_route()
3701 if (ipv6_addr_type(&fl6.daddr) & IPV6_ADDR_LINKLOCAL) in cnic_get_v6_route()
3702 fl6.flowi6_oif = dst_addr->sin6_scope_id; in cnic_get_v6_route()
3704 *dst = ip6_route_output(&init_net, NULL, &fl6); in cnic_get_v6_route()