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