Ignore:
Timestamp:
Jul 10, 2003, 6:12:33 PM (22 years ago)
Author:
bird
Message:

#427: FreeBSD 5.1 level.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/emx/include/protocols/timed.h

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r338 r339  
    3333 *
    3434 *      @(#)timed.h     8.1 (Berkeley) 6/2/93
     35 *
     36 * $FreeBSD: src/include/protocols/timed.h,v 1.7 2002/02/03 12:00:05 markm Exp $
     37 *
     38 * @@level      FreeBSD 5.1
     39 * @@changed    bird: TCPV40HDRS, #pragma pack(1) paranoia.
    3540 */
    3641
     
    4853#pragma pack(1) /* OS2 paranoia */
    4954struct tsp {
    50         u_char  tsp_type;
    51         u_char  tsp_vers;
    52         u_short tsp_seq;
     55        u_int8_t        tsp_type;
     56        u_int8_t        tsp_vers;
     57        u_int16_t       tsp_seq;
    5358        union {
    54                 struct timeval tspu_time;
     59                struct {
     60                        int32_t tv_sec;
     61                        int32_t tv_usec;
     62                } tspu_time;
    5563                char tspu_hopcnt;
    5664        } tsp_u;
     
    94102
    95103#ifdef TSPTYPES
    96 char *tsptype[TSPTYPENUMBER] =
     104const char *tsptype[TSPTYPENUMBER] =
    97105  { "ANY", "ADJTIME", "ACK", "MASTERREQ", "MASTERACK", "SETTIME", "MASTERUP",
    98106  "SLAVEUP", "ELECTION", "ACCEPT", "REFUSE", "CONFLICT", "RESOLVE", "QUIT",
Note: See TracChangeset for help on using the changeset viewer.