Home
last modified time | relevance | path

Searched refs:slcomp (Results 1 – 4 of 4) sorted by relevance

/linux-2.6.39/drivers/net/
Dslip.c137 struct slcompress *slcomp = NULL; in sl_alloc_bufs() local
166 slcomp = slhc_init(16, 16); in sl_alloc_bufs()
167 if (slcomp == NULL) in sl_alloc_bufs()
184 slcomp = xchg(&sl->slcomp, slcomp); in sl_alloc_bufs()
197 if (slcomp) in sl_alloc_bufs()
198 slhc_free(slcomp); in sl_alloc_bufs()
213 slhc_free(xchg(&sl->slcomp, NULL)); in sl_free_bufs()
342 count = slhc_uncompress(sl->slcomp, sl->rbuff, count);
353 if (slhc_remember(sl->slcomp, sl->rbuff, count) <= 0)
391 len = slhc_compress(sl->slcomp, p, len, sl->cbuff, &p, 1);
[all …]
Dslip.h58 struct slcompress *slcomp; /* for header compression */ member
/linux-2.6.39/drivers/isdn/i4l/
Disdn_ppp.c322 is->slcomp = slhc_init(16, 16); /* not necessary for 2. link in bundle */ in isdn_ppp_open()
377 slhc_free(is->slcomp); in isdn_ppp_release()
378 is->slcomp = NULL; in isdn_ppp_release()
575 if (is->slcomp) in isdn_ppp_ioctl()
576 slhc_free(is->slcomp); in isdn_ppp_ioctl()
577 is->slcomp = sltmp; in isdn_ppp_ioctl()
1084 if (slhc_remember(ippp_table[net_dev->local->ppp_slot]->slcomp, skb->data, skb->len) <= 0) { in isdn_ppp_push_higher()
1111 pkt_len = slhc_uncompress(ippp_table[net_dev->local->ppp_slot]->slcomp, in isdn_ppp_push_higher()
1344 pktlen = slhc_compress(ipts->slcomp, skb->data, skb->len, new_skb->data, in isdn_ppp_xmit()
2002 if (slot >= 0 && ippp_table[slot]->slcomp) { in isdn_ppp_dev_ioctl_stats()
[all …]
/linux-2.6.39/include/linux/
Disdn_ppp.h232 struct slcompress *slcomp; member