X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=net%2Fbatman-adv%2Ftypes.h;h=e95db4273356c279e06070eb3a7172bd3fcb7e8f;hb=53e771457e823fbc21834f60508c42a4270534fd;hp=9398c3fb417472962ddb58b0344de56006006b85;hpb=60c1beeff40b04097298e10640580f62420a55ca;p=firefly-linux-kernel-4.4.55.git diff --git a/net/batman-adv/types.h b/net/batman-adv/types.h index 9398c3fb4174..e95db4273356 100644 --- a/net/batman-adv/types.h +++ b/net/batman-adv/types.h @@ -1,4 +1,4 @@ -/* Copyright (C) 2007-2014 B.A.T.M.A.N. contributors: +/* Copyright (C) 2007-2015 B.A.T.M.A.N. contributors: * * Marek Lindner, Simon Wunderlich * @@ -132,6 +132,7 @@ struct batadv_orig_ifinfo { * @timestamp: time (jiffie) of last received fragment * @seqno: sequence number of the fragments in the list * @size: accumulated size of packets in list + * @total_size: expected size of the assembled packet */ struct batadv_frag_table_entry { struct hlist_head head; @@ -139,6 +140,7 @@ struct batadv_frag_table_entry { unsigned long timestamp; uint16_t seqno; uint16_t size; + uint16_t total_size; }; /**