diff options
author | Martin Hundebøll <martin@hundeboll.net> | 2013-05-23 16:53:02 +0200 |
---|---|---|
committer | Antonio Quartulli <antonio@meshcoding.com> | 2013-10-12 11:58:34 +0200 |
commit | 610bfc6bc99bc83680d190ebc69359a05fc7f605 (patch) | |
tree | 355ae39e185e72ca129360037525fd5f7f5ff875 /net/batman-adv/routing.h | |
parent | f097e25dbe9144447f46b6b61ca3da1a2ba432d4 (diff) |
batman-adv: Receive fragmented packets and merge
Fragments arriving at their destination are buffered for later merge.
Merged packets are passed to the main receive function as had they never
been fragmented.
Fragments are forwarded without merging if the MTU of the outgoing
interface is smaller than the size of the merged packet.
Signed-off-by: Martin Hundebøll <martin@hundeboll.net>
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Antonio Quartulli <antonio@meshcoding.com>
Diffstat (limited to 'net/batman-adv/routing.h')
-rw-r--r-- | net/batman-adv/routing.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/batman-adv/routing.h b/net/batman-adv/routing.h index efab583fda02..55d637a90621 100644 --- a/net/batman-adv/routing.h +++ b/net/batman-adv/routing.h @@ -30,6 +30,8 @@ int batadv_recv_icmp_packet(struct sk_buff *skb, struct batadv_hard_iface *recv_if); int batadv_recv_unicast_packet(struct sk_buff *skb, struct batadv_hard_iface *recv_if); +int batadv_recv_frag_packet(struct sk_buff *skb, + struct batadv_hard_iface *iface); int batadv_recv_bcast_packet(struct sk_buff *skb, struct batadv_hard_iface *recv_if); int batadv_recv_tt_query(struct sk_buff *skb, |