aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/arp.c
AgeCommit message (Expand)AuthorFilesLines
2024-05-01arp: Convert ioctl(SIOCGARP) to RCU.Kuniyuki Iwashima1-10/+18
2024-05-01arp: Get dev after calling arp_req_(delete|set|get)().Kuniyuki Iwashima1-36/+50
2024-05-01arp: Remove a nest in arp_req_get().Kuniyuki Iwashima1-13/+18
2024-05-01arp: Factorise ip_route_output() call in arp_req_set() and arp_req_delete().Kuniyuki Iwashima1-20/+30
2024-05-01arp: Validate netmask earlier for SIOCDARP and SIOCSARP in arp_ioctl().Kuniyuki Iwashima1-12/+15
2024-05-01arp: Move ATF_COM setting in arp_req_set().Kuniyuki Iwashima1-3/+6
2024-04-08ipv4: Set scope explicitly in ip_route_output().Guillaume Nault1-3/+6
2024-02-20arp: Prevent overflow in arp_req_get().Kuniyuki Iwashima1-1/+2
2023-03-15neighbour: annotate lockless accesses to n->nud_stateEric Dumazet1-4/+4
2022-08-22ipv4: move from strlcpy with unused retval to strscpyWolfram Sang1-1/+1
2022-07-15net: ipv4: new arp_accept option to accept garp only if in-networkJaehee Park1-2/+22
2022-06-30net, neigh: introduce interval_probe_time_ms for periodic probeYuwei Wang1-0/+1
2022-04-25arp: fix unused variable warnning when CONFIG_PROC_FS=nYajun Deng1-5/+2
2022-02-26net: neigh: add skb drop reasons to arp_error_report()Menglong Dong1-1/+1
2022-02-21ipv4: Invalidate neighbour for broadcast address upon address additionIdo Schimmel1-2/+7
2021-11-22arp: Remove #ifdef CONFIG_PROC_FSYajun Deng1-25/+8
2021-11-01net: arp: introduce arp_evict_nocarrier sysctl parameterJames Prestwood1-1/+10
2020-11-13net: Exempt multicast addresses from five-second neighbor lifetimeJeff Dike1-0/+6
2020-03-12inet: Use fallthrough;Joe Perches1-1/+1
2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152Thomas Gleixner1-5/+1
2018-10-12net: Evict neighbor entries on carrier downDavid Ahern1-0/+2
2018-05-16proc: introduce proc_create_net{,_data}Christoph Hellwig1-14/+3
2018-04-05arp: fix arp_filter on l3slave devicesMiguel Fadon Perlines1-1/+1
2018-03-27net: Drop pernet_operations::asyncKirill Tkhai1-1/+0
2018-03-26net: Use octal not symbolic permissionsJoe Perches1-1/+1
2018-02-13net: Convert pernet_subsys, registered from inet_init()Kirill Tkhai1-0/+1
2018-01-17Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+6
2018-01-16net: delete /proc THIS_MODULE referencesAlexey Dobriyan1-1/+0
2018-01-15ipv4: Make neigh lookup keys for loopback/point-to-point devices be INADDR_ANYJim Westfall1-1/+6
2017-10-18ipv4: mark expected switch fall-throughsGustavo A. R. Silva1-0/+1
2017-08-29neigh: increase queue_len_bytes to match wmem_defaultEric Dumazet1-1/+1
2017-06-16networking: make skb_put & friends return void pointersJohannes Berg1-1/+1
2017-06-04neigh: Really delete an arp/neigh entry on "ip neigh delete" or "arp -d"Sowmini Varadhan1-0/+4
2017-05-25arp: fixed -Wuninitialized compiler warningIhar Hrachyshka1-1/+1
2017-05-21arp: always override existing neigh entries with gratuitous ARPIhar Hrachyshka1-4/+5
2017-05-21arp: postpone addr_type calculation to as late as possibleIhar Hrachyshka1-7/+17
2017-05-21arp: decompose is_garp logic into a separate functionIhar Hrachyshka1-12/+23
2017-05-21arp: fixed error in a commentIhar Hrachyshka1-1/+1
2017-05-17arp: honour gratuitous ARP _replies_Ihar Hrachyshka1-2/+14
2017-03-22neighbour: fix nlmsg_pid in notificationsRoopa Prabhu1-3/+3
2017-02-13NET: Fix /proc/net/arp for AX.25Ralf Baechle1-6/+6
2016-04-27net: rename NET_{ADD|INC}_STATS_BH()Eric Dumazet1-1/+1
2016-03-07arp: correct return value of arp_rcvZhang Shengju1-15/+20
2016-02-11ipv4: add option to drop gratuitous ARP packetsJohannes Berg1-0/+8
2015-10-20Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-3/+5
2015-10-05ipv4: fix reply_dst leakage on arp replyJiri Benc1-3/+5
2015-09-26Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-14/+25
2015-09-24ipv4: send arp replies to the correct tunnelJiri Benc1-14/+25
2015-09-17netfilter: Pass net into okfnEric W. Biederman1-4/+3
2015-09-17netfilter: Pass struct net into the netfilter hooksEric W. Biederman1-4/+6
2015-09-17arp: Introduce arp_xmit_finishEric W. Biederman1-1/+6
2015-08-13net: Fix up inet_addr_type checksDavid Ahern1-6/+9
2015-07-31Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-7/+9
2015-07-28arp: filter NOARP neighbours for SIOCGARPEric Dumazet1-7/+9
2015-07-21arp: Inherit metadata dst when creating ARP requestsThomas Graf1-28/+37
2015-04-07netfilter: Pass socket pointer down through okfn().David Miller1-4/+6
2015-04-03ipv4: coding style: comparison for inequality with NULLIan Morris1-1/+1
2015-04-03ipv4: coding style: comparison for equality with NULLIan Morris1-13/+13
2015-03-04neigh: Factor out ___neigh_lookup_norefEric W. Biederman1-1/+8
2015-03-02neigh: Don't require dst in neigh_hh_initEric W. Biederman1-0/+1
2015-03-02arp: Kill arp_findEric W. Biederman1-65/+0
2015-03-02arp: Remove special case to give AX25 it's open arp operations.Eric W. Biederman1-37/+0
2014-11-11neigh: remove dynamic neigh table registration supportWANG Cong1-1/+1
2014-09-28arp: Do not perturb drop profiles with ignored ARP packetsRick Jones1-1/+5
2014-01-02ipv4: arp: update neighbour address when a gratuitous arp is received and arp...Salam Noureddine1-5/+10
2013-12-28arp: make arp_invalidate staticStephen Hemminger1-2/+1
2013-12-11ipv4: fix wildcard search with inet_confirm_addr()Nicolas Dichtel1-1/+3
2013-12-09neigh: use tbl->family to distinguish ipv4 from ipv6Jiri Pirko1-1/+1
2013-12-09neigh: convert parms to an arrayJiri Pirko1-15/+18
2013-09-03net: neighbour: Remove CONFIG_ARPDTim Gardner1-2/+0
2013-05-28arp: flush arp cache on IFF_NOARP changeTimo Teräs1-0/+6
2013-05-28net: pass info struct via netdevice notifierJiri Pirko1-1/+1
2013-03-26firewire net, ipv4 arp: Extend hardware address and remove driver-level packe...YOSHIFUJI Hideaki / 吉藤英明1-6/+21
2013-02-18net: proc: change proc_net_remove to remove_proc_entryGao feng1-1/+1
2013-02-18net: proc: change proc_net_fops_create to proc_createGao feng1-1/+1
2013-02-10arp: fix possible crash in arp_rcv()Eric Dumazet1-10/+11
2012-12-24arp: fix a regression in arp_solicit()Cong Wang1-3/+3
2012-12-21ipv4: arp: fix a lockdep splat in arp_solicit()Eric Dumazet1-5/+3
2012-11-18net: Allow userns root to control ipv4Eric W. Biederman1-1/+1
2012-09-18ipv4/route: arg delay is useless in rt_cache_flush()Nicolas Dichtel1-1/+1
2012-07-26ipv4: Fix input route performance regression.David S. Miller1-1/+1
2012-07-20ipv4: Adjust semantics of rt->rt_gateway.David S. Miller1-2/+1
2012-07-20ipv4: Kill ip_route_input_noref().David Miller1-1/+1
2012-06-27Revert "ipv4: tcp: dont cache unconfirmed intput dst"David S. Miller1-1/+1
2012-06-27ipv4: tcp: dont cache unconfirmed intput dstEric Dumazet1-1/+1
2012-06-12ipv4: Add interface option to enable routing of 127.0.0.0/8Thomas Graf1-1/+2
2012-05-16Merge branch 'delete-tokenring' of git://git.kernel.org/pub/scm/linux/kernel/...David S. Miller1-12/+1
2012-05-16net: ipv4 and ipv6: Convert printk(KERN_DEBUG to pr_debugJoe Perches1-4/+5
2012-05-15net: delete all instances of special processing for token ringPaul Gortmaker1-12/+1
2012-04-15net: cleanup unsigned to unsigned intEric Dumazet1-2/+2
2012-03-28Remove all #inclusions of asm/system.hDavid Howells1-1/+0
2012-03-16arp: allow arp processing to honor per interface arp_accept sysctlNeil Horman1-1/+1
2012-02-10net: Don't proxy arp respond if iif == rt->dst.dev if private VLAN is disabledThomas Graf1-1/+2
2011-12-28ipv6: Use universal hash for NDISC.David S. Miller1-3/+3
2011-12-06ipv4: arp: Cleanup in arp.cIgor Maravic1-10/+10
2011-11-30atm: clip: Use device neigh support on top of "arp_tbl".David Miller1-5/+0
2011-11-30neigh: Do not set tbl->entry_size in ipv4/ipv6 neigh tables.David Miller1-1/+0
2011-11-18ipv4: Remove all uses of LL_ALLOCATED_SPACEHerbert Xu1-2/+4
2011-11-14neigh: new unresolved queue limitsEric Dumazet1-1/+1
2011-07-17neigh: Pass neighbour entry to output ops.David S. Miller1-3/+3
2011-07-16neigh: Kill ndisc_ops->queue_xmitDavid S. Miller1-5/+1
2011-07-16neigh: Kill neigh_ops->hh_outputDavid S. Miller1-4/+0
2011-07-13ipv4: Inline neigh binding.David Miller1-24/+0
2011-07-11ipv4: Use universal hash for ARP.David S. Miller1-2/+1
2011-03-30net: gre: provide multicast mappings for ipv4 and ipv6Timo Teräs1-0/+3
2011-03-12ipv4: Create and use route lookup helpers.David S. Miller1-9/+3
2011-03-02ipv4: Make output route lookup return rtable directly.David S. Miller1-10/+9
2011-01-24net: arp_ioctl() must hold RTNLEric Dumazet1-6/+5
2011-01-10arp: allow to invalidate specific ARP entriesMaxim Levitsky1-11/+18
2010-12-08net: RCU conversion of dev_getbyhwaddr() and arp_ioctl()Eric Dumazet1-8/+9
2010-12-06net: arp: use assignmentChangli Gao1-1/+1
2010-11-17net: use the macros defined for the members of flowiChangli Gao1-6/+6
2010-10-11neigh: Protect neigh->ha[] with a seqlockEric Dumazet1-4/+2
2010-10-05net neigh: RCU conversion of neigh hash tableEric Dumazet1-3/+5
2010-09-29arp: remove unnecessary export of arp_broken_opsstephen hemminger1-2/+1
2010-09-23net: return operator cleanupEric Dumazet1-1/+1
2010-09-02net: arp: code cleanupChangli Gao1-103/+123
2010-07-12net/ipv4: EXPORT_SYMBOL cleanupsEric Dumazet1-11/+7
2010-06-25arp: RCU change in arp_solicit()Eric Dumazet1-5/+7
2010-06-10net-next: remove useless union keywordChangli Gao1-6/+6
2010-06-03arp: RCU changesEric Dumazet1-7/+4
2010-05-17net: Use ip_route_input_noref() in input pathEric Dumazet1-1/+1
2010-05-10net: Fix FDDI and TR config checks in ipv4 arp and LLC.David S. Miller1-3/+3
2010-03-30include cleanup: Update gfp.h and slab.h includes to prepare for breaking imp...Tejun Heo1-0/+1
2010-02-16net neigh: Decouple per interface neighbour table controls from binary sysctlsEric W. Biederman1-2/+1
2010-01-19ipv4: allow warming up the ARP cache with request type gratuitous ARPOctavian Purdila1-1/+2
2010-01-07net: RFC3069, private VLAN proxy arp supportJesper Dangaard Brouer1-4/+48
2009-11-12sysctl net: Remove unused binary sysctl codeEric W. Biederman1-1/+1
2009-09-01net: make neigh_ops constantStephen Hemminger1-4/+4
2009-07-30ipv4: ARP neigh procfs buffer overflowroel kluin1-1/+3
2009-06-30Revert "ipv4: arp announce, arp_proxy and windows ip conflict verification"Eric W. Biederman1-5/+2
2009-06-03net: skb->dst accessorsEric Dumazet1-1/+1
2009-06-03net: skb->rtable accessorEric Dumazet1-2/+2
2009-03-13ipv4: arp announce, arp_proxy and windows ip conflict verificationDenys Fedoryshchenko1-2/+5
2009-03-13Network Drop Monitor: Adding kfree_skb_clean for non-drops and modifying end-...Neil Horman1-1/+1
2009-03-10net: convert usage of packet_type to read_mostlyStephen Hemminger1-1/+1
2009-02-01net: replace uses of __constant_{endian}Harvey Harrison1-1/+1
2008-11-16ipv4: Fix ARP behavior with many mac-vlansBen Greear1-11/+11
2008-11-03net: clean up net/ipv4/pararp.cJianjun Kong1-7/+7
2008-10-31net: replace NIPQUAD() in net/ipv4/ net/ipv6/Harvey Harrison1-2/+2
2008-10-20netfilter: replace old NF_ARP calls with NFPROTO_ARPJan Engelhardt1-2/+2
2008-07-16mib: add net to NET_INC_STATS_BHPavel Emelyanov1-1/+1
2008-07-16inet: prepare net on the stack for NET accounting macrosPavel Emelyanov1-1/+2
2008-07-05netns: add namespace parameter to rt_cache_flushDenis V. Lunev1-1/+1
2008-06-11net: remove CVS keywordsAdrian Bunk1-2/+0
2008-05-21net/ipv4/arp.c: Use common hex_asc helpersDenis Cheng1-3/+2
2008-05-12net: Allow netdevices to specify needed head/tailroomJohannes Berg1-1/+1
2008-04-14[IPV4]: Use NIPQUAD_FMT to format ipv4 addresses.YOSHIFUJI Hideaki1-2/+2
2008-03-26[NET] NETNS: Omit net_device->nd_net without CONFIG_NET_NS.YOSHIFUJI Hideaki1-7/+7
2008-03-24[NETNS]: /proc/net/arp namespacing.Denis V. Lunev1-2/+18
2008-03-24[NETNS]: Process ARP in the context of the correct namespace.Denis V. Lunev1-14/+9
2008-03-05[IPV4]: Add 'rtable' field in struct sk_buff to alias 'dst' and avoid castsEric Dumazet1-2/+2
2008-03-03[ARP]: Introduce the arp_hdr_len helper.Pavel Emelyanov1-6/+3
2008-02-17Revert "[NDISC]: Fix race in generic address resolution"David S. Miller1-0/+3
2008-02-12[NDISC]: Fix race in generic address resolutionDavid S. Miller1-3/+0
2008-01-31[NETFILTER]: ebtables: remove casts, use constsJan Engelhardt1-4/+5
2008-01-28[NETNS]: Add namespace parameter to ip_route_output_key.Denis V. Lunev1-3/+3
2008-01-28[NETNS]: Process inet_confirm_addr in the correct namespace.Denis V. Lunev1-1/+0
2008-01-28[IPV4]: Remove extra argument from arp_ignore.Denis V. Lunev1-6/+5
2008-01-28[NETNS]: Make arp code network namespace consistent.Denis V. Lunev1-4/+4
2008-01-28[ARP]: Move inet_addr_type call after simple error checks in arp_contructor.Denis V. Lunev1-2/+2
2008-01-28[NETNS]: Add netns parameter to inet_(dev_)add_type.Eric W. Biederman1-6/+6
2008-01-28[IPV4]: Remove unsupported DNAT (RTCF_NAT and RTCF_NAT) in IPV4Rami Rosen1-3/+2
2008-01-28[NETNS]: Modify the neighbour table code so it handles multiple network names...Eric W. Biederman1-6/+6
2008-01-28[IPV4] net/ipv4: Use ipv4_is_<type>Joe Perches1-1/+1
2008-01-28[IPV4]: Switch users of ipv4_devconf(_all) to use the pernet onePavel Emelyanov1-2/+2
2008-01-28[IPV4]: Pass the net pointer to the arp_req_set_proxy()Pavel Emelyanov1-12/+16
2008-01-28[ARP]: Consolidate some code in arp_req_set/delete_publcPavel Emelyanov1-22/+19
2008-01-28[ARP]: Minus one level of ndentation in arp_req_deletePavel Emelyanov1-20/+27
2008-01-28[ARP]: Minus one level of indentation in arp_req_setPavel Emelyanov1-25/+33
2008-01-25IPoIB: improve IPv4/IPv6 to IB mcast mapping functionsRolf Manderscheid1-1/+1
2007-12-19[IPV4] ARP: Remove not used codeMark Ryden1-2/+1
2007-11-26[IPV4]: Remove bogus ifdef mess in arp_processAdrian Bunk1-19/+0
2007-11-20[ARP]: Fix arp reply when sender ip 0Jonas Danielsson1-1/+2
2007-10-10[NET]: Make core networking code use seq_open_privatePavel Emelyanov1-18/+2
2007-10-10[NET]: Move hardware header operations out of netdevice.Stephen Hemminger1-2/+4
2007-10-10[NET]: Wrap netdevice hardware header creation.Stephen Hemminger1-2/+1
2007-10-10[NET]: Make the device list and device lookups per namespace.Eric W. Biederman1-2/+2
2007-10-10[NET]: Make device event notification network namespace safeEric W. Biederman1-0/+3
2007-10-10[NET]: Make packet reception network namespace safeEric W. Biederman1-0/+3
2007-10-10[NET]: Make /proc/net per network namespaceEric W. Biederman1-1/+2
2007-07-14[IPV4]: Cleanup call to __neigh_lookup()Jean Delvare1-1/+1
2007-06-07[IPV4]: Convert IPv4 devconf to an arrayHerbert Xu1-5/+6
2007-04-25[SK_BUFF]: Introduce arp_hdr(), remove skb->nh.arphArnaldo Carvalho de Melo1-2/+2
2007-04-25[SK_BUFF]: Introduce ip_hdr(), remove skb->nh.iphArnaldo Carvalho de Melo1-3/+3
2007-04-25[NET]: make seq_operations constStephen Hemminger1-1/+1
2007-04-25[SK_BUFF]: Introduce skb_reset_network_header(skb)Arnaldo Carvalho de Melo1-1/+1
2007-04-25[IPV4]: cleanupStephen Hemminger1-1/+1
2007-02-14[PATCH] remove many unneeded #includes of sched.hTim Schmielau1-1/+0
2007-02-12[PATCH] mark struct file_operations const 7Arjan van de Ven1-1/+1
2007-02-10[NET] IPV4: Fix whitespace errors.YOSHIFUJI Hideaki1-33/+33
2006-12-02[IPV6]: Assorted trivial endianness annotations.Al Viro1-1/+1
2006-10-03fix file specification in commentsUwe Zeisberger1-1/+1
2006-09-28[IPV4] net/ipv4/arp.c: trivial annotationsAl Viro1-15/+15
2006-09-28[IPV4]: inet_addr_type() annotationsAl Viro1-2/+2
2006-09-28[IPV4]: inet_select_addr() annotationsAl Viro1-2/+2
2006-09-28[IPV4]: ip_route_input() annotationsAl Viro1-1/+1
2006-07-21[NET]: Conversions from kmalloc+memset to k(z|c)alloc.Panagiotis Issaris1-2/+1
2006-06-30Remove obsolete #include <linux/config.h>Jörn Engel1-1/+0
2006-04-14[IPV4]: Possible cleanups.Adrian Bunk1-2/+2