/* * netsniff-ng - the packet sniffing beast * Copyright 2009, 2010 Daniel Borkmann. * Subject to the GPL, version 2. */ #ifndef DISSECTOR_ETH_H #define DISSECTOR_ETH_H #include "hash.h" #include "protos.h" extern struct hash_table eth_lay2; extern struct hash_table eth_lay3; extern void dissector_init_ethernet(int fnttype); extern void dissector_cleanup_ethernet(void); extern char *lookup_port_udp(unsigned int id); extern char *lookup_port_tcp(unsigned int id); extern char *lookup_ether_type(unsigned int id); #ifdef HAVE_DISSECTOR_PROTOS static inline struct protocol *dissector_get_ethernet_entry_point(void) { return ðernet_ops; } static inline struct protocol *dissector_get_ethernet_exit_point(void) { return &none_ops; } #else static inline struct protocol *dissector_get_ethernet_entry_point(void) { return NULL; } static inline struct protocol *dissector_get_ethernet_exit_point(void) { return NULL; } #endif #endif /* DISSECTOR_ETH_H */ 475adcc0e5839'/> net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJyri Sarha <jsarha@ti.com>2016-03-31 16:36:00 +0300
committerMark Brown <broonie@kernel.org>2016-04-18 18:09:18 +0100
commit09184118a8abae030539469848d475adcc0e5839 (patch)
treea7f94de2481b06fdc80f678c2a04899eab7d77ee
parent4a462ce084d5beb92cfc68f53f88c035c82e6b59 (diff)
ASoC: hdmi-codec: Add hdmi-codec for external HDMI-encoders
The hdmi-codec is a platform device driver to be registered from drivers of external HDMI encoders with I2S and/or spdif interface. The driver in turn registers an ASoC codec for the HDMI encoder's audio functionality. The structures and definitions in the API header are mostly redundant copies of similar structures in ASoC headers. This is on purpose to avoid direct dependencies to ASoC structures in video side driver. Signed-off-by: Jyri Sarha <jsarha@ti.com> Acked-by: Arnaud Pouliquen <arnaud.pouliquen@st.com> Acked-by: PC Liao <pc.liao@mediatek.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat