Ignore:
Timestamp:
Feb 8, 2005, 1:51:07 AM (15 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
0598fb8
Parents:
c2ab8b0
Message:

2005-02-08 Ralf Corsepius <ralf.corsepius@…>

  • libnetworking/net/if_ppp.c, libnetworking/net/if_pppvar.h: Ansification, cosmetics from FreeBSD.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libnetworking/net/if_ppp.c

    rc2ab8b0 r41ff670  
    11/*
    22 * if_ppp.c - Point-to-Point Protocol (PPP) Asynchronous driver.
    3  *
     3 */
     4
     5/*-
    46 * Copyright (c) 1989 Carnegie Mellon University.
    57 * All rights reserved.
     
    126128#endif
    127129
    128 static int      pppsioctl __P((struct ifnet *, int, caddr_t));
    129 static void     ppp_requeue __P((struct ppp_softc *));
     130static int      pppsioctl(struct ifnet *, int, caddr_t);
     131static void     ppp_requeue(struct ppp_softc *);
    130132#ifdef PPP_COMPRESS
    131 static void     ppp_ccp __P((struct ppp_softc *, struct mbuf *m, int rcvd));
    132 static void     ppp_ccp_closed __P((struct ppp_softc *));
    133 #endif
    134 static struct mbuf *ppp_inproc __P((struct ppp_softc *, struct mbuf *));
    135 static void     pppdumpm __P((struct mbuf *m0));
     133static void     ppp_ccp(struct ppp_softc *, struct mbuf *m, int rcvd);
     134static void     ppp_ccp_closed(struct ppp_softc *);
     135#endif
     136static struct mbuf *ppp_inproc(struct ppp_softc *, struct mbuf *);
     137static void     pppdumpm(struct mbuf *m0);
    136138
    137139/*
     
    11121114 * After a change in the NPmode for some NP, move packets from the
    11131115 * npqueue to the send queue or the fast queue as appropriate.
    1114  * Should be called at splsoftnet.
     1116 * Should be called at spl[soft]net.
    11151117 */
    11161118static void
     
    11711173    struct ppp_softc *sc;
    11721174{
    1173     struct mbuf *m;
    1174 #ifdef VJC
    1175     struct mbuf *mp;
    1176 #endif
     1175    struct mbuf *m, *mp;
    11771176    u_char *cp;
    11781177    int address, control, protocol;
     
    15661565            }
    15671566        }
     1567#ifdef MAC
     1568        mac_create_mbuf_from_mbuf(m, mp);
     1569#endif
    15681570        cp = mtod(mp, u_char *);
    15691571        cp[0] = adrs;
Note: See TracChangeset for help on using the changeset viewer.