xref: /freebsd/sbin/ipf/libipf/kmemcpywrap.c (revision 8881d206f4e68b564c2c5f50fc717086fc3e827a)
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