Mercurial > ecos
diff packages/net/tcpip/current/src/sys/netinet/ip_input.c @ 208:e0c0827131d1 ecos
Merge from eCos master repository on 2002-05-20-20:11:54-BST
| author | jlarmour |
|---|---|
| date | Mon, 20 May 2002 22:19:26 +0000 |
| parents | 6ed91473a1cd |
| children | 74dbf4c3f2e1 |
line wrap: on
line diff
--- a/packages/net/tcpip/current/src/sys/netinet/ip_input.c +++ b/packages/net/tcpip/current/src/sys/netinet/ip_input.c @@ -5,29 +5,6 @@ // // //========================================================================== -//####COPYRIGHTBEGIN#### -// -// ------------------------------------------- -// The contents of this file are subject to the Red Hat eCos Public License -// Version 1.1 (the "License"); you may not use this file except in -// compliance with the License. You may obtain a copy of the License at -// http://www.redhat.com/ -// -// Software distributed under the License is distributed on an "AS IS" -// basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the -// License for the specific language governing rights and limitations under -// the License. -// -// The Original Code is eCos - Embedded Configurable Operating System, -// released September 30, 1998. -// -// The Initial Developer of the Original Code is Red Hat. -// Portions created by Red Hat are -// Copyright (C) 1998, 1999, 2000 Red Hat, Inc. -// All Rights Reserved. -// ------------------------------------------- -// -//####COPYRIGHTEND#### //####BSDCOPYRIGHTBEGIN#### // // ------------------------------------------- @@ -183,6 +160,7 @@ u_char ip_protox[IPPROTO_MAX]; int ipqmaxlen = IFQ_MAXLEN; struct in_ifaddrhead in_ifaddr; struct ifqueue ipintrq; +struct ipstat ipstat; #if defined(IPFILTER) || defined(IPFILTER_LKM) int (*fr_checkp) __P((struct ip *, int, struct ifnet *, int, struct mbuf **)); @@ -219,6 +197,8 @@ ipq_unlock() splx(s); } +#if 0 // Now in common layer + static char *ui8tod( cyg_uint8 n, char *p ) { if( n > 99 ) *p++ = (n/100) + '0'; @@ -249,6 +229,7 @@ inet_ntoa(ina) return (buf); } +#endif /* * We need to save the IP options in case a protocol wants to respond
