Lines Matching refs:fl6
510 struct flowi6 *fl6, int encap_limit, in __gre6_xmit() argument
521 fl6->daddr = ((struct ipv6hdr *)skb->data)->daddr; in __gre6_xmit()
523 fl6->daddr = tunnel->parms.raddr; in __gre6_xmit()
537 return ip6_tnl_xmit(skb, dev, dsfield, fl6, encap_limit, pmtu, in __gre6_xmit()
546 struct flowi6 fl6; in ip6gre_xmit_ipv4() local
556 memcpy(&fl6, &t->fl.u.ip6, sizeof(fl6)); in ip6gre_xmit_ipv4()
563 fl6.flowi6_mark = skb->mark; in ip6gre_xmit_ipv4()
565 fl6.flowi6_uid = sock_net_uid(dev_net(dev), NULL); in ip6gre_xmit_ipv4()
571 err = __gre6_xmit(skb, dev, dsfield, &fl6, encap_limit, &mtu, in ip6gre_xmit_ipv4()
590 struct flowi6 fl6; in ip6gre_xmit_ipv6() local
614 memcpy(&fl6, &t->fl.u.ip6, sizeof(fl6)); in ip6gre_xmit_ipv6()
622 fl6.flowlabel |= ip6_flowlabel(ipv6h); in ip6gre_xmit_ipv6()
624 fl6.flowi6_mark = skb->mark; in ip6gre_xmit_ipv6()
626 fl6.flowi6_uid = sock_net_uid(dev_net(dev), NULL); in ip6gre_xmit_ipv6()
631 err = __gre6_xmit(skb, dev, dsfield, &fl6, encap_limit, in ip6gre_xmit_ipv6()
666 struct flowi6 fl6; in ip6gre_xmit_other() local
673 memcpy(&fl6, &t->fl.u.ip6, sizeof(fl6)); in ip6gre_xmit_other()
679 err = __gre6_xmit(skb, dev, 0, &fl6, encap_limit, &mtu, skb->protocol); in ip6gre_xmit_other()
722 struct flowi6 *fl6 = &t->fl.u.ip6; in ip6gre_tnl_link_config() local
731 fl6->saddr = p->laddr; in ip6gre_tnl_link_config()
732 fl6->daddr = p->raddr; in ip6gre_tnl_link_config()
733 fl6->flowi6_oif = p->link; in ip6gre_tnl_link_config()
734 fl6->flowlabel = 0; in ip6gre_tnl_link_config()
735 fl6->flowi6_proto = IPPROTO_GRE; in ip6gre_tnl_link_config()
738 fl6->flowlabel |= IPV6_TCLASS_MASK & p->flowinfo; in ip6gre_tnl_link_config()
740 fl6->flowlabel |= IPV6_FLOWLABEL_MASK & p->flowinfo; in ip6gre_tnl_link_config()