Changeset 47a8868 in rtems


Ignore:
Timestamp:
Mar 28, 2007, 2:19:04 AM (13 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
0d150a4c
Parents:
179c2c33
Message:

Use net/slcompress.h instead of net/pppcompress.h.

Location:
cpukit/libnetworking/net
Files:
2 edited

Legend:

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

    r179c2c33 r47a8868  
    118118
    119119#ifdef VJC
    120 #include <net/pppcompress.h>
     120#include <net/slcompress.h>
    121121#endif
    122122
     
    517517           M_DEVBUF, M_NOWAIT);
    518518    if (sc->sc_comp)
    519         vj_compress_init(sc->sc_comp, -1);
     519        sl_compress_init(sc->sc_comp, -1);
    520520#endif
    521521#ifdef PPP_COMPRESS
     
    694694        if (sc->sc_comp) {
    695695            s = splsoftnet();
    696             vj_compress_init(sc->sc_comp, *(int *)data);
     696            sl_compress_init(sc->sc_comp, *(int *)data);
    697697            splx(s);
    698698        }
     
    12261226            /* this code assumes the IP/TCP header is in one non-shared mbuf */
    12271227            if (ip->ip_p == IPPROTO_TCP) {
    1228                 type = vj_compress_tcp(mp, ip, sc->sc_comp,
     1228                type = sl_compress_tcp(mp, ip, sc->sc_comp,
    12291229                                       !(sc->sc_flags & SC_NO_TCP_CCID));
    12301230                switch (type) {
     
    15331533         */
    15341534        if (sc->sc_comp)
    1535             vj_uncompress_tcp(NULL, 0, TYPE_ERROR, sc->sc_comp);
     1535            sl_uncompress_tcp(NULL, 0, TYPE_ERROR, sc->sc_comp);
    15361536        s = splimp();
    15371537        sc->sc_flags &= ~SC_VJ_RESET;
     
    15461546            goto bad;
    15471547
    1548         xlen = vj_uncompress_tcp_core(cp + PPP_HDRLEN, m->m_len - PPP_HDRLEN,
     1548        xlen = sl_uncompress_tcp_core(cp + PPP_HDRLEN, m->m_len - PPP_HDRLEN,
    15491549                                      ilen - PPP_HDRLEN, TYPE_COMPRESSED_TCP,
    15501550                                      sc->sc_comp, &iphdr, &hlen);
     
    16011601            goto bad;
    16021602
    1603         xlen = vj_uncompress_tcp_core(cp + PPP_HDRLEN, m->m_len - PPP_HDRLEN,
     1603        xlen = sl_uncompress_tcp_core(cp + PPP_HDRLEN, m->m_len - PPP_HDRLEN,
    16041604                                      ilen - PPP_HDRLEN, TYPE_UNCOMPRESSED_TCP,
    16051605                                      sc->sc_comp, &iphdr, &hlen);
  • cpukit/libnetworking/net/ppp_tty.c

    r179c2c33 r47a8868  
    9797#include <netinet/in_systm.h>
    9898#include <netinet/ip.h>
    99 #include <net/pppcompress.h>
     99#include <net/slcompress.h>
    100100#endif
    101101
Note: See TracChangeset for help on using the changeset viewer.