xref: /freebsd/sbin/ipf/libipf/kmemcpywrap.c (revision b3d14eaccc5f606690d99b1998bfdf32a22404f6)
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 kmemcpywrap(from, to, size)
15 	void *from, *to;
16 	size_t size;
17 {
18 	int ret;
19 
20 	ret = kmemcpy((caddr_t)to, (u_long)from, size);
21 	return ret;
22 }
23 
24