#ifndef _NET_EVENT_H
#define _NET_EVENT_H

/*
 *	Generic netevent notifiers
 *
 *	Authors:
 *      Tom Tucker              <tom@opengridcomputing.com>
 *      Steve Wise              <swise@opengridcomputing.com>
 *
 * 	Changes:
 */

struct dst_entry;
struct neighbour;

struct netevent_redirect {
	struct dst_entry *old;
	struct dst_entry *new;
	struct neighbour *neigh;
	const void *daddr;
};

enum netevent_notif_type {
	NETEVENT_NEIGH_UPDATE = 1, /* arg is struct neighbour ptr */
	NETEVENT_REDIRECT,	   /* arg is struct netevent_redirect ptr */
	NETEVENT_DELAY_PROBE_TIME_UPDATE, /* arg is struct neigh_parms ptr */
};

int register_netevent_notifier(struct notifier_block *nb);
int unregister_netevent_notifier(struct notifier_block *nb);
int call_netevent_notifiers(unsigned long val, void *v);

#endif
x</a> : <a href='/cgit.cgi/linux/net-next.git/'>net-next.git</a></td><td class='form'><form method='get'>
<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'>refs</a><a class='active' href='/cgit.cgi/linux/net-next.git/log/Documentation/devicetree/bindings/pwm/pwm-mtk-disp.txt?h=nds-private-remove'>log</a><a href='/cgit.cgi/linux/net-next.git/tree/Documentation/devicetree/bindings/pwm/pwm-mtk-disp.txt?h=nds-private-remove'>tree</a><a href='/cgit.cgi/linux/net-next.git/commit/Documentation/devicetree/bindings/pwm/pwm-mtk-disp.txt?h=nds-private-remove'>commit</a><a href='/cgit.cgi/linux/net-next.git/diff/Documentation/devicetree/bindings/pwm/pwm-mtk-disp.txt?h=nds-private-remove'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/Documentation/devicetree/bindings/pwm/pwm-mtk-disp.txt'>
<input type='hidden' name='h' value='nds-private-remove'/><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'>root</a>/<a href='/cgit.cgi/linux/net-next.git/log/Documentation?h=nds-private-remove'>Documentation</a>/<a href='/cgit.cgi/linux/net-next.git/log/Documentation/devicetree?h=nds-private-remove'>devicetree</a>/<a href='/cgit.cgi/linux/net-next.git/log/Documentation/devicetree/bindings?h=nds-private-remove'>bindings</a>/<a href='/cgit.cgi/linux/net-next.git/log/Documentation/devicetree/bindings/pwm?h=nds-private-remove'>pwm</a>/<a href='/cgit.cgi/linux/net-next.git/log/Documentation/devicetree/bindings/pwm/pwm-mtk-disp.txt?h=nds-private-remove'>pwm-mtk-disp.txt</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/Documentation/devicetree/bindings/pwm/pwm-mtk-disp.txt?h=nds-private-remove&amp;showmsg=1'>Expand</a>)</th><th class='left'>Author</th><th class='left'>Files</th><th class='left'>Lines</th></tr>