aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/tcp.h
AgeCommit message (Expand)AuthorFilesLines
2025-11-14tcp: gro: inline tcp_gro_pull_header()Eric Dumazet1-1/+0
2025-11-07tcp: Apply max RTO to non-TFO SYN+ACK.Kuniyuki Iwashima1-1/+2
2025-11-07tcp: Remove timeout arg from reqsk_timeout().Kuniyuki Iwashima1-0/+7
2025-11-04net: Convert proto callbacks from sockaddr to sockaddr_unsizedKees Cook1-1/+1
2025-10-31Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+1
2025-10-29tcp: add newval parameter to tcp_rcvbuf_grow()Eric Dumazet1-1/+1
2025-10-17Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf...Jakub Kicinski1-0/+3
2025-10-17tcp: Convert tcp-md5 to use MD5 library instead of crypto_ahashEric Biggers1-18/+8
2025-10-16net: Allow opt-out from global protocol memory accounting.Kuniyuki Iwashima1-0/+3
2025-10-15tcp: better handle TCP_TX_DELAY on established flowsEric Dumazet1-0/+2
2025-09-29tcp: make tcp_rcvbuf_grow() accessible to mptcp codePaolo Abeni1-0/+1
2025-09-18tcp: accecn: AccECN option ceb/cep and ACE field multi-wrap heuristicsIlpo Järvinen1-0/+1
2025-09-18tcp: accecn: AccECN option send controlChia-Yu Chang1-0/+3
2025-09-18tcp: accecn: AccECN optionIlpo Järvinen1-0/+13
2025-09-18tcp: accecn: AccECN negotiationIlpo Järvinen1-0/+1
2025-09-18tcp: AccECN coreIlpo Järvinen1-0/+15
2025-09-15tcp: fast path functions laterIlpo Järvinen1-27/+27
2025-09-11tcp: Destroy TCP-AO, TCP-MD5 keys in .sk_destruct()Dmitry Safonov1-0/+4
2025-09-01tcp: Remove sk->sk_prot->orphan_count.Kuniyuki Iwashima1-0/+10
2025-08-28net: add sk_drops_read(), sk_drops_inc() and sk_drops_reset() helpersEric Dumazet1-1/+1
2025-08-19net-memcg: Pass struct sock to mem_cgroup_sk_under_memory_pressure().Kuniyuki Iwashima1-1/+1
2025-08-19net-memcg: Introduce mem_cgroup_sk_enabled().Kuniyuki Iwashima1-1/+1
2025-08-06Merge tag 'kbuild-v6.17-2' of git://git.kernel.org/pub/scm/linux/kernel/git/m...Linus Torvalds1-2/+2
2025-07-18net: track pfmemalloc drops via SKB_DROP_REASON_PFMEMALLOCJesper Dangaard Brouer1-1/+1
2025-07-02tcp: move tcp_memory_allocated into net_aligned_dataEric Dumazet1-1/+0
2025-06-24module: remove meaningless 'name' parameter from __MODULE_INFO()Masahiro Yamada1-2/+2
2025-06-17net: tcp: tsq: Convert from tasklet to BH workqueueTejun Heo1-1/+1
2025-06-17tcp: remove RFC3517/RFC6675 tcp_clear_retrans_hints_partial()Neal Cardwell1-5/+0
2025-06-17tcp: remove RFC3517/RFC6675 hint state: lost_skb_hint, lost_cnt_hintNeal Cardwell1-1/+0
2025-04-10tcp: add TCP_RFC7323_TW_PAWS drop reasonJiayuan Chen1-1/+2
2025-03-31Revert "tcp: avoid atomic operations on sk->sk_rmem_alloc"Eric Dumazet1-15/+0
2025-03-25tcp: avoid atomic operations on sk->sk_rmem_allocEric Dumazet1-0/+15
2025-03-25tcp: support TCP_RTO_MIN_US for set/getsockopt useJason Xing1-1/+1
2025-03-24tcp: move icsk_clean_acked to a better locationEric Dumazet1-2/+2
2025-03-17tcp: Pass flags to __tcp_send_ackIlpo Järvinen1-1/+1
2025-03-17tcp: add new TCP_TW_ACK_OOW state and allow ECN bits in TOSIlpo Järvinen1-1/+2
2025-03-17tcp: helpers for ECN mode handlingIlpo Järvinen1-4/+40
2025-03-17tcp: extend TCP flags to allow AE bit/ACE fieldIlpo Järvinen1-2/+9
2025-03-17tcp: use BIT() macro in include/net/tcp.hChia-Yu Chang1-10/+11
2025-03-07tcp: ulp: diag: more info without CAP_NET_ADMINMatthieu Baerts (NGI0)1-2/+2
2025-03-03tcp: add a drop_reason pointer to tcp_check_req()Eric Dumazet1-1/+1
2025-02-27Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+8
2025-02-21Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf...Jakub Kicinski1-2/+5
2025-02-20Merge tag 'bpf-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpfLinus Torvalds1-0/+8
2025-02-20bpf: Add BPF_SOCK_OPS_TSTAMP_ACK_CB callbackJason Xing1-2/+4
2025-02-20bpf: Prevent unsafe access to the sock fields in the BPF timestamping callbackJason Xing1-0/+1
2025-02-20Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+14
2025-02-20tcp: drop secpath at the same time as we currently drop dstSabrina Dubroca1-0/+14
2025-02-11tcp: add the ability to control max RTOEric Dumazet1-5/+11
2025-02-11tcp: add a @pace_delay parameter to tcp_reset_xmit_timer()Eric Dumazet1-4/+6
2025-02-11tcp: remove tcp_reset_xmit_timer() @max_when argumentEric Dumazet1-4/+3
2025-02-07tcp: rename inet_csk_{delete|reset}_keepalive_timer()Eric Dumazet1-0/+1
2025-01-29bpf: Fix wrong copied_seq calculationJiayuan Chen1-0/+8
2024-12-09net: reformat kdoc return statementsJakub Kicinski1-1/+1
2024-10-30tcp: add more warn of socket in tcp_send_loss_probe()Jason Xing1-1/+2
2024-10-30tcp: add a common helper to debug the underlying issueJason Xing1-11/+14
2024-10-01tcp: Fix spelling mistake "emtpy" -> "empty"Colin Ian King1-1/+1
2024-09-23tcp: check skb is non-NULL in tcp_rto_delta_us()Josh Hunt1-2/+19
2024-09-11net: add support for skbs with unreadable fragsMina Almasry1-1/+2
2024-06-12net/tcp: Move tcp_inbound_hash() from headersDmitry Safonov1-74/+4
2024-06-12net/tcp: Use static_branch_tcp_{md5,ao} to drop ifdefsDmitry Safonov1-10/+4
2024-06-05net: remove NULL-pointer net parameter in ip_metrics_convertJason Xing1-1/+1
2024-06-04tcp: add a helper for setting EOR on tail skbJakub Kicinski1-0/+9
2024-06-04tcp: wrap mptcp and decrypted checks into tcp_skb_can_collapse_rx()Jakub Kicinski1-0/+7
2024-05-29tcp: add tcp_done_with_error() helperEric Dumazet1-0/+1
2024-05-13Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf...Jakub Kicinski1-1/+1
2024-05-06net: create tcp_gro_header_pull helper functionFelix Fietkau1-1/+3
2024-05-06net: create tcp_gro_lookup helper functionFelix Fietkau1-0/+1
2024-05-02tcp: Add new args for cong_control in tcp_congestion_opsMiao Xu1-1/+1
2024-04-30tcp: move tcp_out_of_memory() to net/ipv4/tcp.cEric Dumazet1-9/+1
2024-04-29Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf...Jakub Kicinski1-2/+2
2024-04-26rstreason: prepare for active resetJason Xing1-1/+2
2024-04-25bpf: add mrtt and srtt as BPF_SOCK_OPS_RTT_CB argsPhilo Lu1-2/+2
2024-04-25tcp: move tcp_skb_cb->sacked flags to enumPhilo Lu1-9/+13
2024-04-12tcp: increase the default TCP scaling ratioHechao Li1-3/+2
2024-04-09tcp: replace TCP_SKB_CB(skb)->tcp_tw_isn with a per-cpu fieldEric Dumazet1-5/+5
2024-04-09tcp: propagate tcp_tw_isn via an extra parameter to ->route_req()Eric Dumazet1-1/+2
2024-04-01tcp/dccp: do not care about families in inet_twsk_purge()Eric Dumazet1-1/+1
2024-04-01inet: preserve const qualifier in inet_csk()Eric Dumazet1-1/+1
2024-02-28tcp: make the dropreason really work when calling tcp_rcv_state_process()Jason Xing1-2/+2
2024-02-28tcp: add dropreasons in tcp_rcv_state_process()Jason Xing1-1/+1
2024-02-22Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+1
2024-02-18mptcp: fix lockless access in subflow ULP diagPaolo Abeni1-1/+1
2024-01-23bpf: Define struct bpf_tcp_req_attrs when CONFIG_SYN_COOKIES=n.Kuniyuki Iwashima1-14/+16
2024-01-23bpf: tcp: Support arbitrary SYN Cookie.Kuniyuki Iwashima1-0/+14
2024-01-23bpf: tcp: Handle BPF SYN Cookie in cookie_v[46]_check().Kuniyuki Iwashima1-0/+20
2024-01-23tcp: Move tcp_ns_to_ts() to tcp.hKuniyuki Iwashima1-0/+9
2024-01-04Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-2/+0
2024-01-04net/tcp: Only produce AO/MD5 logs if there are any keysDmitry Safonov1-2/+0
2023-12-07Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-2/+7
2023-12-05tcp: fix mid stream window clamp.Paolo Abeni1-2/+7
2023-11-29tcp: Factorise cookie-dependent fields initialisation in cookie_v[46]_check()Kuniyuki Iwashima1-3/+10
2023-11-29tcp: Move TCP-AO bits from cookie_v[46]_check() to tcp_ao_syncookie().Kuniyuki Iwashima1-1/+0
2023-11-29tcp: Don't initialise tp->tsoffset in tcp_get_cookie_sock().Kuniyuki Iwashima1-1/+1
2023-11-29tcp: Don't pass cookie to __cookie_v[46]_check().Kuniyuki Iwashima1-4/+2
2023-10-27net/tcp: Wire up l3index to TCP-AODmitry Safonov1-5/+6
2023-10-27net/tcp: Add static_key for TCP-AODmitry Safonov1-8/+16
2023-10-27net/tcp: Add tcp_hash_fail() ratelimited logsDmitry Safonov1-2/+12
2023-10-27net/tcp: Add TCP-AO segments countersDmitry Safonov1-4/+11
2023-10-27net/tcp: Verify inbound TCP-AO signed segmentsDmitry Safonov1-2/+51
2023-10-27net/tcp: Sign SYN-ACK segments with TCP-AODmitry Safonov1-0/+3
2023-10-27net/tcp: Wire TCP-AO to request socketsDmitry Safonov1-0/+6
2023-10-27net/tcp: Add AO sign to RST packetsDmitry Safonov1-1/+6
2023-10-27net/tcp: Add tcp_parse_auth_options()Dmitry Safonov1-1/+23
2023-10-27net/tcp: Add TCP-AO sign to outgoing packetsDmitry Safonov1-0/+64
2023-10-27net/tcp: Calculate TCP-AO traffic keysDmitry Safonov1-0/+3
2023-10-27net/tcp: Prevent TCP-MD5 with TCP-AO being setDmitry Safonov1-2/+41
2023-10-27net/tcp: Introduce TCP_AO setsockopt()sDmitry Safonov1-0/+3
2023-10-27net/tcp: Add TCP-AO config and structuresDmitry Safonov1-6/+2
2023-10-27net/tcp: Prepare tcp_md5sig_pool for TCP-AODmitry Safonov1-14/+36
2023-10-25tcp: define initial scaling factor value as a macroPaolo Abeni1-5/+7
2023-10-23tcp: add support for usec resolution in TCP TS valuesEric Dumazet1-2/+4
2023-10-23tcp: introduce TCP_PAWS_WRAPEric Dumazet1-2/+7
2023-10-23tcp: rename tcp_time_stamp() to tcp_time_stamp_ts()Eric Dumazet1-5/+4
2023-10-23tcp: move tcp_ns_to_ts() to net/ipv4/syncookies.cEric Dumazet1-6/+0
2023-10-23tcp: rename tcp_skb_timestamp()Eric Dumazet1-5/+9
2023-10-23tcp: replace tcp_time_stamp_raw()Eric Dumazet1-6/+19
2023-10-23tcp: introduce tcp_clock_ms()Eric Dumazet1-0/+5
2023-10-23tcp: add tcp_time_stamp_ms() helperEric Dumazet1-0/+5
2023-10-23tcp: fix cookie_init_timestamp() overflowsEric Dumazet1-1/+1
2023-10-19Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+3
2023-10-17tcp: fix excessive TLP and RACK timeouts from HZ roundingNeal Cardwell1-0/+3
2023-10-16net: stub tcp_gro_complete if CONFIG_INET=nJacob Keller1-0/+4
2023-10-10tcp: record last received ipv6 flowlabelDavid Morley1-0/+2
2023-10-05Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-2/+4
2023-10-04tcp: fix quick-ack counting to count actual ACKs of new dataNeal Cardwell1-2/+4
2023-10-01tcp: derive delack_max from rto_minEric Dumazet1-0/+2
2023-10-01tcp: constify tcp_rto_min() and tcp_rto_min_us() argumentEric Dumazet1-2/+2
2023-08-29Merge tag 'mm-stable-2023-08-28-18-26' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-1/+0
2023-08-18mm: allow per-VMA locks on file-backed VMAsMatthew Wilcox (Oracle)1-1/+0
2023-08-16inet: move inet->transparent to inet->inet_flagsEric Dumazet1-1/+1
2023-07-31tcp: Remove unused function declarationsYue Haibing1-3/+0
2023-07-24mptcp: fix rcv buffer auto-tuningPaolo Abeni1-5/+15
2023-07-20Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-7/+24
2023-07-20tcp: annotate data-races around tp->notsent_lowatEric Dumazet1-1/+5
2023-07-20tcp: annotate data-races around tp->keepalive_probesEric Dumazet1-2/+7
2023-07-20tcp: annotate data-races around tp->keepalive_intvlEric Dumazet1-2/+7
2023-07-20tcp: annotate data-races around tp->keepalive_timeEric Dumazet1-2/+5
2023-07-19tcp: tcp_enter_quickack_mode() should be staticEric Dumazet1-1/+0
2023-07-19tcp: remove tcp_send_partial()Eric Dumazet1-1/+0
2023-07-18tcp: get rid of sysctl_tcp_adv_win_scaleEric Dumazet1-4/+20
2023-06-24sock: Remove ->sendpage*() in favour of sendmsg(MSG_SPLICE_PAGES)David Howells1-4/+0
2023-06-18tcp: Use per-vma locking for receive zerocopyArjun Roy1-0/+1
2023-06-15net: ioctl: Use kernel memory on protocol ioctl callbacksBreno Leitao1-1/+1
2023-06-12tcp: remove size parameter from tcp_stream_alloc_skb()Eric Dumazet1-1/+1
2023-06-12tcp: let tcp_send_syn_data() build headless packetsEric Dumazet1-0/+1
2023-06-08ipv4, ipv6: Use splice_eof() to flushDavid Howells1-0/+1
2023-06-01Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+1
2023-06-01tcp: fix mishandling when the sack compression is deferred.fuyuanli1-0/+1
2023-05-31net: Make gro complete function to return voidParav Pandit1-1/+1
2023-05-26tcp: remove unused TCP_SYNQ_INTERVAL definitionNeal Cardwell1-2/+0
2023-05-25Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+10
2023-05-23tcp: Fold do_tcp_sendpages() into tcp_sendpage_locked()David Howells1-2/+0
2023-05-23bpf, sockmap: Incorrectly handling copied_seqJohn Fastabend1-0/+10
2023-04-13Daniel Borkmann says:Jakub Kicinski1-0/+3
2023-03-22net: Update an existing TCP congestion control algorithm.Kui-Feng Lee1-0/+3
2023-03-18tcp: preserve const qualifier in tcp_sk()Eric Dumazet1-1/+1
2022-12-12Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf...Jakub Kicinski1-2/+2
2022-12-01net/tcp: Disable TCP-MD5 static key on tcp_md5sig_info destructionDmitry Safonov1-3/+7
2022-12-01bpf, sockmap: Fix missing BPF_F_INGRESS flag when using apply_bytesPengcheng Yang1-2/+2
2022-10-28tcp: add PLB functionality for TCPMubashir Adnan Qureshi1-0/+28
2022-10-03Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+4
2022-09-30tcp: fix tcp_cwnd_validate() to not forget is_cwnd_limitedNeal Cardwell1-1/+4
2022-09-28tcp: export tcp_sendmsg_fastopenBenjamin Hesmans1-0/+2
2022-09-20tcp: Save unnecessary inet_twsk_purge() calls.Kuniyuki Iwashima1-0/+1
2022-09-02bpf: Change bpf_getsockopt(SOL_TCP) to reuse do_tcp_getsockopt()Martin KaFai Lau1-0/+2
2022-08-18bpf: Change bpf_setsockopt(SOL_TCP) to reuse do_tcp_setsockopt()Martin KaFai Lau1-0/+2
2022-07-28Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+1
2022-07-26tcp: allow tls to decrypt directly from the tcp rcv queueJakub Kicinski1-0/+2
2022-07-22tcp: Fix a data-race around sysctl_tcp_adv_win_scale.Kuniyuki Iwashima1-1/+1
2022-07-21Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-8/+12
2022-07-20tcp: Fix data-races around sysctl_tcp_slow_start_after_idle.Kuniyuki Iwashima1-2/+2
2022-07-18tcp: Fix a data-race around sysctl_tcp_notsent_lowat.Kuniyuki Iwashima1-1/+1
2022-07-18tcp: Fix data-races around some timeout sysctl knobs.Kuniyuki Iwashima1-1/+2
2022-07-18tcp: Fix data-races around keepalive sysctl knobs.Kuniyuki Iwashima1-3/+6
2022-07-15tcp/udp: Make early_demux back namespacified.Kuniyuki Iwashima1-1/+1
2022-06-20net: Introduce a new proto_ops ->read_skb()Cong Wang1-2/+1
2022-06-20tcp: Introduce tcp_read_skb()Cong Wang1-0/+2
2022-06-17Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextJakub Kicinski1-0/+1
2022-06-16bpf: Add helpers to issue and check SYN cookies in XDPMaxim Mikityanskiy1-0/+1
2022-06-10net: add per_cpu_fw_alloc field to struct protoEric Dumazet1-0/+2
2022-04-28Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+8
2022-04-26net: generalize skb freeing deferral to per-cpu listsEric Dumazet1-12/+0
2022-04-25tcp: make sure treq->af_specific is initializedEric Dumazet1-0/+1
2022-04-25tcp: fix potential xmit stalls caused by TCP_NOTSENT_LOWATEric Dumazet1-0/+1
2022-04-22tcp: ensure to use the most recently sent skb when filling the rate samplePengcheng Yang1-0/+6
2022-04-12net: remove noblock parameter from recvmsg() entitiesOliver Hartkopp1-1/+1
2022-04-07tcp: Add tracepoint for tcp_set_ca_statePing Gan1-9/+3
2022-04-06tcp: add accessors to read/set tp->snd_cwndEric Dumazet1-4/+15
2022-03-09net: tcp: fix shim definition of tcp_inbound_md5_hashVladimir Oltean1-1/+1
2022-03-09skb: make drop reason booleanableJakub Kicinski1-10/+11
2022-03-02tcp: Remove the unused apiTao Chen1-5/+0
2022-02-24net/tcp: Merge TCP-MD5 inbound callbacksDmitry Safonov1-0/+13
2022-02-20net: tcp: add skb drop reasons to tcp_add_backlog()Menglong Dong1-1/+2
2022-02-02tcp: Use BPF timeout setting for SYN ACK RTOAkhmat Karakotov1-1/+1
2022-01-20tcp: Add a stub for sk_defer_free_flush()Gal Pressman1-0/+4
2021-11-16tcp: defer skb freeing after socket lock is releasedEric Dumazet1-0/+10
2021-11-16tcp: annotate data-races on tp->segs_in and tp->data_segs_inEric Dumazet1-2/+6
2021-11-03net: avoid double accounting for pure zerocopy skbsTalal Ahmad1-2/+6
2021-11-01Revert "net: avoid double accounting for pure zerocopy skbs"Jakub Kicinski1-6/+2