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