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