xref: /freebsd/sbin/ipf/libipf/kmemcpywrap.c (revision 2a63c3be158216222d89a073dcbd6a72ee4aab5a)
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
kmemcpywrap(void * from,void * to,size_t size)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