141edb306SCy Schubert 241edb306SCy Schubert /* 341edb306SCy Schubert * Copyright (C) 2012 by Darren Reed. 441edb306SCy Schubert * 541edb306SCy Schubert * See the IPFILTER.LICENCE file for details on licencing. 641edb306SCy Schubert * 741edb306SCy Schubert * $Id$ 841edb306SCy Schubert */ 941edb306SCy Schubert 1041edb306SCy Schubert #include "ipf.h" 1141edb306SCy Schubert #include "kmem.h" 1241edb306SCy Schubert 13efeb8bffSCy Schubert int kmemcpywrap(void * from,void * to,size_t size)14efeb8bffSCy Schubertkmemcpywrap(void *from, void *to, size_t size) 1541edb306SCy Schubert { 1641edb306SCy Schubert int ret; 1741edb306SCy Schubert 1841edb306SCy Schubert ret = kmemcpy((caddr_t)to, (u_long)from, size); 19*2582ae57SCy Schubert return (ret); 2041edb306SCy Schubert } 2141edb306SCy Schubert 22