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