Changeset 0262dee in rtems
- Timestamp:
- Oct 22, 2004, 10:03:53 AM (16 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- c3814c5
- Parents:
- a328cd15
- Location:
- cpukit
- Files:
-
- 7 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
cpukit/ChangeLog
ra328cd15 r0262dee 1 2004-10-22 Ralf Corsepius <ralf_corsepius@rtems.org> 2 3 * libnetworking/opt_atalk.h, libnetworking/opt_bdg.h, 4 libnetworking/opt_inet.h, libnetworking/opt_inet6.h, 5 libnetworking/opt_ipx.h, libnetworking/opt_mac.h, 6 libnetworking/opt_netgraph.h: New (Stubs). 7 * libnetworking/net/if_loop.c: Cosmetical update from FreeBSD. 8 1 9 2004-10-21 Ralf Corsepius <ralf_corsepius@rtems.org> 2 10 -
cpukit/libnetworking/net/if_loop.c
ra328cd15 r0262dee 11 11 * notice, this list of conditions and the following disclaimer in the 12 12 * documentation and/or other materials provided with the distribution. 13 * 3. All advertising materials mentioning features or use of this software14 * must display the following acknowledgement:15 * This product includes software developed by the University of16 * California, Berkeley and its contributors.17 13 * 4. Neither the name of the University nor the names of its contributors 18 14 * may be used to endorse or promote products derived from this software … … 31 27 * SUCH DAMAGE. 32 28 * 33 * @(#)if_loop.c 8.1 (Berkeley) 6/10/93 29 * @(#)if_loop.c 8.2 (Berkeley) 1/9/95 30 * $FreeBSD: src/sys/net/if_loop.c,v 1.102 2004/08/27 18:33:07 andre Exp $ 31 */ 32 33 /* 34 34 * $Id$ 35 35 */ … … 40 40 #include "loop.h" 41 41 #if NLOOP > 0 42 43 #include "opt_atalk.h" 44 #include "opt_inet.h" 45 #include "opt_inet6.h" 46 #include "opt_ipx.h" 42 47 43 48 #include <sys/param.h> … … 68 73 #endif 69 74 70 #ifdef NS 71 #include <netns/ns.h> 72 #include <netns/ns_if.h> 73 #endif 74 75 #ifdef ISO 76 #include <netiso/iso.h> 77 #include <netiso/iso_var.h> 75 #ifdef INET6 76 #ifndef INET 77 #include <netinet/in.h> 78 #endif 79 #include <netinet6/in6_var.h> 80 #include <netinet/ip6.h> 78 81 #endif 79 82 80 83 #ifdef NETATALK 81 #include <netinet/if_ether.h>82 84 #include <netatalk/at.h> 83 85 #include <netatalk/at_var.h> … … 94 96 #ifdef TINY_LOMTU 95 97 #define LOMTU (1024+512) 98 #elif defined(LARGE_LOMTU) 99 #define LOMTU 131072 96 100 #else 97 101 #define LOMTU 16384 … … 148 152 } 149 153 154 /* Let BPF see incoming packet */ 150 155 if (ifp->if_bpf) { 151 156 /* … … 189 194 break; 190 195 #endif 191 #ifdef NS192 case AF_NS:193 ifq = &nsintrq;194 isr = NETISR_NS;195 break;196 #endif197 #ifdef ISO198 case AF_ISO:199 ifq = &clnlintrq;200 isr = NETISR_ISO;201 break;202 #endif203 196 #ifdef NETATALK 204 197 case AF_APPLETALK:
Note: See TracChangeset
for help on using the changeset viewer.