Lines Matching refs:t
126 static void sctp_v6_err_handle(struct sctp_transport *t, struct sk_buff *skb, in sctp_v6_err_handle() argument
129 struct sctp_association *asoc = t->asoc; in sctp_v6_err_handle()
137 sctp_icmp_frag_needed(sk, asoc, t, info); in sctp_v6_err_handle()
141 sctp_icmp_proto_unreachable(sk, asoc, t); in sctp_v6_err_handle()
146 sctp_icmp_redirect(sk, t, skb); in sctp_v6_err_handle()
196 struct sctp_transport *t; in sctp_udp_v6_err() local
201 sk = sctp_err_lookup(net, AF_INET6, skb, sctp_hdr(skb), &asoc, &t); in sctp_udp_v6_err()
211 sctp_err_finish(sk, t); in sctp_udp_v6_err()
216 sctp_v6_err_handle(t, skb, hdr->icmp6_type, hdr->icmp6_code, info); in sctp_udp_v6_err()
218 sctp_err_finish(sk, t); in sctp_udp_v6_err()
222 static int sctp_v6_xmit(struct sk_buff *skb, struct sctp_transport *t) in sctp_v6_xmit() argument
224 struct dst_entry *dst = dst_clone(t->dst); in sctp_v6_xmit()
225 struct flowi6 *fl6 = &t->fl.u.ip6; in sctp_v6_xmit()
234 if (t->dscp & SCTP_DSCP_SET_MASK) in sctp_v6_xmit()
235 tclass = t->dscp & SCTP_DSCP_VAL_MASK; in sctp_v6_xmit()
240 if (!(t->param_flags & SPP_PMTUD_ENABLE)) in sctp_v6_xmit()
245 if (!t->encap_port || !sctp_sk(sk)->udp_port) { in sctp_v6_xmit()
268 label, sctp_sk(sk)->udp_port, t->encap_port, false); in sctp_v6_xmit()
274 static void sctp_v6_get_dst(struct sctp_transport *t, union sctp_addr *saddr, in sctp_v6_get_dst() argument
277 struct sctp_association *asoc = t->asoc; in sctp_v6_get_dst()
284 union sctp_addr *daddr = &t->ipaddr; in sctp_v6_get_dst()
298 if (t->flowlabel & SCTP_FLOWLABEL_SET_MASK) in sctp_v6_get_dst()
299 fl6->flowlabel = htonl(t->flowlabel & SCTP_FLOWLABEL_VAL_MASK); in sctp_v6_get_dst()
329 t->dst = dst; in sctp_v6_get_dst()
355 t->dst = dst; in sctp_v6_get_dst()
395 t->dst = dst; in sctp_v6_get_dst()
410 t->dst = dst; in sctp_v6_get_dst()
420 t->dst_cookie = rt6_get_cookie(rt); in sctp_v6_get_dst()
425 t->dst = NULL; in sctp_v6_get_dst()
443 struct sctp_transport *t, in sctp_v6_get_saddr() argument
447 union sctp_addr *saddr = &t->saddr; in sctp_v6_get_saddr()
449 pr_debug("%s: asoc:%p dst:%p\n", __func__, t->asoc, t->dst); in sctp_v6_get_saddr()
451 if (t->dst) { in sctp_v6_get_saddr()