freebsd-dev/contrib/ipfilter/lib/kmemcpywrap.c
Cy Schubert bfc88dcbf7 Update ipfilter 4.1.28 --> 5.1.2.
Approved by:		glebius (mentor)
BSD Licensed by:	Darren Reed <darrenr@reed.wattle.id.au> (author)
2013-09-06 23:11:19 +00:00

24 lines
314 B
C

/* $FreeBSD$ */
/*
* Copyright (C) 2012 by Darren Reed.
*
* See the IPFILTER.LICENCE file for details on licencing.
*
* $Id$
*/
#include "ipf.h"
#include "kmem.h"
int kmemcpywrap(from, to, size)
void *from, *to;
size_t size;
{
int ret;
ret = kmemcpy((caddr_t)to, (u_long)from, size);
return ret;
}