Lines Matching refs:tcphdr

276 		if (len >= TCP_MSS_DEFAULT + sizeof(struct tcphdr) ||
282 (len >= TCP_MIN_MSS + sizeof(struct tcphdr) &&
398 static void tcp_ecn_rcv_synack(struct tcp_sock *tp, const struct tcphdr *th)
404 static void tcp_ecn_rcv_syn(struct tcp_sock *tp, const struct tcphdr *th)
410 static bool tcp_ecn_rcv_ecn_echo(const struct tcp_sock *tp, const struct tcphdr *th)
3997 static bool smc_parse_options(const struct tcphdr *th,
4018 u16 tcp_parse_mss_option(const struct tcphdr *th, u16 user_mss)
4021 int length = (th->doff * 4) - sizeof(struct tcphdr);
4069 const struct tcphdr *th = tcp_hdr(skb);
4070 int length = (th->doff * 4) - sizeof(struct tcphdr);
4187 static bool tcp_parse_aligned_timestamp(struct tcp_sock *tp, const struct tcphdr *th)
4211 const struct tcphdr *th, struct tcp_sock *tp)
4236 const u8 *tcp_parse_md5sig_option(const struct tcphdr *th)
4293 const struct tcphdr *th = tcp_hdr(skb);
5634 static void tcp_check_urg(struct sock *sk, const struct tcphdr *th)
5700 static void tcp_urg(struct sock *sk, struct sk_buff *skb, const struct tcphdr *th)
5746 const struct tcphdr *th, int syn_inerr)
5889 const struct tcphdr *th = (const struct tcphdr *)skb->data;
5936 if (tcp_header_len == sizeof(struct tcphdr) + TCPOLEN_TSTAMP_ALIGNED) {
5960 (sizeof(struct tcphdr) + TCPOLEN_TSTAMP_ALIGNED) &&
5996 (sizeof(struct tcphdr) + TCPOLEN_TSTAMP_ALIGNED) &&
6222 const struct tcphdr *th)
6320 sizeof(struct tcphdr) + TCPOLEN_TSTAMP_ALIGNED;
6324 tp->tcp_header_len = sizeof(struct tcphdr);
6399 sizeof(struct tcphdr) + TCPOLEN_TSTAMP_ALIGNED;
6401 tp->tcp_header_len = sizeof(struct tcphdr);
6499 const struct tcphdr *th = tcp_hdr(skb);
6793 const struct tcphdr *th = tcp_hdr(skb);
6939 struct sock *sk, struct tcphdr *th)