Searched refs:tcp_header_len (Results 1 – 13 of 13) sorted by relevance
/Linux-v4.19/net/ipv4/ |
D | tcp_minisocks.c | 542 newtp->tcp_header_len = sizeof(struct tcphdr) + TCPOLEN_TSTAMP_ALIGNED; in tcp_create_openreq_child() 545 newtp->tcp_header_len = sizeof(struct tcphdr); in tcp_create_openreq_child() 551 newtp->tcp_header_len += TCPOLEN_MD5SIG_ALIGNED; in tcp_create_openreq_child() 553 if (skb->len >= TCP_MSS_DEFAULT + newtp->tcp_header_len) in tcp_create_openreq_child() 554 newicsk->icsk_ack.last_seg_size = skb->len - newtp->tcp_header_len; in tcp_create_openreq_child()
|
D | tcp_output.c | 366 struct tcphdr *th, int tcp_header_len) in tcp_ecn_send() argument 372 if (skb->len != tcp_header_len && in tcp_ecn_send() 1470 (tcp_sk(sk)->tcp_header_len - sizeof(struct tcphdr)); in tcp_mtu_to_mss() 1481 tp->tcp_header_len + in tcp_mss_to_mtu() 1583 if (header_len != tp->tcp_header_len) { in tcp_current_mss() 1584 int delta = (int) header_len - tp->tcp_header_len; in tcp_current_mss() 3287 tp->tcp_header_len = sizeof(struct tcphdr); in tcp_connect_init() 3289 tp->tcp_header_len += TCPOLEN_TSTAMP_ALIGNED; in tcp_connect_init() 3293 tp->tcp_header_len += TCPOLEN_MD5SIG_ALIGNED; in tcp_connect_init() 3321 tp->advmss - (tp->rx_opt.ts_recent_stamp ? tp->tcp_header_len - sizeof(struct tcphdr) : 0), in tcp_connect_init()
|
D | tcp_input.c | 194 len -= tcp_sk(sk)->tcp_header_len; in tcp_measure_rcv_mss() 5518 int tcp_header_len = tp->tcp_header_len; in tcp_rcv_established() local 5526 if (tcp_header_len == sizeof(struct tcphdr) + TCPOLEN_TSTAMP_ALIGNED) { in tcp_rcv_established() 5542 if (len <= tcp_header_len) { in tcp_rcv_established() 5544 if (len == tcp_header_len) { in tcp_rcv_established() 5549 if (tcp_header_len == in tcp_rcv_established() 5584 if (tcp_header_len == in tcp_rcv_established() 5594 eaten = tcp_queue_rcv(sk, skb, tcp_header_len, in tcp_rcv_established() 5843 tp->tcp_header_len = in tcp_rcv_synsent_state_process() 5848 tp->tcp_header_len = sizeof(struct tcphdr); in tcp_rcv_synsent_state_process() [all …]
|
D | tcp_timer.c | 168 mss = max(mss, 68 - tcp_sk(sk)->tcp_header_len); in tcp_mtu_probing()
|
/Linux-v4.19/include/linux/ |
D | tcp.h | 150 u16 tcp_header_len; /* Bytes of tcp header to send */ member
|
/Linux-v4.19/drivers/net/ethernet/synopsys/ |
D | dwc-xlgmac.h | 269 unsigned int tcp_header_len; member
|
D | dwc-xlgmac-net.c | 85 pkt_info->tcp_header_len = tcp_hdrlen(skb); in xlgmac_prep_tso() 91 pkt_info->tcp_header_len, pkt_info->tcp_payload_len); in xlgmac_prep_tso()
|
D | dwc-xlgmac-hw.c | 894 pkt_info->tcp_header_len / 4); in xlgmac_dev_xmit()
|
/Linux-v4.19/drivers/net/ethernet/amd/xgbe/ |
D | xgbe.h | 361 unsigned int tcp_header_len; member
|
D | xgbe-drv.c | 1754 packet->tcp_header_len = inner_tcp_hdrlen(skb); in xgbe_prep_tso() 1758 packet->tcp_header_len = tcp_hdrlen(skb); in xgbe_prep_tso() 1765 packet->tcp_header_len, packet->tcp_payload_len); in xgbe_prep_tso()
|
D | xgbe-dev.c | 1798 packet->tcp_header_len / 4); in xgbe_dev_xmit()
|
/Linux-v4.19/include/net/ |
D | tcp.h | 619 return max_t(int, cutoff, 68U - tp->tcp_header_len); in tcp_bound_to_half_wnd() 651 tp->pred_flags = htonl((tp->tcp_header_len << 26) | in __tcp_fast_path_on()
|
/Linux-v4.19/drivers/crypto/chelsio/chtls/ |
D | chtls_cm.c | 113 tp->tcp_header_len = sizeof(struct tcphdr); in assign_rxopt() 123 tp->tcp_header_len += TCPOLEN_TSTAMP_ALIGNED; in assign_rxopt()
|