1*043036a2SApple OSS Distributions #ifndef _S_IN_CKSUM_H 2*043036a2SApple OSS Distributions #define _S_IN_CKSUM_H 3*043036a2SApple OSS Distributions /* 4*043036a2SApple OSS Distributions * Copyright (c) 2000 Apple Inc. All rights reserved. 5*043036a2SApple OSS Distributions * 6*043036a2SApple OSS Distributions * @APPLE_LICENSE_HEADER_START@ 7*043036a2SApple OSS Distributions * 8*043036a2SApple OSS Distributions * This file contains Original Code and/or Modifications of Original Code 9*043036a2SApple OSS Distributions * as defined in and that are subject to the Apple Public Source License 10*043036a2SApple OSS Distributions * Version 2.0 (the 'License'). You may not use this file except in 11*043036a2SApple OSS Distributions * compliance with the License. Please obtain a copy of the License at 12*043036a2SApple OSS Distributions * http://www.opensource.apple.com/apsl/ and read it before using this 13*043036a2SApple OSS Distributions * file. 14*043036a2SApple OSS Distributions * 15*043036a2SApple OSS Distributions * The Original Code and all software distributed under the License are 16*043036a2SApple OSS Distributions * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 17*043036a2SApple OSS Distributions * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 18*043036a2SApple OSS Distributions * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 19*043036a2SApple OSS Distributions * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 20*043036a2SApple OSS Distributions * Please see the License for the specific language governing rights and 21*043036a2SApple OSS Distributions * limitations under the License. 22*043036a2SApple OSS Distributions * 23*043036a2SApple OSS Distributions * @APPLE_LICENSE_HEADER_END@ 24*043036a2SApple OSS Distributions */ 25*043036a2SApple OSS Distributions extern unsigned short in_cksum(void * pkt, int len); 26*043036a2SApple OSS Distributions 27*043036a2SApple OSS Distributions #endif /* _S_IN_CKSUM_H */ 28