Changeset 0262dee in rtems


Ignore:
Timestamp:
Oct 22, 2004, 10:03:53 AM (16 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
c3814c5
Parents:
a328cd15
Message:

2004-10-22 Ralf Corsepius <ralf_corsepius@…>

  • libnetworking/opt_atalk.h, libnetworking/opt_bdg.h, libnetworking/opt_inet.h, libnetworking/opt_inet6.h, libnetworking/opt_ipx.h, libnetworking/opt_mac.h, libnetworking/opt_netgraph.h: New (Stubs).
  • libnetworking/net/if_loop.c: Cosmetical update from FreeBSD.
Location:
cpukit
Files:
7 added
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    ra328cd15 r0262dee  
     12004-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
    192004-10-21      Ralf Corsepius <ralf_corsepius@rtems.org>
    210
  • cpukit/libnetworking/net/if_loop.c

    ra328cd15 r0262dee  
    1111 *    notice, this list of conditions and the following disclaimer in the
    1212 *    documentation and/or other materials provided with the distribution.
    13  * 3. All advertising materials mentioning features or use of this software
    14  *    must display the following acknowledgement:
    15  *      This product includes software developed by the University of
    16  *      California, Berkeley and its contributors.
    1713 * 4. Neither the name of the University nor the names of its contributors
    1814 *    may be used to endorse or promote products derived from this software
     
    3127 * SUCH DAMAGE.
    3228 *
    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/*
    3434 * $Id$
    3535 */
     
    4040#include "loop.h"
    4141#if NLOOP > 0
     42
     43#include "opt_atalk.h"
     44#include "opt_inet.h"
     45#include "opt_inet6.h"
     46#include "opt_ipx.h"
    4247
    4348#include <sys/param.h>
     
    6873#endif
    6974
    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>
    7881#endif
    7982
    8083#ifdef NETATALK
    81 #include <netinet/if_ether.h>
    8284#include <netatalk/at.h>
    8385#include <netatalk/at_var.h>
     
    9496#ifdef TINY_LOMTU
    9597#define LOMTU   (1024+512)
     98#elif defined(LARGE_LOMTU)
     99#define LOMTU  131072
    96100#else
    97101#define LOMTU   16384
     
    148152        }
    149153
     154        /* Let BPF see incoming packet */
    150155        if (ifp->if_bpf) {
    151156                /*
     
    189194                break;
    190195#endif
    191 #ifdef NS
    192         case AF_NS:
    193                 ifq = &nsintrq;
    194                 isr = NETISR_NS;
    195                 break;
    196 #endif
    197 #ifdef ISO
    198         case AF_ISO:
    199                 ifq = &clnlintrq;
    200                 isr = NETISR_ISO;
    201                 break;
    202 #endif
    203196#ifdef NETATALK
    204197        case AF_APPLETALK:
Note: See TracChangeset for help on using the changeset viewer.