Changeset dac1edb in rtems


Ignore:
Timestamp:
Dec 2, 2004, 6:42:53 PM (16 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
78219ad1
Parents:
cbd7691
Message:

2004-12-02 Ralf Corsepius <ralf.corsepius@…>

  • libnetworking/net/radix.c, libnetworking/net/radix.h, libnetworking/net/route.h, libnetworking/netinet/if_ether.h, libnetworking/netinet/in_var.h, libnetworking/netinet/tcp_timer.h, libnetworking/netinet/udp_usrreq.c, libnetworking/netinet/udp_var.h, libnetworking/sys/callout.h, libnetworking/sys/socketvar.h, libnetworking/sys/sysctl.h: Cosmetics from FreeBSD.
Location:
cpukit
Files:
12 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    rcbd7691 rdac1edb  
     12004-12-02      Ralf Corsepius <ralf.corsepius@rtems.org>
     2
     3        * libnetworking/net/radix.c, libnetworking/net/radix.h,
     4        libnetworking/net/route.h, libnetworking/netinet/if_ether.h,
     5        libnetworking/netinet/in_var.h, libnetworking/netinet/tcp_timer.h,
     6        libnetworking/netinet/udp_usrreq.c, libnetworking/netinet/udp_var.h,
     7        libnetworking/sys/callout.h, libnetworking/sys/socketvar.h,
     8        libnetworking/sys/sysctl.h: Cosmetics from FreeBSD.
     9
    1102004-12-02      Ralf Corsepius <ralf.corsepius@rtems.org>
    211
  • cpukit/libnetworking/net/radix.c

    rcbd7691 rdac1edb  
    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
     
    3228 *
    3329 *      @(#)radix.c     8.5 (Berkeley) 5/19/95
    34  * $FreeBSD: src/sys/net/radix.c,v 1.32 2003/09/22 23:24:18 peter Exp $
     30 * $FreeBSD: src/sys/net/radix.c,v 1.36 2004/04/21 15:27:36 luigi Exp $
    3531 */
    3632
  • cpukit/libnetworking/net/radix.h

    rcbd7691 rdac1edb  
    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
     
    3228 *
    3329 *      @(#)radix.h     8.2 (Berkeley) 10/31/94
    34  * $FreeBSD: src/sys/net/radix.h,v 1.23 2003/08/19 17:23:07 sam Exp $
     30 * $FreeBSD: src/sys/net/radix.h,v 1.25 2004/04/18 11:48:35 luigi Exp $
    3531 */
    3632
  • cpukit/libnetworking/net/route.h

    rcbd7691 rdac1edb  
    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  *      @(#)route.h     8.3 (Berkeley) 4/19/94
     29 *      @(#)route.h     8.4 (Berkeley) 1/9/95
     30 * $FreeBSD: src/sys/net/route.h,v 1.62 2004/10/05 19:48:33 sam Exp $
     31 */
     32
     33/*
    3434 * $Id$
    3535 */
     
    5959 * retransmission behavior and are included in the routing structure.
    6060 */
     61struct rt_metrics_lite {
     62        u_long  rmx_mtu;        /* MTU for this path */
     63        u_long  rmx_expire;     /* lifetime for route, e.g. redirect */
     64        u_long  rmx_pksent;     /* packets sent using this route */
     65};
     66
    6167struct rt_metrics {
    6268        u_long  rmx_locks;      /* Kernel must leave these values alone */
     
    141147#define RTF_MODIFIED    0x20            /* modified dynamically (by redirect) */
    142148#define RTF_DONE        0x40            /* message confirmed */
    143 /*                      0x80               unused */
     149/*                      0x80               unused, was RTF_DELCLONE */
    144150#define RTF_CLONING     0x100           /* generate new routes on use */
    145151#define RTF_XRESOLVE    0x200           /* external daemon resolves name */
     
    190196#define RTM_VERSION     5       /* Up the ante and ignore older versions */
    191197
     198/*
     199 * Message types.
     200 */
    192201#define RTM_ADD         0x1     /* Add Route */
    193202#define RTM_DELETE      0x2     /* Delete Route */
     
    204213#define RTM_DELADDR     0xd     /* address being removed from iface */
    205214#define RTM_IFINFO      0xe     /* iface going up/down etc. */
    206 
     215#define RTM_NEWMADDR    0xf     /* mcast group membership being added to if */
     216#define RTM_DELMADDR    0x10    /* mcast group membership being deleted */
     217#define RTM_IFANNOUNCE  0x11    /* iface arrival/departure */
     218#define RTM_IEEE80211   0x12    /* IEEE80211 wireless event */
     219
     220/*
     221 * Bitmask values for rtm_inits and rmx_locks.
     222 */
    207223#define RTV_MTU         0x1     /* init or lock _mtu */
    208224#define RTV_HOPCOUNT    0x2     /* init or lock _hopcount */
    209 #define RTV_EXPIRE      0x4     /* init or lock _hopcount */
     225#define RTV_EXPIRE      0x4     /* init or lock _expire */
    210226#define RTV_RPIPE       0x8     /* init or lock _recvpipe */
    211227#define RTV_SPIPE       0x10    /* init or lock _sendpipe */
     
    215231
    216232/*
    217  * Bitmask values for rtm_addr.
     233 * Bitmask values for rtm_addrs.
    218234 */
    219235#define RTA_DST         0x1     /* destination sockaddr present */
     
    262278
    263279extern struct route_cb route_cb;
    264 extern struct rtstat rtstat;
    265280extern struct radix_node_head *rt_tables[AF_MAX+1];
    266281
  • cpukit/libnetworking/netinet/if_ether.h

    rcbd7691 rdac1edb  
    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
     
    3228 *
    3329 *      @(#)if_ether.h  8.3 (Berkeley) 5/2/95
     30 * $FreeBSD: src/sys/netinet/if_ether.h,v 1.30 2004/04/07 20:46:13 imp Exp $
     31 */
     32
     33/*
    3434 *      $Id$
    3535 */
     
    3838#define _NETINET_IF_ETHER_H_
    3939
    40 #include <netinet/in.h>
    4140#include <net/ethernet.h>
     41#include <net/if_arp.h>
    4242
    4343#define ETHERTYPE_PUP           0x0200  /* PUP protocol */
  • cpukit/libnetworking/netinet/in_var.h

    rcbd7691 rdac1edb  
    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
     
    3228 *
    3329 *      @(#)in_var.h    8.2 (Berkeley) 1/9/95
    34  *      $Id$
     30 * $FreeBSD: src/sys/netinet/in_var.h,v 1.52 2004/10/19 21:06:14 andre Exp $
    3531 */
    3632
     
    3935
    4036#include <sys/queue.h>
     37#if !defined(__rtems__)
     38#include <sys/fnv_hash.h>
     39#endif
    4140
    4241/*
    4342 * Interface address, Internet version.  One of these structures
    44  * is allocated for each interface with an Internet address.
     43 * is allocated for each Internet address on an interface.
    4544 * The ifaddr structure contains the protocol-independent part
    4645 * of the structure and is assumed to be first.
  • cpukit/libnetworking/netinet/tcp_timer.h

    rcbd7691 rdac1edb  
    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
     
    3228 *
    3329 *      @(#)tcp_timer.h 8.1 (Berkeley) 6/10/93
    34  *      $Id$
     30 * $FreeBSD: src/sys/netinet/tcp_timer.h,v 1.26 2004/08/16 18:32:07 rwatson Exp $
    3531 */
    3632
  • cpukit/libnetworking/netinet/udp_usrreq.c

    rcbd7691 rdac1edb  
    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
     
    3228 *
    3329 *      @(#)udp_usrreq.c        8.6 (Berkeley) 5/23/95
    34  *      $Id$
     30 * $FreeBSD: src/sys/netinet/udp_usrreq.c,v 1.170 2004/11/08 14:44:53 phk Exp $
    3531 */
    3632
  • cpukit/libnetworking/netinet/udp_var.h

    rcbd7691 rdac1edb  
    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
     
    3228 *
    3329 *      @(#)udp_var.h   8.1 (Berkeley) 6/10/93
    34  * $Id$
     30 * $FreeBSD: src/sys/netinet/udp_var.h,v 1.28 2004/08/16 18:32:07 rwatson Exp $
    3531 */
    3632
  • cpukit/libnetworking/sys/callout.h

    rcbd7691 rdac1edb  
    1616 *    notice, this list of conditions and the following disclaimer in the
    1717 *    documentation and/or other materials provided with the distribution.
    18  * 3. All advertising materials mentioning features or use of this software
    19  *    must display the following acknowledgement:
    20  *      This product includes software developed by the University of
    21  *      California, Berkeley and its contributors.
    2218 * 4. Neither the name of the University nor the names of its contributors
    2319 *    may be used to endorse or promote products derived from this software
     
    3733 *
    3834 *      @(#)callout.h   8.2 (Berkeley) 1/21/94
    39  * $Id$
     35 * $FreeBSD: src/sys/sys/callout.h,v 1.27 2004/04/20 15:49:31 cperciva Exp $
    4036 */
    4137
  • cpukit/libnetworking/sys/socketvar.h

    rcbd7691 rdac1edb  
    1313 *    notice, this list of conditions and the following disclaimer in the
    1414 *    documentation and/or other materials provided with the distribution.
    15  * 3. All advertising materials mentioning features or use of this software
    16  *    must display the following acknowledgement:
    17  *      This product includes software developed by the University of
    18  *      California, Berkeley and its contributors.
    1915 * 4. Neither the name of the University nor the names of its contributors
    2016 *    may be used to endorse or promote products derived from this software
     
    3430 *
    3531 *      @(#)socketvar.h 8.3 (Berkeley) 2/19/95
    36  * $FreeBSD: src/sys/sys/socketvar.h,v 1.110 2004/03/01 03:14:23 rwatson Exp $
     32 * $FreeBSD: src/sys/sys/socketvar.h,v 1.135 2004/10/18 22:19:43 rwatson Exp $
    3733 */
    3834
  • cpukit/libnetworking/sys/sysctl.h

    rcbd7691 rdac1edb  
    3131 *
    3232 *      @(#)sysctl.h    8.1 (Berkeley) 6/2/93
    33  * $FreeBSD: src/sys/sys/sysctl.h,v 1.128 2004/04/07 04:19:49 imp Exp $
     33 * $FreeBSD: src/sys/sys/sysctl.h,v 1.133 2004/10/11 22:04:16 peter Exp $
    3434 */
    3535
     
    103103 * be implemented.
    104104 * e.g. SYSCTL_INT(_parent, OID_AUTO, name, CTLFLAG_RW, &variable, 0, "");
    105  */
     105 */ 
    106106#define OID_AUTO        (-1)
    107107
     
    352352#define KERN_MAXFILESPERPROC    27      /* int: max open files per proc */
    353353#define KERN_MAXPROCPERUID      28      /* int: max processes per uid */
    354 #define KERN_DUMPDEV            29      /* dev_t: device to dump on */
     354#define KERN_DUMPDEV            29      /* struct cdev *: device to dump on */
    355355#define KERN_IPC                30      /* node: anything related to IPC */
    356356#define KERN_DUMMY              31      /* unused */
     
    359359#define KERN_LOGSIGEXIT         34      /* int: do we log sigexit procs? */
    360360#define KERN_IOV_MAX            35      /* int: value of UIO_MAXIOV */
    361 #define KERN_MAXID              36      /* number of valid kern ids */
     361#define KERN_MAXID              36      /* number of valid kern ids */
    362362
    363363#define CTL_KERN_NAMES { \
     
    419419#define KERN_PROC_PROC          8       /* only return procs */
    420420#define KERN_PROC_SV_NAME       9       /* get syscall vector name */
     421#define KERN_PROC_RGID          10      /* by real group id */
     422#define KERN_PROC_GID           11      /* by effective group id */
    421423#define KERN_PROC_INC_THREAD    0x10    /*
    422424                                         * modifier for pid, pgrp, tty,
    423                                          * uid, ruid, and proc
     425                                         * uid, ruid, gid, rgid and proc
    424426                                         */
    425427
Note: See TracChangeset for help on using the changeset viewer.