Lines Matching refs:fl
233 struct flowi fl; in udpv6_connect() local
251 fl.fl6_flowlabel = 0; in udpv6_connect()
253 fl.fl6_flowlabel = usin->sin6_flowinfo&IPV6_FLOWINFO_MASK; in udpv6_connect()
254 if (fl.fl6_flowlabel&IPV6_FLOWLABEL_MASK) { in udpv6_connect()
255 flowlabel = fl6_sock_lookup(sk, fl.fl6_flowlabel); in udpv6_connect()
316 fl.oif = np->mcast_oif; in udpv6_connect()
325 np->flow_label = fl.fl6_flowlabel; in udpv6_connect()
334 fl.proto = IPPROTO_UDP; in udpv6_connect()
335 fl.fl6_dst = &np->daddr; in udpv6_connect()
336 fl.fl6_src = &saddr; in udpv6_connect()
337 fl.oif = sk->bound_dev_if; in udpv6_connect()
338 fl.uli_u.ports.dport = sk->dport; in udpv6_connect()
339 fl.uli_u.ports.sport = sk->sport; in udpv6_connect()
341 if (!fl.oif && (addr_type&IPV6_ADDR_MULTICAST)) in udpv6_connect()
342 fl.oif = np->mcast_oif; in udpv6_connect()
347 fl.fl6_dst = rt0->addr; in udpv6_connect()
351 fl.fl6_dst = rt0->addr; in udpv6_connect()
354 dst = ip6_route_output(sk, &fl); in udpv6_connect()
362 ip6_dst_store(sk, dst, fl.fl6_dst); in udpv6_connect()
783 struct flowi fl; in udpv6_sendmsg() local
798 fl.fl6_flowlabel = 0; in udpv6_sendmsg()
799 fl.oif = 0; in udpv6_sendmsg()
821 fl.fl6_flowlabel = sin6->sin6_flowinfo&IPV6_FLOWINFO_MASK; in udpv6_sendmsg()
822 if (fl.fl6_flowlabel&IPV6_FLOWLABEL_MASK) { in udpv6_sendmsg()
823 flowlabel = fl6_sock_lookup(sk, fl.fl6_flowlabel); in udpv6_sendmsg()
838 fl.oif = sin6->sin6_scope_id; in udpv6_sendmsg()
845 fl.fl6_flowlabel = np->flow_label; in udpv6_sendmsg()
867 if (!fl.oif) in udpv6_sendmsg()
868 fl.oif = sk->bound_dev_if; in udpv6_sendmsg()
869 fl.fl6_src = NULL; in udpv6_sendmsg()
875 err = datagram_send_ctl(msg, &fl, opt, &hlimit); in udpv6_sendmsg()
880 if ((fl.fl6_flowlabel&IPV6_FLOWLABEL_MASK) && !flowlabel) { in udpv6_sendmsg()
881 flowlabel = fl6_sock_lookup(sk, fl.fl6_flowlabel); in udpv6_sendmsg()
902 fl.proto = IPPROTO_UDP; in udpv6_sendmsg()
903 fl.fl6_dst = daddr; in udpv6_sendmsg()
904 if (fl.fl6_src == NULL && !ipv6_addr_any(&np->saddr)) in udpv6_sendmsg()
905 fl.fl6_src = &np->saddr; in udpv6_sendmsg()
906 fl.uli_u.ports.dport = udh.uh.dest; in udpv6_sendmsg()
907 fl.uli_u.ports.sport = udh.uh.source; in udpv6_sendmsg()
909 err = ip6_build_xmit(sk, udpv6_getfrag, &udh, &fl, len, opt, hlimit, in udpv6_sendmsg()