Changeset 296f9c2 in rtems


Ignore:
Timestamp:
Mar 28, 2007, 1:06:21 AM (13 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
e052fc9
Parents:
fb1d7c83
Message:

Cosmetics from FreeBSD.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libnetworking/net/if_pppvar.h

    rfb1d7c83 r296f9c2  
    1 /*  $Id$ */
    21/*
    32 * if_pppvar.h - private structures and declarations for PPP.
     
    3938 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
    4039 * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
    41  * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
     40 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
     41 *
     42 * $FreeBSD: src/sys/net/if_pppvar.h,v 1.26 2006/12/05 18:54:21 ume Exp $
    4243 */
    4344
     45/*
     46 * $Id$
     47 */
     48 
    4449/*
    4550 * Supported network protocols.  These values are used for
    4651 * indexing sc_npmode.
    4752 */
    48 #define NP_IP                 0 /* Internet Protocol */
    49 #define NUM_NP                1 /* Number of NPs. */
    50 #define NUM_MBUFQ            64
     53#define NP_IP   0               /* Internet Protocol */
     54#define NUM_NP  1               /* Number of NPs. */
     55#define NUM_MBUFQ       64
    5156
    5257
     
    8691
    8792        /* Device-dependent part for async lines. */
    88         ext_accm sc_asyncmap;                /* async control character map */
    89         u_long  sc_rasyncmap;                /* receive async control char map */
    90         struct  mbuf *sc_outm;               /* mbuf chain currently being output */
    91         struct  mbuf *sc_outmc;              /* mbuf currently being output */
    92         struct  mbuf *sc_m;                  /* pointer to input mbuf chain */
    93         struct  mbuf *sc_mc;                 /* pointer to current input mbuf */
    94         char    *sc_mp;                      /* ptr to next char in input mbuf */
    95         short   sc_ilen;                     /* length of input packet so far */
    96         u_short sc_fcs;                      /* FCS so far (input) */
    97         u_short sc_outfcs;                   /* FCS so far for output packet */
    98         u_char  sc_rawin[16];                /* chars as received */
    99         int     sc_rawin_count;              /* # in sc_rawin */
     93        ext_accm sc_asyncmap;           /* async control character map */
     94        u_long  sc_rasyncmap;           /* receive async control char map */
     95        struct  mbuf *sc_outm;          /* mbuf chain currently being output */
     96        struct  mbuf *sc_outmc;         /* mbuf currently being output */
     97        struct  mbuf *sc_m;             /* pointer to input mbuf chain */
     98        struct  mbuf *sc_mc;            /* pointer to current input mbuf */
     99        char    *sc_mp;                 /* ptr to next char in input mbuf */
     100        short   sc_ilen;                /* length of input packet so far */
     101        u_short sc_fcs;                 /* FCS so far (input) */
     102        u_short sc_outfcs;              /* FCS so far for output packet */
     103        u_char  sc_rawin[16];           /* chars as received */
     104        int     sc_rawin_count;         /* # in sc_rawin */
    100105
    101         struct  ifqueue sc_freeq;            /* free packets */
    102         short   sc_outoff;                   /* output packet byte offset */
    103         short   sc_outflag;                  /* output status flag */
    104         short   sc_outlen;                   /* length of output packet */
    105         short   sc_outfcslen;                /* length of output fcs data */
    106         u_char  sc_outfcsbuf[8];             /* output packet fcs buffer */
    107         u_char *sc_outbuf;                   /* pointer to output data */
     106        struct  ifqueue sc_freeq;       /* free packets */
     107        short   sc_outoff;              /* output packet byte offset */
     108        short   sc_outflag;             /* output status flag */
     109        short   sc_outlen;              /* length of output packet */
     110        short   sc_outfcslen;           /* length of output fcs data */
     111        u_char  sc_outfcsbuf[8];        /* output packet fcs buffer */
     112        u_char *sc_outbuf;              /* pointer to output data */
    108113        u_char  sc_outchar;
    109114
Note: See TracChangeset for help on using the changeset viewer.