aboutsummaryrefslogtreecommitdiffstats
path: root/net/batman-adv/bat_iv_ogm.c
AgeCommit message (Expand)AuthorFilesLines
2023-08-14batman-adv: Drop per algo GW section class codeSven Eckelmann1-0/+1
2023-01-06batman-adv: Drop prandom.h includesSven Eckelmann1-1/+0
2022-11-18treewide: use get_random_u32_below() instead of deprecated functionJason A. Donenfeld1-2/+2
2022-03-02batman-adv: Migrate to linux/container_of.hSven Eckelmann1-1/+1
2021-08-08batman-adv: Drop NULL check before dropping referencesSven Eckelmann1-50/+25
2021-06-18Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+3
2021-05-18batman-adv: Avoid WARN_ON timing related checksSven Eckelmann1-1/+3
2021-05-17batman-adv: Always send iface index+name in genlmsgSven Eckelmann1-0/+6
2021-03-30batman-adv: Fix misspelled "wont"Sven Eckelmann1-1/+1
2021-02-06batman-adv: Drop publication years from copyright infoSven Eckelmann1-1/+1
2020-12-04batman-adv: Drop deprecated debugfs supportSven Eckelmann1-229/+0
2020-08-18batman-adv: Migrate to linux/prandom.hSven Eckelmann1-0/+1
2020-06-26batman-adv: Introduce a configurable per interface hop penaltyLinus Lüssing1-8/+9
2020-06-26batman-adv: Fix typos and grammar in documentationSven Eckelmann1-4/+4
2020-04-21batman-adv: Utilize prandom_u32_max for random [0, max) valuesSven Eckelmann1-2/+2
2020-02-18batman-adv: Don't schedule OGM for disabled interfaceSven Eckelmann1-0/+4
2020-01-01batman-adv: Update copyright years for 2020Sven Eckelmann1-1/+1
2019-10-13batman-adv: Avoid free/alloc race when handling OGM bufferSven Eckelmann1-9/+52
2019-08-23batman-adv: Only read OGM tvlv_len after buffer len checkSven Eckelmann1-7/+13
2019-06-02batman-adv: Fix duplicated OGMs on NETDEV_UPSven Eckelmann1-2/+2
2019-03-25batman-adv: Drop license boilerplateSven Eckelmann1-12/+0
2019-01-04batman-adv: Update copyright years for 2019Sven Eckelmann1-1/+1
2018-11-12batman-adv: Add inconsistent gateway netlink dump detectionSven Eckelmann1-9/+15
2018-11-12batman-adv: Drop unused lockdep includeSven Eckelmann1-1/+0
2018-09-15batman-adv: Move OGM rebroadcast stats to orig_ifinfoSven Eckelmann1-234/+96
2018-06-23batman-adv: Fix bat_ogm_iv best gw refcnt after netlink dumpSven Eckelmann1-1/+3
2018-03-06Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-11/+15
2018-02-26batman-adv: Update copyright years for 2018Sven Eckelmann1-1/+1
2018-02-25batman-adv: Fix internal interface indices typesSven Eckelmann1-10/+14
2018-02-25batman-adv: Ignore invalid batadv_iv_gw during netlink sendSven Eckelmann1-1/+1
2017-12-21batman-adv: Convert packet.h to uapi headerSven Eckelmann1-1/+1
2017-12-20Merge tag 'batadv-next-for-davem-20171220' of git://git.open-mesh.org/linux-m...David S. Miller1-45/+60
2017-12-15batman-adv: Add kernel-doc to externally visible functionsSven Eckelmann1-0/+5
2017-12-15batman-adv: Use inline kernel-doc for enum/structSven Eckelmann1-5/+12
2017-12-15batman-adv: Use parentheses in function kernel-docSven Eckelmann1-39/+41
2017-12-15batman-adv: include gfp.h for GFP_* definesSven Eckelmann1-1/+1
2017-12-15batman-adv: Add SPDX license identifier above copyright headerSven Eckelmann1-0/+1
2017-12-04batman-adv: Fix lock for ogm cnt access in batadv_iv_ogm_calc_tqSven Eckelmann1-2/+2
2017-09-28batman-adv: Remove unnecessary parenthesesSven Eckelmann1-12/+12
2017-07-29batman-adv: Remove variable deprecated by skb_put_dataSven Eckelmann1-3/+1
2017-07-29batman-adv: Remove too short %pM printk field widthSven Eckelmann1-1/+1
2017-06-16networking: introduce and use skb_put_data()Johannes Berg1-2/+2
2017-05-23batman-adv: Print correct function names in dbg messagesSven Eckelmann1-1/+2
2017-05-23batman-adv: Replace a seq_puts() call by seq_putc() in two functionsMarkus Elfring1-1/+1
2017-04-06Merge tag 'batadv-next-for-davem-20170406' of git://git.open-mesh.org/linux-m...David S. Miller1-8/+9
2017-03-26batman-adv: privatize forw_packet skb assignmentLinus Lüssing1-8/+9
2017-03-16Merge tag 'batadv-net-for-davem-20170316' of git://git.open-mesh.org/linux-mergeDavid S. Miller1-0/+11
2017-03-04batman-adv: Initialize gw sel_class via batadv_algoSven Eckelmann1-0/+11
2017-01-26batman-adv: update copyright years for 2017Sven Eckelmann1-1/+1
2016-11-08batman-adv: fix rare race conditions on interface removalLinus Lüssing1-13/+6
2016-11-08batman-adv: Cache the type of wifi device for each hardifSven Eckelmann1-1/+1
2016-11-08batman-adv: Consume skb in receive handlersSven Eckelmann1-7/+15
2016-10-30batman-adv: use consume_skb for non-dropped packetsSven Eckelmann1-5/+8
2016-10-19batman-adv: Use proper name for gateway list headSven Eckelmann1-3/+3
2016-08-09batman-adv: Allow to disable debugfs supportSven Eckelmann1-0/+12
2016-08-09batman-adv: Place kref_get for orig_node near useSven Eckelmann1-3/+4
2016-08-09batman-adv: add B.A.T.M.A.N. IV bat_gw_dump implementationsAndrew Lunn1-0/+105
2016-08-09batman-adv: add B.A.T.M.A.N. IV bat_{orig, neigh}_dump implementationsMatthias Schiffer1-0/+366
2016-08-09batman-adv: Introduce forward packet creation helperLinus Lüssing1-29/+9
2016-08-09batman-adv: iv_ogm, Reduce code duplicationMarkus Pargmann1-30/+47
2016-08-09batman-adv: make GW election code protocol specificAntonio Quartulli1-0/+219
2016-08-09batman-adv: Remove unused primary_if and bat_priv variablesLinus Lüssing1-15/+4
2016-07-04batman-adv: split routing API data structure in subobjectsAntonio Quartulli1-14/+19
2016-06-30batman-adv: Fix bat_(iv|v) function declaration headerSven Eckelmann1-1/+2
2016-06-30batman-adv: Consolidate logging related functionsSven Eckelmann1-0/+1
2016-06-30batman-adv: split tvlv into a separate fileMarkus Pargmann1-0/+1
2016-06-30batman-adv: Keep includes ordered by filenameSven Eckelmann1-1/+1
2016-06-30batman-adv: remove ogm_emit and ogm_schedule API callsAntonio Quartulli1-4/+65
2016-06-30batman-adv: refactor batadv_neigh_node_* functions to follow common styleMarek Lindner1-1/+2
2016-05-18batman-adv: Fix integer overflow in batadv_iv_ogm_calc_tqSven Eckelmann1-2/+3
2016-05-18batman-adv: Fix unexpected free of bcast_own on add_if errorSven Eckelmann1-3/+1
2016-05-10batman-adv: Use bool as return type for boolean functionsSven Eckelmann1-11/+12
2016-05-10batman-adv: Use kref_get for hard_iface subfunctionsSven Eckelmann1-11/+3
2016-05-10batman-adv: Check hard_iface refcnt before calling functionSven Eckelmann1-0/+11
2016-05-04batman-adv: Split batadv_iv_ogm_orig_del_if functionSven Eckelmann1-39/+76
2016-05-04batman-adv: use static string for table headersAntonio Quartulli1-5/+3
2016-02-29batman-adv: keep track of when unicast packets are sentAntonio Quartulli1-1/+1
2016-02-23batman-adv: Rename batadv_hardif_neigh *_free_ref function to *_putSven Eckelmann1-1/+1
2016-02-23batman-adv: Rename batadv_orig_ifinfo *_free_ref function to *_putSven Eckelmann1-2/+2
2016-02-23batman-adv: Rename batadv_neigh_ifinfo *_free_ref function to *_putSven Eckelmann1-12/+12
2016-02-23batman-adv: Rename batadv_neigh_node *_free_ref function to *_putSven Eckelmann1-8/+8
2016-02-23batman-adv: Rename batadv_hardif *_free_ref function to *_putSven Eckelmann1-5/+5
2016-02-23batman-adv: Rename batadv_orig_node *_free_ref function to *_putSven Eckelmann1-8/+8
2016-02-10batman-adv: Convert batadv_hard_iface to krefSven Eckelmann1-2/+2
2016-02-10batman-adv: Convert batadv_neigh_node to krefSven Eckelmann1-2/+3
2016-02-10batman-adv: add seqno maximum age and protection start flag parametersSimon Wunderlich1-1/+2
2016-02-02batman-adv: update copyright years for 2016Sven Eckelmann1-1/+1
2016-02-02batman-adv: add kerneldoc for batadv_iv_ogm_aggr_packetSimon Wunderlich1-1/+8
2016-02-02batman-adv: Fix kerneldoc parsing of return descriptionSven Eckelmann1-9/+9
2016-01-11Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-2/+4
2016-01-09batman-adv: remove leftovers of unused BATADV_PRIMARIES_FIRST_HOP flagMarek Lindner1-3/+0
2016-01-07batman-adv: Fix invalid read while copying bat_iv.bcast_ownSven Eckelmann1-2/+4
2015-12-16batman-adv: rename equiv/equal or better to similar or betterSimon Wunderlich1-4/+4
2015-12-16batman-adv: update last seen field of single hop originatorsMarek Lindner1-0/+10
2015-12-16batman-adv: export single hop neighbor list via debugfsMarek Lindner1-0/+53
2015-08-27batman-adv: rearrange batadv_neigh_node_new() arguments to follow conventionMarek Lindner1-1/+1
2015-08-27batman-adv: move neigh_node list add into batadv_neigh_node_new()Marek Lindner1-20/+1
2015-08-27batman-adv: remove redundant hard_iface assignmentMarek Lindner1-1/+0
2015-08-27batman-adv: move hardif refcount inc to batadv_neigh_node_new()Marek Lindner1-6/+0
2015-08-25batman-adv: Fix conditional statements indentationSven Eckelmann1-1/+1
2015-08-25batman-adv: Remove multiple assignment per lineSven Eckelmann1-2/+4
2015-08-25batman-adv: Replace C99 int types with kernel typeSven Eckelmann1-48/+46
2015-06-07batman-adv: Clarify calculation precedence for '&' and '?'Sven Eckelmann1-1/+1
2015-06-07batman-adv: Add required includes to all filesSven Eckelmann1-6/+36
2015-06-03batman-adv: Remove unnecessary check for orig_ifinfo not NULLSven Eckelmann1-2/+1
2015-06-03batman-adv: iv_ogm, fix comment function nameMarkus Pargmann1-1/+1
2015-06-03batman-adv: iv_ogm, fix coding styleMarkus Pargmann1-1/+3
2015-06-03batman-adv: iv_ogm, Fix dup_status commentMarkus Pargmann1-1/+1
2015-06-03batman-adv: iv_ogm_orig_update, style, add missing bracketsMarkus Pargmann1-1/+2
2015-06-03batman-adv: iv_ogm_queue_add, Simplify expressionsMarkus Pargmann1-2/+2
2015-06-03batman-adv: iv_ogm_aggregate_new, simplify error handlingMarkus Pargmann1-15/+13
2015-05-29batman-adv: iv_ogm_orig_update, remove unnecessary bracketsMarkus Pargmann1-1/+1
2015-05-29batman-adv: iv_ogm_can_aggregate, code readabilityMarkus Pargmann1-49/+53
2015-05-29batman-adv: iv_ogm_send_to_if, declare char* as constMarkus Pargmann1-1/+1
2015-05-29batman-adv: iv_ogm_aggr_packet, bool return valueMarkus Pargmann1-2/+2
2015-05-29batman-adv: iv_ogm_iface_enable, direct return valuesMarkus Pargmann1-6/+2
2015-05-29batman-adv: update copyright years for 2015Sven Eckelmann1-1/+1
2015-01-07batman-adv: checkpatch - remove unnecessary parenthesesAntonio Quartulli1-2/+2
2015-01-07batman-adv: checkpatch - Please don't use multiple blank linesAntonio Quartulli1-2/+0
2015-01-07batman-adv: kernel doc fixes for bat_iv_ogm.cMartin Hundebøll1-4/+5
2014-08-04batman-adv: prefer kmalloc_array to kmalloc when possibleAntonio Quartulli1-6/+7
2014-05-10batman-adv: fix neigh_ifinfo imbalanceSimon Wunderlich1-0/+2
2014-03-22batman-adv: prefer ether_addr_copy to memcpyAntonio Quartulli1-5/+5
2014-02-17batman-adv: avoid double free when orig_node initialization failsAntonio Quartulli1-4/+2
2014-02-17batman-adv: fix potential orig_node reference leakSimon Wunderlich1-0/+2
2014-02-17batman-adv: avoid potential race condition when adding a new neighbourAntonio Quartulli1-6/+16
2014-01-16batman-adv: use consistent kerneldoc styleSimon Wunderlich1-2/+4
2014-01-12batman-adv: update copyright years for 2014Simon Wunderlich1-1/+1
2014-01-12batman-adv: add debugfs support to view multiif tablesSimon Wunderlich1-5/+7
2014-01-12batman-adv: consider outgoing interface in OGM sendingSimon Wunderlich1-57/+96
2014-01-12batman-adv: add WiFi penaltySimon Wunderlich1-5/+22
2014-01-12batman-adv: split out router from orig_nodeSimon Wunderlich1-185/+269
2014-01-12batman-adv: split tq information in neigh_node structSimon Wunderlich1-55/+212
2014-01-12batman-adv: remove bonding and interface alternatingSimon Wunderlich1-5/+0
2014-01-08batman-adv: remove FSF address from GPL disclaimerAntonio Quartulli1-3/+1
2013-12-28batman-adv: fix header alignment by unrolling batadv_headerSimon Wunderlich1-18/+18
2013-10-23batman-adv: provide orig_node routing APIAntonio Quartulli1-0/+126
2013-10-23batman-adv: adapt bonding to use the new API functionsAntonio Quartulli1-1/+1
2013-10-23batman-adv: add bat_neigh_is_equiv_or_better API functionAntonio Quartulli1-0/+18
2013-10-23batman-adv: add bat_neigh_cmp API functionAntonio Quartulli1-0/+20
2013-10-23batman-adv: add bat_orig_print API functionAntonio Quartulli1-0/+65
2013-10-23batman-adv: make struct batadv_orig_node algorithm agnosticAntonio Quartulli1-27/+81
2013-10-23batman-adv: make struct batadv_neigh_node algorithm agnosticAntonio Quartulli1-27/+33
2013-10-09batman-adv: remove vis functionalitySimon Wunderlich1-8/+0
2013-10-09batman-adv: tvlv - convert tt data sent within OGMsMarek Lindner1-30/+14
2013-10-09batman-adv: tvlv - gateway download/upload bandwidth containerMarek Lindner1-22/+1
2013-10-09batman-adv: tvlv - basic infrastructureMarek Lindner1-17/+21
2013-08-28batman-adv: move enum definition at the top of the fileAntonio Quartulli1-15/+16
2013-08-28batman-adv: set skb priority according to contentSimon Wunderlich1-0/+1
2013-06-19Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-31/+56
2013-06-10batman-adv: forward late OGMs from best next hopSimon Wunderlich1-31/+55
2013-05-29batman-adv: Remove unnecessary INIT_HLIST_NODE() callsLinus Lüssing1-2/+0
2013-05-29batman-adv: don't deal with NET_IP_ALIGN manuallyAntonio Quartulli1-3/+3
2013-05-29batman-adv: move batadv_slide_own_bcast_window to bat_iv_ogm.cAntonio Quartulli1-1/+36
2013-05-29batman-adv: move ring_buffer helper functions in bat_iv_ogmAntonio Quartulli1-1/+42
2013-05-29batman-adv: use eth_hdr() when it makes senseAntonio Quartulli1-1/+1
2013-05-29batman-adv: do not silently ignore wrong conditionAntonio Quartulli1-1/+1
2013-05-29batman-adv: don't check compat version twiceAntonio Quartulli1-7/+0
2013-05-29batman-adv: don't check the source address twiceAntonio Quartulli1-11/+1
2013-05-29batman-adv: drop useless argument seqno in neighbor creationAntonio Quartulli1-7/+4
2013-03-13batman-adv: network coding - detect coding nodes and remove these after timeoutMartin Hundebøll1-0/+5
2013-03-11batman-adv: verify tt len does not exceed packet lenMarek Lindner1-3/+3
2013-02-27hlist: drop the node parameter from iteratorsSasha Levin1-8/+4
2013-01-19batman-adv: update copyright yearsAntonio Quartulli1-1/+1
2013-01-19batman-adv: rename random32() to prandom_u32()Akinobu Mita1-2/+2
2013-01-12batman-adv: fix typo in debug messageAntonio Quartulli1-1/+1
2013-01-12batman-adv: remove useless blank lines before and after bracketsAntonio Quartulli1-6/+0
2013-01-12batman-adv: unify and properly print hex valuesAntonio Quartulli1-1/+1
2012-12-26batman-adv: fix random jitter calculationAkinobu Mita1-1/+1
2012-11-07batman-adv: Reserve extra bytes in skb for better alignmentSven Eckelmann1-3/+5
2012-10-29batman-adv: split hard_iface struct for each routing protocolMarek Lindner1-19/+24
2012-09-28Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-2/+5
2012-09-23batman-adv: Fix symmetry check / route flapping in multi interface setupsLinus Lüssing1-6/+7
2012-08-23batman-adv: Reduce accumulated length of simple statementsSven Eckelmann1-15/+26
2012-08-23batman-adv: Don't break statements after assignment operatorSven Eckelmann1-18/+21
2012-08-23batman-adv: Use BIT(x) macro to calculate bit positionsSven Eckelmann1-5/+7
2012-08-23batman-adv: Split batadv_priv in sub-structures for featuresSven Eckelmann1-2/+2
2012-07-01batman-adv: Prefix types structs with batadv_Sven Eckelmann1-61/+64
2012-07-01batman-adv: Prefix packet structs with batadv_Sven Eckelmann1-129/+129
2012-07-01batman-adv: Prefix main enum with BATADV_Sven Eckelmann1-24/+24
2012-07-01batman-adv: Prefix packet enum with BATADV_Sven Eckelmann1-22/+26
2012-07-01batman-adv: Prefix types enum with BATADV_Sven Eckelmann1-4/+4
2012-07-01batman-adv: Prefix hard-interface enum with BATADV_Sven Eckelmann1-3/+3
2012-07-01batman-adv: Prefix gateway enum with BATADV_Sven Eckelmann1-2/+2
2012-06-28batman-adv: Prefix main defines with BATADV_Sven Eckelmann1-42/+61
2012-06-28batman-adv: Prefix packet defines with BATADV_Sven Eckelmann1-10/+10
2012-06-28batman-adv: Prefix remaining function like macros with batadv_Sven Eckelmann1-1/+1
2012-06-25batman-adv: Prefix bat_iv_ogm local static functions with batadv_Sven Eckelmann1-127/+130
2012-06-25batman-adv: Prefix main static inline functions with batadv_Sven Eckelmann1-99/+107
2012-06-24batman-adv: Prefix hard-interface static inline functions with batadv_Sven Eckelmann1-7/+7
2012-06-24batman-adv: Prefix bitarray static inline functions with batadv_Sven Eckelmann1-6/+7
2012-06-20batman-adv: Reformat multiline comments to consistent styleSven Eckelmann1-33/+42
2012-06-20batman-adv: Prefix main non-static functions with batadv_Sven Eckelmann1-8/+8
2012-06-20batman-adv: Prefix translation-table non-static functions with batadv_Sven Eckelmann1-10/+13
2012-06-20batman-adv: Prefix send non-static functions with batadv_Sven Eckelmann1-4/+5
2012-06-20batman-adv: Prefix routing non-static functions with batadv_Sven Eckelmann1-7/+8
2012-06-20batman-adv: Prefix ring_buffer non-static functions with batadv_Sven Eckelmann1-7/+7
2012-06-20batman-adv: Prefix originator non-static functions with batadv_Sven Eckelmann1-21/+22
2012-06-20batman-adv: Prefix gateway-client non-static functions with batadv_Sven Eckelmann1-3/+3
2012-06-20batman-adv: Prefix bitarray non-static functions with batadv_Sven Eckelmann1-3/+3