diff options
author | Linus Lüssing <linus.luessing@web.de> | 2013-07-03 08:40:00 (GMT) |
---|---|---|
committer | Antonio Quartulli <antonio@meshcoding.com> | 2013-10-19 15:31:54 (GMT) |
commit | e300d314664ef6746e697d5b581f85114ab1f843 (patch) | |
tree | 8496c328c2590f0ca0cf91a1325794fe2c0d44d4 /net/batman-adv/gateway_client.c | |
parent | b8cbd81d0944cd2dc097b2b4ae8adaf639c5b4df (diff) | |
download | linux-e300d314664ef6746e697d5b581f85114ab1f843.tar.xz |
batman-adv: refine API calls for unicast transmissions of SKBs
With this patch the functions batadv_send_skb_unicast() and
batadv_send_skb_unicast_4addr() are further refined into
batadv_send_skb_via_tt(), batadv_send_skb_via_tt_4addr() and
batadv_send_skb_via_gw(). This way we avoid any "guessing" about where to send
a packet in the unicast forwarding methods and let the callers decide.
This is going to be useful for the upcoming multicast related patches in
particular.
Further, the return values were polished a little to use the more
appropriate NET_XMIT_* defines.
Signed-off-by: Linus Lüssing <linus.luessing@web.de>
Acked-by: Antonio Quartulli <antonio@meshcoding.com>
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Antonio Quartulli <antonio@meshcoding.com>
Diffstat (limited to 'net/batman-adv/gateway_client.c')
0 files changed, 0 insertions, 0 deletions