/*
 * 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);

static inline struct protocol *dissector_get_ethernet_entry_point(void)
{
	return &ethernet_ops;
}

static inline struct protocol *dissector_get_ethernet_exit_point(void)
{
	return &none_ops;
}

#endif /* DISSECTOR_ETH_H */
iv id='cgit'><table id='header'>
<tr>
<td class='logo' rowspan='2'><a href='/cgit.cgi/'><img src='/cgit.png' alt='cgit logo'/></a></td>
<td class='main'><a href='/cgit.cgi/'>index</a> : <a href='/cgit.cgi/linux/net-next.git/'>net-next.git</a></td><td class='form'><form method='get'>
<input type='hidden' name='id' value='be11f436a80b19cb5ef4cdfba7371a5178bd43cd'/><select name='h' onchange='this.form.submit();'>
<option value='emaclite-cleanup'>emaclite-cleanup</option>
<option value='master'>master</option>
<option value='nds-private-remove' selected='selected'>nds-private-remove</option>
<option value='packet-loop-back'>packet-loop-back</option>
<option value='packet-rx-pump-back'>packet-rx-pump-back</option>
</select> <input type='submit' value='switch'/></form></td></tr>
<tr><td class='sub'>net-next plumbings</td><td class='sub right'>Tobias Klauser</td></tr></table>
<table class='tabs'><tr><td>
<a href='/cgit.cgi/linux/net-next.git/?h=nds-private-remove'>summary</a><a href='/cgit.cgi/linux/net-next.git/refs/?h=nds-private-remove&amp;id=be11f436a80b19cb5ef4cdfba7371a5178bd43cd'>refs</a><a class='active' href='/cgit.cgi/linux/net-next.git/log/include/net/fib_rules.h?h=nds-private-remove'>log</a><a href='/cgit.cgi/linux/net-next.git/tree/include/net/fib_rules.h?h=nds-private-remove&amp;id=be11f436a80b19cb5ef4cdfba7371a5178bd43cd'>tree</a><a href='/cgit.cgi/linux/net-next.git/commit/include/net/fib_rules.h?h=nds-private-remove&amp;id=be11f436a80b19cb5ef4cdfba7371a5178bd43cd'>commit</a><a href='/cgit.cgi/linux/net-next.git/diff/include/net/fib_rules.h?h=nds-private-remove&amp;id=be11f436a80b19cb5ef4cdfba7371a5178bd43cd'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/include/net/fib_rules.h'>
<input type='hidden' name='h' value='nds-private-remove'/><input type='hidden' name='id' value='be11f436a80b19cb5ef4cdfba7371a5178bd43cd'/><select name='qt'>
<option value='grep'>log msg</option>
<option value='author'>author</option>
<option value='committer'>committer</option>
<option value='range'>range</option>
</select>
<input class='txt' type='search' size='10' name='q' value=''/>
<input type='submit' value='search'/>
</form>
</td></tr></table>
<div class='path'>path: <a href='/cgit.cgi/linux/net-next.git/log/?h=nds-private-remove&amp;id=be11f436a80b19cb5ef4cdfba7371a5178bd43cd'>root</a>/<a href='/cgit.cgi/linux/net-next.git/log/include?h=nds-private-remove&amp;id=be11f436a80b19cb5ef4cdfba7371a5178bd43cd'>include</a>/<a href='/cgit.cgi/linux/net-next.git/log/include/net?h=nds-private-remove&amp;id=be11f436a80b19cb5ef4cdfba7371a5178bd43cd'>net</a>/<a href='/cgit.cgi/linux/net-next.git/log/include/net/fib_rules.h?h=nds-private-remove&amp;id=be11f436a80b19cb5ef4cdfba7371a5178bd43cd'>fib_rules.h</a></div><div class='content'><table class='list nowrap'><tr class='nohover'><th class='left'>Age</th><th class='left'>Commit message (<a href='/cgit.cgi/linux/net-next.git/log/include/net/fib_rules.h?h=nds-private-remove&amp;id=be11f436a80b19cb5ef4cdfba7371a5178bd43cd&amp;showmsg=1'>Expand</a>)</th><th class='left'>Author</th><th class='left'>Files</th><th class='left'>Lines</th></tr>