xref: /freebsd/sbin/ipf/libipf/kmemcpywrap.c (revision 1323ec571215a77ddd21294f0871979d5ad6b992)
1 /*	$FreeBSD$	*/
2 
3 /*
4  * Copyright (C) 2012 by Darren Reed.
5  *
6  * See the IPFILTER.LICENCE file for details on licencing.
7  *
8  * $Id$
9  */
10 
11 #include "ipf.h"
12 #include "kmem.h"
13 
14 int
15 kmemcpywrap(void *from, void *to, size_t size)
16 {
17 	int ret;
18 
19 	ret = kmemcpy((caddr_t)to, (u_long)from, size);
20 	return (ret);
21 }
22 
23