diff options
author | Sven Eckelmann <sven@narfation.org> | 2012-10-17 19:10:39 (GMT) |
---|---|---|
committer | Antonio Quartulli <ordex@autistici.org> | 2012-11-21 11:35:41 (GMT) |
commit | 95a066d82c422c812c10bfd4de01225b1714fa45 (patch) | |
tree | e040f780728ea700af9d2df22e28b9188f586071 /net/batman-adv/main.h | |
parent | 60d8cce7c53f188d99cb01a0a013cf3544f35e29 (diff) | |
download | linux-95a066d82c422c812c10bfd4de01225b1714fa45.tar.xz |
batman-adv: Add function to calculate crc32c for the skb payload
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Antonio Quartulli <ordex@autistici.org>
Diffstat (limited to 'net/batman-adv/main.h')
-rw-r--r-- | net/batman-adv/main.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/batman-adv/main.h b/net/batman-adv/main.h index 8f149bb..ce5e5b9 100644 --- a/net/batman-adv/main.h +++ b/net/batman-adv/main.h @@ -174,6 +174,7 @@ void batadv_recv_handler_unregister(uint8_t packet_type); int batadv_algo_register(struct batadv_algo_ops *bat_algo_ops); int batadv_algo_select(struct batadv_priv *bat_priv, char *name); int batadv_algo_seq_print_text(struct seq_file *seq, void *offset); +__be32 batadv_skb_crc32(struct sk_buff *skb, u8 *payload_ptr); /** * enum batadv_dbg_level - available log levels |