Skip to contentSkip to conversation

batman-adv: add kerneldoc for dst_hint argument

PATCH Superseded Antonio Quartulli 1 participant 1 message Feb 10, 2014

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 batman-adv: add kerneldoc for dst_hint argument

Some helper functions used along the TX path have now a new "dst_hint" argument but the kerneldoc was missing.

---
 send.c | 2 ++
 send.h | 4 ++++
 2 files changed, 6 insertions(+)
send.c +2 -0
index 31a8c19..63a46c3 100644
@@ -311,6 +311,8 @@ out:
  * @packet_type: the batman unicast packet type to use
  * @packet_subtype: the unicast 4addr packet subtype (only relevant for unicast
  *  4addr packets)
+ * @dst_hint: destination to send the packet to. If NULL then the addresses
+ *  contained in the Ethernet header are used for the destination lookup
  * @vid: the vid to be used to search the translation table
  *
  * Look up the recipient node for the destination address in the ethernet
send.h +4 -0
index aaddaa9..20e1668 100644
@@ -47,6 +47,8 @@ int batadv_send_skb_via_gw(struct batadv_priv *bat_priv, struct sk_buff *skb,
  * batadv_send_skb_via_tt - send an skb via TT lookup
  * @bat_priv: the bat priv with all the soft interface information
  * @skb: the payload to send
+ * @dst_hint: destination to send the packet to. If NULL then the addresses
+ *  contained in the Ethernet header are used for the destination lookup
  * @vid: the vid to be used to search the translation table
  *
  * Look up the recipient node for the destination address in the ethernet
@@ -68,6 +70,8 @@ static inline int batadv_send_skb_via_tt(struct batadv_priv *bat_priv,
  * @bat_priv: the bat priv with all the soft interface information
  * @skb: the payload to send
  * @packet_subtype: the unicast 4addr packet subtype to use
+ * @dst_hint: destination to send the packet to. If NULL then the addresses
+ *  contained in the Ethernet header are used for the destination lookup
  * @vid: the vid to be used to search the translation table
  *
  * Look up the recipient node for the destination address in the ethernet
Signature · 1 line
1.8.5.3