Changeset 751c513 in rtems


Ignore:
Timestamp:
Dec 3, 2004, 5:07:56 AM (16 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
c75f2d1
Parents:
46a1aa9
Message:

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

  • libnetworking/net/if_ethersubr.c, libnetworking/net/radix.h, libnetworking/netinet/if_ether.h, libnetworking/netinet/igmp_var.h, libnetworking/netinet/in_var.h, libnetworking/netinet/tcp_timer.h, libnetworking/netinet/udp_usrreq.c, libnetworking/rtems/rtems_glue.c: Misc. updates from FreeBSD and bugfixes tripped by GCC-4.0.0.
Location:
cpukit
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    r46a1aa9 r751c513  
     12004-12-03      Ralf Corsepius <ralf.corsepius@rtems.org>
     2
     3        * libnetworking/net/if_ethersubr.c,
     4        libnetworking/net/radix.h,
     5        libnetworking/netinet/if_ether.h,
     6        libnetworking/netinet/igmp_var.h,
     7        libnetworking/netinet/in_var.h,
     8        libnetworking/netinet/tcp_timer.h,
     9        libnetworking/netinet/udp_usrreq.c,
     10        libnetworking/rtems/rtems_glue.c:
     11        Misc. updates from FreeBSD and bugfixes tripped by GCC-4.0.0.
     12
    1132004-12-02      Ralf Corsepius <ralf.corsepius@rtems.org>
    214
  • cpukit/libnetworking/net/if_ethersubr.c

    r46a1aa9 r751c513  
    555555}
    556556
     557#if defined(__rtems__)
     558u_char ether_ipmulticast_min[6] =
     559        { 0x01, 0x00, 0x5e, 0x00, 0x00, 0x00 };
     560u_char ether_ipmulticast_max[6] =
     561        { 0x01, 0x00, 0x5e, 0x7f, 0xff, 0xff };
     562#else
    557563static u_char ether_ipmulticast_min[6] =
    558564        { 0x01, 0x00, 0x5e, 0x00, 0x00, 0x00 };
    559565static u_char ether_ipmulticast_max[6] =
    560566        { 0x01, 0x00, 0x5e, 0x7f, 0xff, 0xff };
     567#endif
     568
    561569/*
    562570 * Add an Ethernet multicast address or range of addresses to the list for a
  • cpukit/libnetworking/net/radix.h

    r46a1aa9 r751c513  
    148148#endif /*_KERNEL*/
    149149
    150 extern struct radix_node_head *mask_rnhead;
    151 
    152150void     rn_init(void);
    153151int      rn_inithead(void **, int);
  • cpukit/libnetworking/netinet/if_ether.h

    r46a1aa9 r751c513  
    4040#include <net/ethernet.h>
    4141#include <net/if_arp.h>
    42 
    43 #define ETHERTYPE_PUP           0x0200  /* PUP protocol */
    44 #define ETHERTYPE_IP            0x0800  /* IP protocol */
    45 #define ETHERTYPE_ARP           0x0806  /* Addr. resolution protocol */
    46 #define ETHERTYPE_REVARP        0x8035  /* reverse Addr. resolution protocol */
    47 
    48 /*
    49  * The ETHERTYPE_NTRAILER packet types starting at ETHERTYPE_TRAIL have
    50  * (type-ETHERTYPE_TRAIL)*512 bytes of data followed
    51  * by an ETHER type (as given above) and then the (variable-length) header.
    52  */
    53 #define ETHERTYPE_TRAIL         0x1000          /* Trailer packet */
    54 #define ETHERTYPE_NTRAILER      16
    55 
    56 #define ETHERMTU        (ETHER_MAX_LEN-ETHER_HDR_LEN-ETHER_CRC_LEN)
    57 #define ETHERMIN        (ETHER_MIN_LEN-ETHER_HDR_LEN-ETHER_CRC_LEN)
    5842
    5943#ifdef _KERNEL
  • cpukit/libnetworking/netinet/igmp_var.h

    r46a1aa9 r751c513  
    6060
    6161#ifdef _KERNEL
    62 extern struct igmpstat igmpstat;
    63 
    6462#define IGMP_RANDOM_DELAY(X) (random() % (X) + 1)
    6563
  • cpukit/libnetworking/netinet/in_var.h

    r46a1aa9 r751c513  
     1/* $Id */
    12/*
    23 * Copyright (c) 1985, 1986, 1993
     
    8788extern  struct  in_addr zeroin_addr;
    8889extern  u_char  inetctlerrmap[];
    89 extern  int rtq_reallyold;      /* XXX */
    90 extern  int rtq_minreallyold;   /* XXX */
    91 extern  int rtq_toomany;        /* XXX */
    9290
    9391/*
  • cpukit/libnetworking/netinet/tcp_timer.h

    r46a1aa9 r751c513  
    126126extern int tcp_keepinit;                /* time to establish connection */
    127127extern int tcp_keepidle;                /* time before keepalive probes begin */
    128 extern int tcp_keepintvl;               /* time between keepalive probes */
    129128extern int tcp_maxidle;                 /* time to drop after starting probes */
    130129extern int tcp_ttl;                     /* time to live for TCP segs */
  • cpukit/libnetworking/netinet/udp_usrreq.c

    r46a1aa9 r751c513  
    7474        &log_in_vain, 0, "");
    7575
    76 static struct   inpcbhead udb;          /* from udp_var.h */
    77 static struct   inpcbinfo udbinfo;
     76struct  inpcbhead udb;          /* from udp_var.h */
     77struct  inpcbinfo udbinfo;
    7878
    7979#ifndef UDBHASHSIZE
  • cpukit/libnetworking/rtems/rtems_glue.c

    r46a1aa9 r751c513  
    7474 */
    7575static rtems_interval   ticksWhenCalloutsLastChecked;
    76 static struct callout *callfree, calltodo;
     76struct callout *callfree = NULL;
     77struct callout calltodo;
    7778
    7879/*
Note: See TracChangeset for help on using the changeset viewer.