1*2958Sdr146992 /* 2*2958Sdr146992 * Copyright (C) 1993-2001 by Darren Reed. 3*2958Sdr146992 * 4*2958Sdr146992 * See the IPFILTER.LICENCE file for details on licencing. 5*2958Sdr146992 */ 6*2958Sdr146992 /* 7*2958Sdr146992 * Copyright 2006 Sun Microsystems, Inc. All rights reserved. 8*2958Sdr146992 * Use is subject to license terms. 9*2958Sdr146992 */ 10*2958Sdr146992 11*2958Sdr146992 #pragma ident "%Z%%M% %I% %E% SMI" 12*2958Sdr146992 130Sstevel@tonic-gate #include "ipf.h" 140Sstevel@tonic-gate getsumd(sum)150Sstevel@tonic-gatechar *getsumd(sum) 160Sstevel@tonic-gate u_32_t sum; 170Sstevel@tonic-gate { 180Sstevel@tonic-gate static char sumdbuf[17]; 190Sstevel@tonic-gate 20*2958Sdr146992 sprintf(sumdbuf, "%#0x", sum); 210Sstevel@tonic-gate return sumdbuf; 220Sstevel@tonic-gate } 23