Lines Matching refs:tcphdr

268 		if (len >= TCP_MSS_DEFAULT + sizeof(struct tcphdr) ||
274 (len >= TCP_MIN_MSS + sizeof(struct tcphdr) &&
390 static void tcp_ecn_rcv_synack(struct tcp_sock *tp, const struct tcphdr *th)
396 static void tcp_ecn_rcv_syn(struct tcp_sock *tp, const struct tcphdr *th)
402 static bool tcp_ecn_rcv_ecn_echo(const struct tcp_sock *tp, const struct tcphdr *th)
3963 static bool smc_parse_options(const struct tcphdr *th,
3984 static u16 tcp_parse_mss_option(const struct tcphdr *th, u16 user_mss)
3987 int length = (th->doff * 4) - sizeof(struct tcphdr);
4034 const struct tcphdr *th = tcp_hdr(skb);
4035 int length = (th->doff * 4) - sizeof(struct tcphdr);
4153 static bool tcp_parse_aligned_timestamp(struct tcp_sock *tp, const struct tcphdr *th)
4177 const struct tcphdr *th, struct tcp_sock *tp)
4202 const u8 *tcp_parse_md5sig_option(const struct tcphdr *th)
4259 const struct tcphdr *th = tcp_hdr(skb);
5556 static void tcp_check_urg(struct sock *sk, const struct tcphdr *th)
5622 static void tcp_urg(struct sock *sk, struct sk_buff *skb, const struct tcphdr *th)
5668 const struct tcphdr *th, int syn_inerr)
5802 const struct tcphdr *th = (const struct tcphdr *)skb->data;
5849 if (tcp_header_len == sizeof(struct tcphdr) + TCPOLEN_TSTAMP_ALIGNED) {
5873 (sizeof(struct tcphdr) + TCPOLEN_TSTAMP_ALIGNED) &&
5908 (sizeof(struct tcphdr) + TCPOLEN_TSTAMP_ALIGNED) &&
6129 const struct tcphdr *th)
6223 sizeof(struct tcphdr) + TCPOLEN_TSTAMP_ALIGNED;
6227 tp->tcp_header_len = sizeof(struct tcphdr);
6305 sizeof(struct tcphdr) + TCPOLEN_TSTAMP_ALIGNED;
6307 tp->tcp_header_len = sizeof(struct tcphdr);
6404 const struct tcphdr *th = tcp_hdr(skb);
6683 const struct tcphdr *th = tcp_hdr(skb);
6819 struct sock *sk, struct tcphdr *th)