/* * netsniff-ng - the packet sniffing beast * Copyright 2009, 2010 Daniel Borkmann. * Subject to the GPL, version 2. */ #ifndef DISSECTOR_80211_H #define DISSECTOR_80211_H #include "hash.h" #include "proto.h" #include "protos.h" #include "tprintf.h" #include "oui.h" extern struct hash_table ieee80211_lay2; extern void dissector_init_ieee80211(int fnttype); extern void dissector_cleanup_ieee80211(void); #ifdef __WITH_PROTOS static inline struct protocol *dissector_get_ieee80211_entry_point(void) { return &ieee80211_ops; } static inline struct protocol *dissector_get_ieee80211_exit_point(void) { return &none_ops; } #else static inline struct protocol *dissector_get_ieee80211_entry_point(void) { return NULL; } static inline struct protocol *dissector_get_ieee80211_exit_point(void) { return NULL; } #endif /* __WITH_PROTOS */ #endif /* DISSECTOR_80211_H */ net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorHannes Frederic Sowa <hannes@stressinduktion.org>2013-01-18 09:18:17 +0000
committerDavid S. Miller <davem@davemloft.net>2013-01-18 14:43:51 -0500
commit1ad759d8479b4b28f2a6c874d380066cf987b341 (patch)
treea30e292dd8495d922c563ba8aa9438c686b85380 /net
parent115b0aa6b444e8dd89b7f67b77b8c472763fbc1a (diff)
ipv6: remove unneeded check to pskb_may_pull in ipip6_rcv
This is already checked by the caller (tunnel64_rcv) and brings ipip6_rcv in line with ipip_rcv. Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')