aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/tcp.h
AgeCommit message (Expand)AuthorFilesLines
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
2021-11-01net: avoid double accounting for pure zerocopy skbsTalal Ahmad1-2/+6
2021-11-01tcp: rename sk_wmem_free_skbTalal Ahmad1-1/+8
2021-10-28tcp: cleanup tcp_remove_empty_skb() useEric Dumazet1-1/+1
2021-10-26tcp: rename sk_stream_alloc_skbEric Dumazet1-0/+2
2021-10-22Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-2/+3
2021-10-15tcp: md5: Allow MD5SIG_FLAG_IFINDEX with ifindex=0Leonard Crestez1-2/+3
2021-10-15tcp: switch orphan_count to bare per-cpu countersEric Dumazet1-14/+3
2021-09-30tcp: adjust rcv_ssthresh according to sk_reserved_memWei Wang1-0/+11
2021-09-24tcp: tracking packets with CE marks in BW rate sampleYuchung Cheng1-3/+6
2021-09-23tcp: make tcp_build_frag() staticPaolo Abeni1-2/+0
2021-09-23tcp: expose the tcp_mark_push() and tcp_skb_entail() helpersPaolo Abeni1-0/+2
2021-07-31Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextJakub Kicinski1-1/+0
2021-07-23bpf: tcp: seq_file: Remove bpf_seq_afinfo from tcp_iter_stateMartin KaFai Lau1-1/+0
2021-07-20net/tcp_fastopen: remove obsolete externEric Dumazet1-1/+0
2021-07-01tcp: consistently disable header prediction for mptcpPaolo Abeni1-0/+4
2021-06-04tcp: export timestamp helpers for mptcpFlorian Westphal1-0/+4
2021-04-12skmsg: Pass psock pointer to ->psock_update_sk_prot()Cong Wang1-1/+1
2021-04-02tcp: reorder tcp_congestion_ops for better cache localityEric Dumazet1-15/+27
2021-04-01skmsg: Extract __tcp_bpf_recvmsg() and tcp_bpf_wait_data()Cong Wang1-2/+0
2021-04-01sock: Introduce sk->sk_prot->psock_update_sk_prot()Cong Wang1-0/+1
2021-02-26skmsg: Move sk_redir from TCP_SKB_CB to skbCong Wang1-19/+0
2021-02-26bpf: Compute data_end dynamically with JIT codeCong Wang1-6/+0
2021-02-26bpf: Clean up sockmap related KconfigsCong Wang1-7/+9
2021-02-16Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller1-0/+1
2021-02-12tcp: factorize logic into tcp_epollin_ready()Eric Dumazet1-0/+12
2021-02-12tcp: fix SO_RCVLOWAT related hangs under mem pressureEric Dumazet1-2/+7
2021-01-23tcp: fix TLP timer not set when CA_STATE changes from DISORDER to OPENPengcheng Yang1-1/+1
2021-01-23tcp: make TCP_USER_TIMEOUT accurate for zero window probesEnke Chen1-0/+1
2021-01-20bpf: Remove extra lock_sock for TCP_ZEROCOPY_RECEIVEStanislav Fomichev1-0/+1
2020-12-14net: Limit logical shift left of TCP probe0 timeoutCambda Zhu1-1/+3
2020-12-14tcp: parse mptcp options contained in reset packetsFlorian Westphal1-1/+1
2020-12-04Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextJakub Kicinski1-0/+1
2020-12-03bpf: Adds support for setting window clampPrankur gupta1-0/+1
2020-12-03tcp: merge 'init_req' and 'route_req' functionsFlorian Westphal1-5/+4
2020-11-16tcp: factor out __tcp_close() helperPaolo Abeni1-0/+1
2020-11-16tcp: factor out tcp_build_frag()Paolo Abeni1-0/+3
2020-11-14tcp: uninline tcp_stream_memory_free()Eric Dumazet1-12/+1
2020-11-02tcp: avoid slow start during fast recovery on new lossesYuchung Cheng1-1/+1
2020-10-02bpf: tcp: Do not limit cb_flags when creating child sk from listen skMartin KaFai Lau1-33/+0
2020-09-23Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller1-1/+1
2020-09-14mptcp: call tcp_cleanup_rbuf on subflowsPaolo Abeni1-0/+2
2020-09-10tcp: simplify tcp_set_congestion_control(): Always reinitializeNeal Cardwell1-1/+1
2020-09-01Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller1-4/+55
2020-08-31net: ipv4: remove unused arg exact_dif in compute_scoreMiaohe Lin1-10/+0
2020-08-24bpf: tcp: Allow bpf prog to write and parse TCP header optionMartin KaFai Lau1-0/+49
2020-08-24bpf: tcp: Add bpf_skops_hdr_opt_len() and bpf_skops_write_hdr_opt()Martin KaFai Lau1-2/+4
2020-08-24bpf: tcp: Add bpf_skops_established()Martin KaFai Lau1-1/+1
2020-08-24tcp: bpf: Add TCP_BPF_RTO_MIN for bpf_setsockoptMartin KaFai Lau1-1/+1
2020-08-10tcp: correct read of TFO keys on big endian systemsJason Baron1-0/+2
2020-07-31tcp: syncookies: create mptcp request socket for ACK cookies with MPTCP optionFlorian Westphal1-0/+2
2020-07-24net: pass a sockptr_t into ->setsockoptChristoph Hellwig1-2/+2
2020-07-24net/tcp: switch ->md5_parse to sockptr_tChristoph Hellwig1-1/+1
2020-07-19net/ipv6: remove compat_ipv6_{get,set}sockoptChristoph Hellwig1-4/+0
2020-07-04Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller1-0/+1
2020-06-24net: bpf: Add bpf_seq_afinfo in tcp_iter_stateYonghong Song1-0/+1
2020-06-23net: move tcp gro declarations to net/tcp.hEric Dumazet1-0/+4
2020-06-23tcp: move ipv4_specific to tcp include fileEric Dumazet1-0/+2
2020-06-23tcp: move ipv6_specific declaration to remove a warningEric Dumazet1-0/+2
2020-06-23tcp: add declarations to avoid warningsEric Dumazet1-0/+2
2020-06-20tcp: remove indirect calls for icsk->icsk_af_ops->send_checkEric Dumazet1-0/+3
2020-06-20tcp: remove indirect calls for icsk->icsk_af_ops->queue_xmitEric Dumazet1-0/+1
2020-06-03Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-nextLinus Torvalds1-14/+10
2020-06-01Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds1-1/+0
2020-05-29tcp: tcp_init_buffer_space can be staticFlorian Westphal1-1/+0
2020-05-28tcp: ipv6: support RFC 6069 (TCP-LD)Eric Dumazet1-0/+1
2020-05-15Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-1/+13
2020-05-12tcp: fix SO_RCVLOWAT hangs with fat skbsEric Dumazet1-0/+13
2020-05-08crypto: lib/sha1 - remove unnecessary includes of linux/cryptohash.hEric Biggers1-1/+0
2020-05-07net: remove spurious declaration of tcp_default_init_rwnd()Maciej Żenczykowski1-1/+0
2020-05-06tcp: refine tcp_pacing_delay() for very low pacing ratesEric Dumazet1-13/+8
2020-05-01net: Replace the limit of TCP_LINGER2 with TCP_FIN_TIMEOUT_MAXCambda Zhu1-0/+1
2020-04-18tcp: cache line align MAX_TCP_HEADEREric Dumazet1-1/+1
2020-03-20bpf, tcp: Make tcp_bpf_recvmsg staticYueHaibing1-2/+0
2020-03-09bpf: sockmap: Move generic sockmap hooks from BPF TCPLorenz Bauer1-6/+9
2020-03-09bpf: tcp: Guard declarations with CONFIG_NET_SOCK_MSGLorenz Bauer1-2/+2
2020-03-09bpf: tcp: Move assertions into tcp_bpf_get_protoLorenz Bauer1-1/+0
2020-02-21tcp_bpf: Don't let child socket inherit parent protocol ops on copyJakub Sitnicki1-0/+7
2020-01-23Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller1-0/+2
2020-01-19Merge ra.kernel.org:/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-2/+4