#ifndef __NET_TC_GACT_H #define __NET_TC_GACT_H #include <net/act_api.h> #include <linux/tc_act/tc_gact.h> struct tcf_gact { struct tc_action common; #ifdef CONFIG_GACT_PROB u16 tcfg_ptype; u16 tcfg_pval; int tcfg_paction; atomic_t packets; #endif }; #define to_gact(a) ((struct tcf_gact *)a) static inline bool is_tcf_gact_shot(const struct tc_action *a) { #ifdef CONFIG_NET_CLS_ACT struct tcf_gact *gact; if (a->ops && a->ops->type != TCA_ACT_GACT) return false; gact = to_gact(a); if (gact->tcf_action == TC_ACT_SHOT) return true; #endif return false; } #endif /* __NET_TC_GACT_H */ ble 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='9b2792c3da1e80f2d460167d319302a24c9ca2b7'/><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&id=9b2792c3da1e80f2d460167d319302a24c9ca2b7'>refs</a><a class='active' href='/cgit.cgi/linux/net-next.git/log/fs/afs/vlclient.c?h=nds-private-remove'>log</a><a href='/cgit.cgi/linux/net-next.git/tree/fs/afs/vlclient.c?h=nds-private-remove&id=9b2792c3da1e80f2d460167d319302a24c9ca2b7'>tree</a><a href='/cgit.cgi/linux/net-next.git/commit/fs/afs/vlclient.c?h=nds-private-remove&id=9b2792c3da1e80f2d460167d319302a24c9ca2b7'>commit</a><a href='/cgit.cgi/linux/net-next.git/diff/fs/afs/vlclient.c?h=nds-private-remove&id=9b2792c3da1e80f2d460167d319302a24c9ca2b7'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/fs/afs/vlclient.c'> <input type='hidden' name='h' value='nds-private-remove'/><input type='hidden' name='id' value='9b2792c3da1e80f2d460167d319302a24c9ca2b7'/><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&id=9b2792c3da1e80f2d460167d319302a24c9ca2b7'>root</a>/<a href='/cgit.cgi/linux/net-next.git/log/fs?h=nds-private-remove&id=9b2792c3da1e80f2d460167d319302a24c9ca2b7'>fs</a>/<a href='/cgit.cgi/linux/net-next.git/log/fs/afs?h=nds-private-remove&id=9b2792c3da1e80f2d460167d319302a24c9ca2b7'>afs</a>/<a href='/cgit.cgi/linux/net-next.git/log/fs/afs/vlclient.c?h=nds-private-remove&id=9b2792c3da1e80f2d460167d319302a24c9ca2b7'>vlclient.c</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/fs/afs/vlclient.c?h=nds-private-remove&id=9b2792c3da1e80f2d460167d319302a24c9ca2b7&showmsg=1'>Expand</a>)</th><th class='left'>Author</th><th class='left'>Files</th><th class='left'>Lines</th></tr>