aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/ip.h
AgeCommit message (Expand)AuthorFilesLines
2024-01-26ipmr: fix kernel panic when forwarding mcast packetsNicolas Dichtel1-1/+1
2023-12-15inet: returns a bool from inet_sk_get_local_port_range()Eric Dumazet1-1/+1
2023-12-08Use READ/WRITE_ONCE() for IP local_port_range.David Laight1-1/+7
2023-10-19inet: lock the socket in ip_sock_set_tos()Eric Dumazet1-0/+1
2023-10-01inet: implement lockless IP_TOSEric Dumazet1-2/+1
2023-10-01inet: implement lockless IP_MTU_DISCOVEREric Dumazet1-5/+8
2023-09-01ipv4: ignore dst hint for multipath routesSriram Yagnaraman1-0/+1
2023-09-01net: annotate data-races around sk->sk_tsflagsEric Dumazet1-1/+1
2023-08-20ipv4: fix data-races around inet->inet_idEric Dumazet1-2/+13
2023-07-29net: annotate data-races around sk->sk_markEric Dumazet1-1/+1
2023-05-25Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+2
2023-05-25net: ipv4: use consistent txhash in TIME_WAIT and SYN_RECVAntoine Tenart1-1/+1
2023-05-24raw: Stop using RTO_ONLINK.Guillaume Nault1-5/+0
2023-05-24ping: Stop using RTO_ONLINK.Guillaume Nault1-0/+13
2023-05-23ip: Remove ip_append_page()David Howells1-2/+0
2023-05-23ipv{4,6}/raw: fix output xfrm lookup wrt protocolNicolas Dichtel1-0/+2
2023-01-25inet: Add IP_LOCAL_PORT_RANGE socket optionJakub Sitnicki1-1/+2
2022-11-17net: use struct_group to copy ip/ipv6 header addressesHangbin Liu1-1/+1
2022-09-02bpf: Change bpf_getsockopt(SOL_IP) to reuse do_ip_getsockopt()Martin KaFai Lau1-0/+2
2022-08-18bpf: Change bpf_setsockopt(SOL_IP) to reuse do_ip_setsockopt()Martin KaFai Lau1-0/+2
2022-07-20ip: Fix data-races around sysctl_ip_prot_sock.Kuniyuki Iwashima1-1/+1
2022-07-15ip: Fix a data-race around sysctl_fwmark_reflect.Kuniyuki Iwashima1-1/+1
2022-07-15ip: Fix data-races around sysctl_ip_fwd_use_pmtu.Kuniyuki Iwashima1-1/+1
2022-05-19Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+1
2022-05-16net: annotate races around sk->sk_bound_dev_ifEric Dumazet1-1/+1
2022-05-16xfrm: fix "disable_policy" flag use when arriving from different devicesEyal Birger1-0/+1
2022-01-31ipv4: Make ip_idents_reserve staticDavid Ahern1-1/+0
2022-01-29ipv4: drop fragmentation code from ip_options_build()Jakub Kicinski1-1/+1
2022-01-27ipv4: avoid using shared IP generator for connected socketsEric Dumazet1-11/+10
2021-11-20ipv4: Exposing __ip_sock_set_tos() in ip.hPoorva Sonparote1-0/+1
2021-11-16net: move gro definitions to include/net/gro.hEric Dumazet1-8/+0
2021-10-25ipv4: guard IP_MINTTL with a static keyEric Dumazet1-0/+2
2021-09-30net: snmp: inline snmp_get_cpu_field()Eric Dumazet1-1/+5
2021-07-21net: ipv4: Consolidate ipv4_mtu and ip_dst_mtu_maybe_forwardVadim Fedorenko1-4/+18
2021-06-28net: lwtunnel: handle MTU calculation in forwadingVadim Fedorenko1-4/+8
2020-11-10inet: constify inet_sdif() argumentEric Dumazet1-1/+1
2020-10-05Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-0/+6
2020-09-24net/ipv4: always honour route mtu during forwardingMaciej Żenczykowski1-0/+6
2020-09-10ip: pass tos into ip_build_and_send_pkt()Wei Wang1-1/+1
2020-07-24net: pass a sockptr_t into ->setsockoptChristoph Hellwig1-1/+1
2020-07-24net/ipv4: merge ip_options_get and ip_options_get_from_userChristoph Hellwig1-3/+2
2020-07-19net/ipv4: remove compat_ip_{get,set}sockoptChristoph Hellwig1-4/+0
2020-06-20tcp: remove indirect calls for icsk->icsk_af_ops->queue_xmitEric Dumazet1-5/+1
2020-05-28ipv4: add ip_sock_set_pktinfoChristoph Hellwig1-0/+1
2020-05-28ipv4: add ip_sock_set_mtu_discoverChristoph Hellwig1-0/+1
2020-05-28ipv4: add ip_sock_set_recverrChristoph Hellwig1-0/+1
2020-05-28ipv4: add ip_sock_set_freebindChristoph Hellwig1-0/+1
2020-05-28ipv4: add ip_sock_set_tosChristoph Hellwig1-0/+2
2019-12-07inet: protect against too small mtu values.Eric Dumazet1-0/+5
2019-11-26net: inet_is_local_reserved_port() port arg should be unsigned shortMaciej Żenczykowski1-2/+2
2019-11-26net: port < inet_prot_sock(net) --> inet_port_requires_bind_service(net, port)Maciej Żenczykowski1-4/+4
2019-11-22net: inet_is_local_reserved_port() should return bool not intMaciej Żenczykowski1-4/+4
2019-10-21ipv4: fix IPSKB_FRAG_PMTU handling with fragmentationEric Dumazet1-2/+2
2019-09-13ip: support SO_MARK cmsgWillem de Bruijn1-0/+1
2019-06-14ipv4: tcp: fix ACK/RST sent with a transmit delayEric Dumazet1-1/+1
2019-06-07Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-5/+1
2019-06-03net: fix use-after-free in kfree_skb_listEric Dumazet1-1/+0
2019-05-30net: ipv4: split skbuff into fragments transformerPablo Neira Ayuso1-0/+16
2019-05-30net: ipv4: add skbuff fraglist splitterPablo Neira Ayuso1-0/+23
2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152Thomas Gleixner1-5/+1
2019-04-05Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+1
2019-04-01vrf: check accept_source_route on the original netdeviceStephen Suryaputra1-1/+1
2019-03-21ipv4: Allow amount of dirty memory from fib resizing to be controllableDavid Ahern1-0/+4
2019-03-01ipv4: Add ICMPv6 support when parse route ipprotoHangbin Liu1-1/+1
2019-02-25net: avoid use IPCB in cipso_v4_errorNazarov Sergey1-0/+2
2018-11-07ip: factor out protocol delivery helperPaolo Abeni1-0/+1
2018-11-06net: Add extack argument to ip_fib_metrics_initDavid Ahern1-1/+2
2018-10-04net: Move free of dst_metrics to helperDavid Ahern1-0/+9
2018-10-04net: common metrics init helper for dst_entryDavid Ahern1-0/+12
2018-10-04net: Move free of fib_metrics to helperDavid Ahern1-0/+6
2018-10-04net: common metrics init helper for FIB entriesDavid Ahern1-2/+2
2018-07-07ip: remove tx_flags from ipcm_cookie and use same logic for v4 and v6Willem de Bruijn1-1/+0
2018-07-07ipv4: ipcm_cookie initializersWillem de Bruijn1-0/+15
2018-07-04net: ipv4: listified version of ip_rcvEdward Cree1-0/+2
2018-07-04ipv4: add __ip_queue_xmit() that supports tos paramXin Long1-1/+8
2018-05-23ipv4: support sport, dport and ip_proto in RTM_GETROUTERoopa Prabhu1-0/+3
2018-04-26udp: generate gso with UDP_SEGMENTWillem de Bruijn1-0/+1
2018-04-26udp: expose inet cork to udpWillem de Bruijn1-1/+1
2018-04-17net: Move fib_convert_metrics to metrics fileDavid Ahern1-0/+3
2018-03-31inet: frags: remove some helpersEric Dumazet1-1/+0
2018-03-23Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-2/+9
2018-03-22net: Make ip_ra_chain per struct netKirill Tkhai1-2/+11
2018-03-14ipv4: lock mtu in fnhe when received PMTU < net.ipv4.route.min_pmtuSabrina Dubroca1-2/+9
2018-02-28inet: whitespace cleanupStephen Hemminger1-6/+6
2017-12-16Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-0/+1
2017-12-13ipv4: igmp: guard against silly MTU valuesEric Dumazet1-0/+1
2017-12-03udp: Move udp[46]_portaddr_hash() to net/ip[v6].hMartin KaFai Lau1-0/+9
2017-08-21Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-2/+2
2017-08-16ipv4: better IP_MAX_MTU enforcementEric Dumazet1-2/+2
2017-08-07net: ipv4: add second dif to udp socket lookupsDavid Ahern1-0/+10
2017-08-06ip/options: explicitly provide net ns to __ip_options_echo()Paolo Abeni1-4/+5
2017-04-13net: ipv4: Refine the ipv4_default_advmssGao Feng1-0/+2
2017-01-24Introduce a sysctl that modifies the value of PROT_SOCK.Krister Johansen1-0/+10
2016-11-15Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-2/+1
2016-11-07net/sock: add an explicit sk argument for ip_cmsg_recv_offset()Paolo Abeni1-2/+3
2016-11-04net: inet: Support UID-based routing in IP protocols.Lorenzo Colitti1-0/+1
2016-11-03ipv4: allow local fragmentation in ip_finish_output_gso()Lance Richardson1-2/+1
2016-10-26udp: fix IP_CHECKSUM handlingEric Dumazet1-2/+2
2016-10-17net: Require exact match for TCP socket lookups if dif is l3mdevDavid Ahern1-1/+7
2016-09-30net:snmp: Introduce generic interfaces for snmp_get_cpu_field{, 64}Jia He1-0/+23
2016-07-19net/ipv4: Introduce IPSKB_FRAG_SEGS bit to inet_skb_parm.flagsShmulik Ladkani1-0/+1
2016-06-30ipv4: Fix ip_skb_dst_mtu to use the sk passed by ip_finish_outputShmulik Ladkani1-3/+2
2016-05-11net: original ingress device index in PKTINFODavid Ahern1-0/+1
2016-04-27net: snmp: kill STATS_BH macrosEric Dumazet1-5/+5
2016-04-27net: rename NET_{ADD|INC}_STATS_BH()Eric Dumazet1-2/+2
2016-04-27net: rename IP_UPD_PO_STATS_BH()Eric Dumazet1-1/+1
2016-04-27net: rename IP_ADD_STATS_BH()Eric Dumazet1-1/+1
2016-04-27net: rename IP_INC_STATS_BH()Eric Dumazet1-1/+1
2016-04-27net: snmp: kill various STATS_USER() helpersEric Dumazet1-2/+0
2016-04-04ipv4: process socket-level control messages in IPv4Soheil Hassas Yeganeh1-1/+2
2016-03-01net: ipv4: Convert IP network timestamps to be y2038 safeDeepa Dinamani1-0/+2
2016-02-16ipv4: namespacify ip_early_demux sysctl knobNikolay Borisov1-3/+0
2016-02-16ipv4: Namespacify ip_dynaddr sysctl knobNikolay Borisov1-3/+0
2015-10-12ipv4: Pass struct net into ip_defrag and ip_check_defragEric W. Biederman1-3/+3
2015-10-08dst: Pass net into dst->outputEric W. Biederman1-2/+2
2015-10-08ipv4, ipv6: Pass net into ip_local_out and ip6_local_outEric W. Biederman1-1/+1
2015-10-08ipv4, ipv6: Pass net into __ip_local_out and __ip6_local_outEric W. Biederman1-1/+1
2015-10-08ipv4: Merge ip_local_out and ip_local_out_skEric W. Biederman1-5/+1
2015-10-08ipv4: Merge __ip_local_out and __ip_local_out_skEric W. Biederman1-2/+1
2015-10-08dst: Pass a sk into .local_outEric W. Biederman1-0/+1
2015-10-05Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiede...David S. Miller1-2/+2
2015-10-05inet: ip_skb_dst_mtu() should use sk_fullsock()Eric Dumazet1-3/+6
2015-09-30ipv4: Pass struct net through ip_fragmentEric W. Biederman1-2/+2
2015-09-25ip: constify ip_build_and_send_pkt() socket argumentEric Dumazet1-1/+1
2015-09-25inet: constify ip_dont_fragment() argumentsEric Dumazet1-3/+5
2015-08-30net: Introduce helper functions to get the per cpu dataRaghavendra K T1-0/+10
2015-08-28net: Introduce ipv4_addr_hash and use it for tcp metricsDavid Ahern1-0/+5
2015-07-29net: Set sk_txhash from a random numberTom Herbert1-16/+0
2015-07-15ipv6: lock socket in ip6_datagram_connect()Eric Dumazet1-0/+1
2015-06-04net: Add full IPv6 addresses to flow_keysTom Herbert1-2/+17
2015-06-04net: Get skb hash over flow_keys structureTom Herbert1-0/+2
2015-05-27ip_fragment: don't forward defragmented DF packetFlorian Westphal1-0/+1
2015-05-19ip: remove unused function prototypeAndy Zhou1-1/+0
2015-05-19bridge_netfilter: No ICMP packet on IPv4 fragmentation errorAndy Zhou1-2/+2
2015-05-19ipv4: introduce frag_expire_skip_icmp()Andy Zhou1-0/+10
2015-05-13flow_dissector: change port array into src, dst tupleJiri Pirko1-2/+2
2015-05-13flow_dissect: use programable dissector in skb_flow_dissect and friendsJiri Pirko1-4/+4
2015-05-13net: change name of flow_dissector header to match the .c file nameJiri Pirko1-1/+1
2015-04-07netfilter: Pass socket pointer down through okfn().David Miller1-1/+2
2015-04-06Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-16/+0
2015-04-06ipv6: protect skb->sk accesses from recursive dereference inside the stackhannes@stressinduktion.org1-16/+0
2015-03-25ipv4: hash net ptr into fragmentation bucket selectionHannes Frederic Sowa1-5/+7
2015-02-05Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+1
2015-02-01ipv4: tcp: get rid of ugly unicast_sockEric Dumazet1-1/+1
2015-01-27Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-5/+6
2015-01-26ipv4: try to cache dst_entries which would cause a redirectHannes Frederic Sowa1-5/+6
2015-01-05ip: Add offset parameter to ip_cmsg_recvTom Herbert1-1/+6
2014-09-28ipv4: rename ip_options_echo to __ip_options_echo()Eric Dumazet1-3/+12
2014-09-23icmp: add a global rate limitationEric Dumazet1-0/+4
2014-09-09net/ipv4: bind ip_nonlocal_bind to current netnsVincent Bernat1-2/+0
2014-08-24net: add gro_compute_pseudo functionsTom Herbert1-0/+8
2014-07-30Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-10/+1
2014-07-29ipv4: fail early when creating netdev named all or defaultWANG Cong1-0/+6
2014-07-28ip: make IP identifiers less predictableEric Dumazet1-10/+1
2014-07-27inet: frag: don't account number of fragment queuesFlorian Westphal1-1/+0
2014-07-07net: Save TX flow hash in sock and set in skbuf on xmitTom Herbert1-0/+14
2014-06-02inetpeer: get rid of ip_id_countEric Dumazet1-17/+23
2014-05-15net: Fix CONFIG_SYSCTL ifdef test.David S. Miller1-1/+1
2014-05-14ipv4: make ip_local_reserved_ports per netnsWANG Cong1-3/+11
2014-05-13net: add a sysctl to reflect the fwmark on repliesLorenzo Colitti1-0/+3
2014-05-12net: rename local_df to ignore_dfWANG Cong1-3/+3
2014-05-07net: clean up snmp stats codeWANG Cong1-15/+3
2014-05-05net: Call skb_checksum_init in IPv4Tom Herbert1-0/+6
2014-04-15ipv4: add a sock pointer to dst->output() path.Eric Dumazet1-3/+8
2014-04-15ipv4: add a sock pointer to ip_queue_xmit()Eric Dumazet1-1/+1
2014-03-06tcp: Use NET_ADD_STATS instead of NET_ADD_STATS_BH in tcp_event_new_data_sent()David S. Miller1-0/+1
2014-02-26ipv4: yet another new IP_MTU_DISCOVER option IP_PMTUDISC_OMITHannes Frederic Sowa1-1/+8
2014-02-19ipv6: honor IPV6_PKTINFO with v4 mapped addresses on sendmsgHannes Frederic Sowa1-1/+2
2014-01-19ipv6: make IPV6_RECVPKTINFO work for ipv4 datagramsHannes Frederic Sowa1-0/+1
2014-01-14ipv4: register igmp_notifier even when !CONFIG_PROC_FSWANG Cong1-1/+1
2014-01-13ipv4: introduce ip_dst_mtu_maybe_forward and protect forwarding path against ...Hannes Frederic Sowa1-0/+33
2013-12-18inet: make no_pmtu_disc per namespace and kill ipv4_configHannes Frederic Sowa1-6/+0
2013-11-23inet: fix addr_len/msg->msg_namelen assignment in recv_error and rxpmtu funct...Hannes Frederic Sowa1-1/+1
2013-10-09ipv6: make lookups simpler and fasterEric Dumazet1-1/+1
2013-10-08net: ipv4 only populate IP_PKTINFO when neededShawn Bohrer1-1/+1
2013-09-30net ipv4: Convert ipv4.ip_local_port_range to be per netns v3Eric W. Biederman1-5/+1
2013-09-28ipv4: processing ancillary IP_TOS or IP_TTLFrancesco Fusco1-0/+11
2013-09-28ipv4: IP_TOS and IP_TTL can be specified as ancillary dataFrancesco Fusco1-0/+3
2013-09-21ip*.h: Remove extern from function prototypesJoe Perches1-85/+84
2013-09-19ip: generate unique IP identificator if local fragmentation is allowedAnsis Atteka1-4/+8
2013-09-02net: make snmp_mib_free static inlineCong Wang1-1/+11
2013-01-21ipv4: Add a socket release callback for datagram socketsSteffen Klassert1-0/+2
2012-08-26ipv4: fix path MTU discovery with connection trackingPatrick McHardy1-0/+2
2012-08-10ipv4: fix ip_send_skb()Eric Dumazet1-1/+1
2012-07-19ipv4: tcp: remove per net tcp_sockEric Dumazet1-1/+1
2012-06-28ipv4: Show that ip_send_reply() is purely unicast routine.David S. Miller1-2/+3
2012-06-22ipv4: Add sysctl knob to control early socket demuxAlexander Duyck1-0/+3
2012-05-15net: delete all instances of special processing for token ringPaul Gortmaker1-17/+0
2012-04-20net: Delete all remaining instances of ctl_pathEric W. Biederman1-3/+0
2012-03-09ipv4: Make ip_call_ra_chain() return bool.David S. Miller1-1/+1
2011-12-11net: use IS_ENABLED(CONFIG_IPV6)Eric Dumazet1-3/+3
2011-11-09ipv4: PKTINFO doesnt need dst referenceEric Dumazet1-1/+1
2011-10-24ipv4: tcp: fix TOS value in ACK messages sent from TIME_WAITEric Dumazet1-1/+2
2011-10-18macvlan: handle fragmented multicast framesEric Dumazet1-0/+9
2011-07-05ipv4: Add ip_defrag() agent IP_DEFRAG_AF_PACKET.David S. Miller1-1/+2
2011-06-23net: Fix build failures due to ip_is_fragment()David S. Miller1-5/+5
2011-06-21ip: introduce ip_is_fragment helper inline functionPaul Gortmaker1-0/+5
2011-06-08inetpeer: remove unused listEric Dumazet1-2/+0
2011-05-10ipv4: Pass explicit daddr arg to ip_send_reply().David S. Miller1-2/+2
2011-05-08ipv4: Pass flow key down into ip_append_*().David S. Miller1-2/+2