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.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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
Note: See TracChangeset for help on using the changeset viewer.