Changeset a6abd67 in rtems for cpukit/pppd


Ignore:
Timestamp:
Nov 25, 2000, 7:42:21 PM (19 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
f0864664
Parents:
e2af631
Message:

2000-11-25 Antti P Miettinen <antti.p.miettinen@…>

  • wrapup/Makefile.am: Added modem subdir.
  • configure.in, Makefile.am: Added modem subdir.
  • net/Makefile.am: Added if_pppvar.h, pppcompress.h.
  • pppd/Makefile.am: Added pppmain.c (which needs work).
  • pppd/chat.c, pppd/fsm.c, pppd/fsm.h, pppd/ipxcp.c, pppd/main.c, pppd/ppp_tty.c, pppd/upap.c: Changes from Thomas Doerfler <Thomas.Doerfler@…> and cosmetic changes by me. Actually main.c and ppp_tty.c should be scratched. The modem subdir has the real ppp_tty.c and the real pppd main is in pppmain.c.
Location:
cpukit/pppd
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • cpukit/pppd/Makefile.am

    re2af631 ra6abd67  
    88LIB = $(ARCH)/$(LIBNAME)
    99
    10 # What to do about main.c?
     10# renamed main.c to pppmain.c
    1111C_FILES = auth.c cbcp.c ccp.c chap.c chap_ms.c chat.c demand.c fsm.c ipcp.c \
    12     ipxcp.c lcp.c magic.c options.c upap.c md4.c md5.c rtems-ppp.c
     12    ipxcp.c lcp.c magic.c options.c upap.c md4.c md5.c rtems-ppp.c \
     13    pppmain.c
    1314C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
    1415
     
    4142    ipxcp.h lcp.c lcp.h magic.c magic.h main.c md4.c md4.h md5.c md5.h \
    4243    options.c patchlevel.h pathnames.h ppp_tty.c pppd.h rtems-ppp.c upap.c \
    43     upap.h $(EXTRA_FILES)
     44    upap.h pppmain.c $(EXTRA_FILES)
    4445
    4546include $(top_srcdir)/../../../automake/local.am
  • cpukit/pppd/chat.c

    re2af631 ra6abd67  
    839839
    840840        case 'p':
     841#if 0 /* FIXME!!! */
    841842            usleep(10000);      /* 1/100th of a second (arg is microseconds) */
     843#else
     844            sleep(1);
     845#endif
    842846            break;
    843847
  • cpukit/pppd/fsm.c

    re2af631 ra6abd67  
    3737
    3838static void fsm_timeout __P((void *));
    39 static void fsm_rconfreq __P((fsm *, u_char, u_char *, int));
     39static void fsm_rconfreq __P((fsm *, int, u_char *, int));
    4040static void fsm_rconfack __P((fsm *, int, u_char *, int));
    4141static void fsm_rconfnakrej __P((fsm *, int, int, u_char *, int));
     
    372372fsm_rconfreq(f, id, inp, len)
    373373    fsm *f;
    374     u_char id;
     374    int id;
    375375    u_char *inp;
    376376    int len;
     
    774774fsm_sdata(f, code, id, data, datalen)
    775775    fsm *f;
    776     u_char code, id;
     776    int code, id;
    777777    u_char *data;
    778778    int datalen;
  • cpukit/pppd/fsm.h

    re2af631 ra6abd67  
    136136void fsm_input __P((fsm *, u_char *, int));
    137137void fsm_protreject __P((fsm *));
    138 void fsm_sdata __P((fsm *, u_char, u_char, u_char *, int));
     138void fsm_sdata __P((fsm *, int, int, u_char *, int));
    139139
    140140
  • cpukit/pppd/upap.c

    re2af631 ra6abd67  
    7373static void upap_rauthnak __P((upap_state *, u_char *, int, int));
    7474static void upap_sauthreq __P((upap_state *));
    75 static void upap_sresp __P((upap_state *, u_char, u_char, char *, int));
     75static void upap_sresp __P((upap_state *, int, int, char *, int));
    7676
    7777
     
    521521upap_sresp(u, code, id, msg, msglen)
    522522    upap_state *u;
    523     u_char code, id;
     523    int code, id;
    524524    char *msg;
    525525    int msglen;
Note: See TracChangeset for help on using the changeset viewer.