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