/* * File: pep_gprs.h * * GPRS over Phonet pipe end point socket * * Copyright (C) 2008 Nokia Corporation. * * Author: RĂ©mi Denis-Courmont * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * version 2 as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA * 02110-1301 USA */ #ifndef NET_PHONET_GPRS_H #define NET_PHONET_GPRS_H struct sock; struct sk_buff; int pep_writeable(struct sock *sk); int pep_write(struct sock *sk, struct sk_buff *skb); struct sk_buff *pep_read(struct sock *sk); int gprs_attach(struct sock *sk); void gprs_detach(struct sock *sk); #endif maclite-cleanup</option> <option value='master' selected='selected'>master</option> <option value='nds-private-remove'>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/'>summary</a><a href='/cgit.cgi/linux/net-next.git/refs/?id=2ad5d52d42810bed95100a3d912679d8864421ec'>refs</a><a href='/cgit.cgi/linux/net-next.git/log/net/ipv6/reassembly.c'>log</a><a href='/cgit.cgi/linux/net-next.git/tree/net/ipv6/reassembly.c?id=2ad5d52d42810bed95100a3d912679d8864421ec'>tree</a><a class='active' href='/cgit.cgi/linux/net-next.git/commit/net/ipv6/reassembly.c?id=2ad5d52d42810bed95100a3d912679d8864421ec'>commit</a><a href='/cgit.cgi/linux/net-next.git/diff/net/ipv6/reassembly.c?id=2ad5d52d42810bed95100a3d912679d8864421ec'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/net/ipv6/reassembly.c'> <input type='hidden' name='id' value='2ad5d52d42810bed95100a3d912679d8864421ec'/><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=2ad5d52d42810bed95100a3d912679d8864421ec'>root</a>/<a href='/cgit.cgi/linux/net-next.git/commit/net?id=2ad5d52d42810bed95100a3d912679d8864421ec'>net</a>/<a href='/cgit.cgi/linux/net-next.git/commit/net/ipv6?id=2ad5d52d42810bed95100a3d912679d8864421ec'>ipv6</a>/<a href='/cgit.cgi/linux/net-next.git/commit/net/ipv6/reassembly.c?id=2ad5d52d42810bed95100a3d912679d8864421ec'>reassembly.c</a></div><div class='content'><div class='cgit-panel'><b>diff options</b><form method='get'><input type='hidden' name='id' value='2ad5d52d42810bed95100a3d912679d8864421ec'/><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>Helge Deller <deller@gmx.de></td><td class='right'>2017-01-28 11:52:02 +0100</td></tr> <tr><th>committer</th><td>Helge Deller <deller@gmx.de></td><td class='right'>2017-01-28 21:54:23 +0100</td></tr> <tr><th>commit</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/commit/net/ipv6/reassembly.c?id=2ad5d52d42810bed95100a3d912679d8864421ec'>2ad5d52d42810bed95100a3d912679d8864421ec</a> (<a href='/cgit.cgi/linux/net-next.git/patch/net/ipv6/reassembly.c?id=2ad5d52d42810bed95100a3d912679d8864421ec'>patch</a>)</td></tr> <tr><th>tree</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/tree/?id=2ad5d52d42810bed95100a3d912679d8864421ec'>7f93e2f906b1c86f5b76c0f4c0978d41a8a29861</a> /<a href='/cgit.cgi/linux/net-next.git/tree/net/ipv6/reassembly.c?id=2ad5d52d42810bed95100a3d912679d8864421ec'>net/ipv6/reassembly.c</a></td></tr> <tr><th>parent</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/commit/net/ipv6/reassembly.c?id=83b5d1e3d3013dbf90645a5d07179d018c8243fa'>83b5d1e3d3013dbf90645a5d07179d018c8243fa</a> (<a href='/cgit.cgi/linux/net-next.git/diff/net/ipv6/reassembly.c?id=2ad5d52d42810bed95100a3d912679d8864421ec&id2=83b5d1e3d3013dbf90645a5d07179d018c8243fa'>diff</a>)</td></tr></table> <div class='commit-subject'>parisc: Don't use BITS_PER_LONG in userspace-exported swab.h header</div><div class='commit-msg'>In swab.h the "#if BITS_PER_LONG > 32" breaks compiling userspace programs if BITS_PER_LONG is #defined by userspace with the sizeof() compiler builtin. Solve this problem by using __BITS_PER_LONG instead. Since we now #include asm/bitsperlong.h avoid further potential userspace pollution by moving the #define of SHIFT_PER_LONG to bitops.h which is not exported to userspace. This patch unbreaks compiling qemu on hppa/parisc. Signed-off-by: Helge Deller <deller@gmx.de> Cc: <stable@vger.kernel.org> </div><div class='diffstat-header'><a href='/cgit.cgi/linux/net-next.git/diff/?id=2ad5d52d42810bed95100a3d912679d8864421ec'>Diffstat</a> (limited to 'net/ipv6/reassembly.c')</div><table summary='diffstat' class='diffstat'>