/* net/atm/atmarp.h - RFC1577 ATM ARP */ /* Written 1995-2000 by Werner Almesberger, EPFL LRC/ICA */ #ifndef _ATMCLIP_H #define _ATMCLIP_H #include <linux/netdevice.h> #include <linux/atm.h> #include <linux/atmdev.h> #include <linux/atmarp.h> #include <linux/spinlock.h> #include <net/neighbour.h> #define CLIP_VCC(vcc) ((struct clip_vcc *) ((vcc)->user_back)) struct sk_buff; struct clip_vcc { struct atm_vcc *vcc; /* VCC descriptor */ struct atmarp_entry *entry; /* ATMARP table entry, NULL if IP addr. isn't known yet */ int xoff; /* 1 if send buffer is full */ unsigned char encap; /* 0: NULL, 1: LLC/SNAP */ unsigned long last_use; /* last send or receive operation */ unsigned long idle_timeout; /* keep open idle for so many jiffies*/ void (*old_push)(struct atm_vcc *vcc,struct sk_buff *skb); /* keep old push fn for chaining */ void (*old_pop)(struct atm_vcc *vcc,struct sk_buff *skb); /* keep old pop fn for chaining */ struct clip_vcc *next; /* next VCC */ }; struct atmarp_entry { struct clip_vcc *vccs; /* active VCCs; NULL if resolution is pending */ unsigned long expires; /* entry expiration time */ struct neighbour *neigh; /* neighbour back-pointer */ }; #define PRIV(dev) ((struct clip_priv *) netdev_priv(dev)) struct clip_priv { int number; /* for convenience ... */ spinlock_t xoff_lock; /* ensures that pop is atomic (SMP) */ struct net_device *next; /* next CLIP interface */ }; #endif umbings</td><td class='sub right'>Tobias Klauser</td></tr></table> <table class='tabs'><tr><td> <a href='/cgit.cgi/linux/net-next.git/'>summary</a><a href='/cgit.cgi/linux/net-next.git/refs/?id=10435c1192d06bdb0bac7666452d8219d7e7c477'>refs</a><a href='/cgit.cgi/linux/net-next.git/log/sound/isa/gus/Makefile'>log</a><a href='/cgit.cgi/linux/net-next.git/tree/sound/isa/gus/Makefile?id=10435c1192d06bdb0bac7666452d8219d7e7c477'>tree</a><a class='active' href='/cgit.cgi/linux/net-next.git/commit/sound/isa/gus/Makefile?id=10435c1192d06bdb0bac7666452d8219d7e7c477'>commit</a><a href='/cgit.cgi/linux/net-next.git/diff/sound/isa/gus/Makefile?id=10435c1192d06bdb0bac7666452d8219d7e7c477'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/sound/isa/gus/Makefile'> <input type='hidden' name='id' value='10435c1192d06bdb0bac7666452d8219d7e7c477'/><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/commit/?id=10435c1192d06bdb0bac7666452d8219d7e7c477'>root</a>/<a href='/cgit.cgi/linux/net-next.git/commit/sound?id=10435c1192d06bdb0bac7666452d8219d7e7c477'>sound</a>/<a href='/cgit.cgi/linux/net-next.git/commit/sound/isa?id=10435c1192d06bdb0bac7666452d8219d7e7c477'>isa</a>/<a href='/cgit.cgi/linux/net-next.git/commit/sound/isa/gus?id=10435c1192d06bdb0bac7666452d8219d7e7c477'>gus</a>/<a href='/cgit.cgi/linux/net-next.git/commit/sound/isa/gus/Makefile?id=10435c1192d06bdb0bac7666452d8219d7e7c477'>Makefile</a></div><div class='content'><div class='cgit-panel'><b>diff options</b><form method='get'><input type='hidden' name='id' value='10435c1192d06bdb0bac7666452d8219d7e7c477'/><table><tr><td colspan='2'/></tr><tr><td class='label'>context:</td><td class='ctrl'><select name='context' onchange='this.form.submit();'><option value='1'>1</option><option value='2'>2</option><option value='3' selected='selected'>3</option><option value='4'>4</option><option value='5'>5</option><option value='6'>6</option><option value='7'>7</option><option value='8'>8</option><option value='9'>9</option><option value='10'>10</option><option value='15'>15</option><option value='20'>20</option><option value='25'>25</option><option value='30'>30</option><option value='35'>35</option><option value='40'>40</option></select></td></tr><tr><td class='label'>space:</td><td class='ctrl'><select name='ignorews' onchange='this.form.submit();'><option value='0' selected='selected'>include</option><option value='1'>ignore</option></select></td></tr><tr><td class='label'>mode:</td><td class='ctrl'><select name='dt' onchange='this.form.submit();'><option value='0' selected='selected'>unified</option><option value='1'>ssdiff</option><option value='2'>stat only</option></select></td></tr><tr><td/><td class='ctrl'><noscript><input type='submit' value='reload'/></noscript></td></tr></table></form></div><table summary='commit info' class='commit-info'> <tr><th>author</th><td>Feng <fgao@ikuai8.com></td><td class='right'>2017-01-20 21:40:43 +0800</td></tr> <tr><th>committer</th><td>Pablo Neira Ayuso <pablo@netfilter.org></td><td class='right'>2017-02-02 14:30:19 +0100</td></tr> <tr><th>commit</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/commit/sound/isa/gus/Makefile?id=10435c1192d06bdb0bac7666452d8219d7e7c477'>10435c1192d06bdb0bac7666452d8219d7e7c477</a> (<a href='/cgit.cgi/linux/net-next.git/patch/sound/isa/gus/Makefile?id=10435c1192d06bdb0bac7666452d8219d7e7c477'>patch</a>)</td></tr> <tr><th>tree</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/tree/?id=10435c1192d06bdb0bac7666452d8219d7e7c477'>93b76419142fe17b1d162d062c663297a3e8a965</a> /<a href='/cgit.cgi/linux/net-next.git/tree/sound/isa/gus/Makefile?id=10435c1192d06bdb0bac7666452d8219d7e7c477'>sound/isa/gus/Makefile</a></td></tr> <tr><th>parent</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/commit/sound/isa/gus/Makefile?id=1a28ad74ebd8f9d3c7eae0d781f72a6d30545e17'>1a28ad74ebd8f9d3c7eae0d781f72a6d30545e17</a> (<a href='/cgit.cgi/linux/net-next.git/diff/sound/isa/gus/Makefile?id=10435c1192d06bdb0bac7666452d8219d7e7c477&id2=1a28ad74ebd8f9d3c7eae0d781f72a6d30545e17'>diff</a>)</td></tr></table> <div class='commit-subject'>netfilter: nf_tables: Eliminate duplicated code in nf_tables_table_enable()</div><div class='commit-msg'>If something fails in nf_tables_table_enable(), it unregisters the chains. But the rollback code is the same as nf_tables_table_disable() almostly, except there is one counter check. Now create one wrapper function to eliminate the duplicated codes. Signed-off-by: Feng <fgao@ikuai8.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> </div><div class='diffstat-header'><a href='/cgit.cgi/linux/net-next.git/diff/?id=10435c1192d06bdb0bac7666452d8219d7e7c477'>Diffstat</a> (limited to 'sound/isa/gus/Makefile')</div><table summary='diffstat' class='diffstat'>