• Home
  • Raw
  • Download

Lines Matching refs:fl6

128 	struct flowi6 fl6;  in tcp_v6_connect()  local
140 memset(&fl6, 0, sizeof(fl6)); in tcp_v6_connect()
143 fl6.flowlabel = usin->sin6_flowinfo&IPV6_FLOWINFO_MASK; in tcp_v6_connect()
144 IP6_ECN_flow_init(fl6.flowlabel); in tcp_v6_connect()
145 if (fl6.flowlabel&IPV6_FLOWLABEL_MASK) { in tcp_v6_connect()
147 flowlabel = fl6_sock_lookup(sk, fl6.flowlabel); in tcp_v6_connect()
197 np->flow_label = fl6.flowlabel; in tcp_v6_connect()
241 fl6.flowi6_proto = IPPROTO_TCP; in tcp_v6_connect()
242 fl6.daddr = sk->sk_v6_daddr; in tcp_v6_connect()
243 fl6.saddr = saddr ? *saddr : np->saddr; in tcp_v6_connect()
244 fl6.flowi6_oif = sk->sk_bound_dev_if; in tcp_v6_connect()
245 fl6.flowi6_mark = sk->sk_mark; in tcp_v6_connect()
246 fl6.fl6_dport = usin->sin6_port; in tcp_v6_connect()
247 fl6.fl6_sport = inet->inet_sport; in tcp_v6_connect()
248 fl6.flowi6_uid = sk->sk_uid; in tcp_v6_connect()
251 final_p = fl6_update_dst(&fl6, opt, &final); in tcp_v6_connect()
253 security_sk_classify_flow(sk, flowi6_to_flowi(&fl6)); in tcp_v6_connect()
255 dst = ip6_dst_lookup_flow(sk, &fl6, final_p); in tcp_v6_connect()
262 saddr = &fl6.saddr; in tcp_v6_connect()
466 struct flowi6 *fl6 = &fl->u.ip6; in tcp_v6_send_synack() local
471 if (!dst && (dst = inet6_csk_route_req(sk, fl6, req, in tcp_v6_send_synack()
481 fl6->daddr = ireq->ir_v6_rmt_addr; in tcp_v6_send_synack()
483 fl6->flowlabel = ip6_flowlabel(ipv6_hdr(ireq->pktopts)); in tcp_v6_send_synack()
489 err = ip6_xmit(sk, skb, fl6, sk->sk_mark, opt, np->tclass); in tcp_v6_send_synack()
784 struct flowi6 fl6; in tcp_v6_send_response() local
838 memset(&fl6, 0, sizeof(fl6)); in tcp_v6_send_response()
839 fl6.daddr = ipv6_hdr(skb)->saddr; in tcp_v6_send_response()
840 fl6.saddr = ipv6_hdr(skb)->daddr; in tcp_v6_send_response()
841 fl6.flowlabel = label; in tcp_v6_send_response()
846 __tcp_v6_send_check(buff, &fl6.saddr, &fl6.daddr); in tcp_v6_send_response()
848 fl6.flowi6_proto = IPPROTO_TCP; in tcp_v6_send_response()
849 if (rt6_need_strict(&fl6.daddr) && !oif) in tcp_v6_send_response()
850 fl6.flowi6_oif = tcp_v6_iif(skb); in tcp_v6_send_response()
855 fl6.flowi6_oif = oif; in tcp_v6_send_response()
858 fl6.flowi6_mark = IP6_REPLY_MARK(net, skb->mark); in tcp_v6_send_response()
859 fl6.fl6_dport = t1->dest; in tcp_v6_send_response()
860 fl6.fl6_sport = t1->source; in tcp_v6_send_response()
861 fl6.flowi6_uid = sock_net_uid(net, sk && sk_fullsock(sk) ? sk : NULL); in tcp_v6_send_response()
862 security_skb_classify_flow(skb, flowi6_to_flowi(&fl6)); in tcp_v6_send_response()
868 dst = ip6_dst_lookup_flow(ctl_sk, &fl6, NULL); in tcp_v6_send_response()
871 ip6_xmit(ctl_sk, buff, &fl6, fl6.flowi6_mark, NULL, tclass); in tcp_v6_send_response()
1051 struct flowi6 fl6; in tcp_v6_syn_recv_sock() local
1113 dst = inet6_csk_route_req(sk, &fl6, req, IPPROTO_TCP); in tcp_v6_syn_recv_sock()