Lines Matching refs:th
41 TCP_ECN_make_synack(struct open_request *req, struct tcphdr *th) in TCP_ECN_make_synack() argument
44 th->ece = 1; in TCP_ECN_make_synack()
57 skb->h.th->cwr = 1; in TCP_ECN_send()
64 skb->h.th->ece = 1; in TCP_ECN_send()
73 if (skb->h.th->cwr) in TCP_ECN_accept_cwr()
98 TCP_ECN_rcv_synack(struct tcp_opt *tp, struct tcphdr *th) in TCP_ECN_rcv_synack() argument
100 if ((tp->ecn_flags&TCP_ECN_OK) && (!th->ece || th->cwr)) in TCP_ECN_rcv_synack()
105 TCP_ECN_rcv_syn(struct tcp_opt *tp, struct tcphdr *th) in TCP_ECN_rcv_syn() argument
107 if ((tp->ecn_flags&TCP_ECN_OK) && (!th->ece || !th->cwr)) in TCP_ECN_rcv_syn()
112 TCP_ECN_rcv_ecn_echo(struct tcp_opt *tp, struct tcphdr *th) in TCP_ECN_rcv_ecn_echo() argument
114 if (th->ece && !th->syn && (tp->ecn_flags&TCP_ECN_OK)) in TCP_ECN_rcv_ecn_echo()
126 TCP_ECN_create_request(struct open_request *req, struct tcphdr *th) in TCP_ECN_create_request() argument
128 if (sysctl_tcp_ecn && th->ece && th->cwr) in TCP_ECN_create_request()