summaryrefslogtreecommitdiffstats
path: root/sys/netinet/udp_usrreq.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-12-16 02:14:44 +0000
committerbde <bde@FreeBSD.org>1995-12-16 02:14:44 +0000
commit113a24d243071d21a3c6113ce3024dbbf68fc5f6 (patch)
tree94e1ead13196636285fcd186a736f2f784654100 /sys/netinet/udp_usrreq.c
parenta98acddd049887630b40a28d26f92685a8f965c8 (diff)
downloadFreeBSD-src-113a24d243071d21a3c6113ce3024dbbf68fc5f6.zip
FreeBSD-src-113a24d243071d21a3c6113ce3024dbbf68fc5f6.tar.gz
Uniformized pr_ctlinput protosw functions. The third arg is now `void
*' instead of caddr_t and it isn't optional (it never was). Most of the netipx (and netns) pr_ctlinput functions abuse the second arg instead of using the third arg but fixing this is beyond the scope of this round of changes.
Diffstat (limited to 'sys/netinet/udp_usrreq.c')
-rw-r--r--sys/netinet/udp_usrreq.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/netinet/udp_usrreq.c b/sys/netinet/udp_usrreq.c
index 807a147..301c088 100644
--- a/sys/netinet/udp_usrreq.c
+++ b/sys/netinet/udp_usrreq.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)udp_usrreq.c 8.6 (Berkeley) 5/23/95
- * $Id: udp_usrreq.c,v 1.17 1995/12/06 23:37:44 bde Exp $
+ * $Id: udp_usrreq.c,v 1.18 1995/12/14 09:53:49 phk Exp $
*/
#include <sys/param.h>
@@ -373,11 +373,12 @@ udp_notify(inp, errno)
}
void
-udp_ctlinput(cmd, sa, ip)
+udp_ctlinput(cmd, sa, vip)
int cmd;
struct sockaddr *sa;
- register struct ip *ip;
+ void *vip;
{
+ register struct ip *ip = vip;
register struct udphdr *uh;
if (!PRC_IS_REDIRECT(cmd) &&
OpenPOWER on IntegriCloud