#include <sys/types.h> #include <sys/socket.h> #ifndef MSG_PROBE #define MSG_PROBE 0x10 #endif #ifndef MSG_WAITFORONE #define MSG_WAITFORONE 0x10000 #endif #ifndef MSG_SENDPAGE_NOTLAST #define MSG_SENDPAGE_NOTLAST 0x20000 #endif #ifndef MSG_FASTOPEN #define MSG_FASTOPEN 0x20000000 #endif #ifndef MSG_CMSG_CLOEXEC # define MSG_CMSG_CLOEXEC 0x40000000 #endif static size_t syscall_arg__scnprintf_msg_flags(char *bf, size_t size, struct syscall_arg *arg) { int printed = 0, flags = arg->val; if (flags == 0) return scnprintf(bf, size, "NONE"); #define P_MSG_FLAG(n) \ if (flags & MSG_##n) { \ printed += scnprintf(bf + printed, size - printed, "%s%s", printed ? "|" : "", #n); \ flags &= ~MSG_##n; \ } P_MSG_FLAG(OOB); P_MSG_FLAG(PEEK); P_MSG_FLAG(DONTROUTE); P_MSG_FLAG(CTRUNC); P_MSG_FLAG(PROBE); P_MSG_FLAG(TRUNC); P_MSG_FLAG(DONTWAIT); P_MSG_FLAG(EOR); P_MSG_FLAG(WAITALL); P_MSG_FLAG(FIN); P_MSG_FLAG(SYN); P_MSG_FLAG(CONFIRM); P_MSG_FLAG(RST); P_MSG_FLAG(ERRQUEUE); P_MSG_FLAG(NOSIGNAL); P_MSG_FLAG(MORE); P_MSG_FLAG(WAITFORONE); P_MSG_FLAG(SENDPAGE_NOTLAST); P_MSG_FLAG(FASTOPEN); P_MSG_FLAG(CMSG_CLOEXEC); #undef P_MSG_FLAG if (flags) printed += scnprintf(bf + printed, size - printed, "%s%#x", printed ? "|" : "", flags); return printed; } #define SCA_MSG_FLAGS syscall_arg__scnprintf_msg_flags 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=35eeacf1820a08305c2b0960febfa190f5a6dd63'>refs</a><a href='/cgit.cgi/linux/net-next.git/log/include/sound/ac97_codec.h?h=nds-private-remove'>log</a><a href='/cgit.cgi/linux/net-next.git/tree/include/sound/ac97_codec.h?h=nds-private-remove&id=35eeacf1820a08305c2b0960febfa190f5a6dd63'>tree</a><a class='active' href='/cgit.cgi/linux/net-next.git/commit/include/sound/ac97_codec.h?h=nds-private-remove&id=35eeacf1820a08305c2b0960febfa190f5a6dd63'>commit</a><a href='/cgit.cgi/linux/net-next.git/diff/include/sound/ac97_codec.h?h=nds-private-remove&id=35eeacf1820a08305c2b0960febfa190f5a6dd63'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/include/sound/ac97_codec.h'> <input type='hidden' name='h' value='nds-private-remove'/><input type='hidden' name='id' value='35eeacf1820a08305c2b0960febfa190f5a6dd63'/><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/?h=nds-private-remove&id=35eeacf1820a08305c2b0960febfa190f5a6dd63'>root</a>/<a href='/cgit.cgi/linux/net-next.git/commit/include?h=nds-private-remove&id=35eeacf1820a08305c2b0960febfa190f5a6dd63'>include</a>/<a href='/cgit.cgi/linux/net-next.git/commit/include/sound?h=nds-private-remove&id=35eeacf1820a08305c2b0960febfa190f5a6dd63'>sound</a>/<a href='/cgit.cgi/linux/net-next.git/commit/include/sound/ac97_codec.h?h=nds-private-remove&id=35eeacf1820a08305c2b0960febfa190f5a6dd63'>ac97_codec.h</a></div><div class='content'><div class='cgit-panel'><b>diff options</b><form method='get'><input type='hidden' name='h' value='nds-private-remove'/><input type='hidden' name='id' value='35eeacf1820a08305c2b0960febfa190f5a6dd63'/><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>David S. Miller <davem@davemloft.net></td><td class='right'>2017-02-11 02:31:11 -0500</td></tr> <tr><th>committer</th><td>David S. Miller <davem@davemloft.net></td><td class='right'>2017-02-11 02:31:11 -0500</td></tr> <tr><th>commit</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/commit/include/sound/ac97_codec.h?h=nds-private-remove&id=35eeacf1820a08305c2b0960febfa190f5a6dd63'>35eeacf1820a08305c2b0960febfa190f5a6dd63</a> (<a href='/cgit.cgi/linux/net-next.git/patch/include/sound/ac97_codec.h?id=35eeacf1820a08305c2b0960febfa190f5a6dd63'>patch</a>)</td></tr> <tr><th>tree</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/tree/?h=nds-private-remove&id=35eeacf1820a08305c2b0960febfa190f5a6dd63'>f1227c7384ee01d3f029cc5f82223234e6456c5f</a> /<a href='/cgit.cgi/linux/net-next.git/tree/include/sound/ac97_codec.h?h=nds-private-remove&id=35eeacf1820a08305c2b0960febfa190f5a6dd63'>include/sound/ac97_codec.h</a></td></tr> <tr><th>parent</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/commit/include/sound/ac97_codec.h?h=nds-private-remove&id=bed45f79a2afc9d7c279b880dfcac8f27d513b50'>bed45f79a2afc9d7c279b880dfcac8f27d513b50</a> (<a href='/cgit.cgi/linux/net-next.git/diff/include/sound/ac97_codec.h?h=nds-private-remove&id=35eeacf1820a08305c2b0960febfa190f5a6dd63&id2=bed45f79a2afc9d7c279b880dfcac8f27d513b50'>diff</a>)</td></tr><tr><th>parent</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/commit/include/sound/ac97_codec.h?h=nds-private-remove&id=1ee18329fae936089c6c599250ae92482ff2b81f'>1ee18329fae936089c6c599250ae92482ff2b81f</a> (<a href='/cgit.cgi/linux/net-next.git/diff/include/sound/ac97_codec.h?h=nds-private-remove&id=35eeacf1820a08305c2b0960febfa190f5a6dd63&id2=1ee18329fae936089c6c599250ae92482ff2b81f'>diff</a>)</td></tr></table> <div class='commit-subject'>Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net</div><div class='commit-msg'></div><div class='diffstat-header'><a href='/cgit.cgi/linux/net-next.git/diff/?h=nds-private-remove&id=35eeacf1820a08305c2b0960febfa190f5a6dd63'>Diffstat</a> (limited to 'include/sound/ac97_codec.h')</div><table summary='diffstat' class='diffstat'>