Home
last modified time | relevance | path

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

/drivers/net/slip/
Dslip.c137 struct slcompress *slcomp = NULL; in sl_alloc_bufs() local
166 slcomp = slhc_init(16, 16); in sl_alloc_bufs()
167 if (IS_ERR(slcomp)) in sl_alloc_bufs()
184 slcomp = xchg(&sl->slcomp, slcomp); in sl_alloc_bufs()
197 slhc_free(slcomp); in sl_alloc_bufs()
212 slhc_free(xchg(&sl->slcomp, NULL)); in sl_free_bufs()
341 count = slhc_uncompress(sl->slcomp, sl->rbuff, count);
352 if (slhc_remember(sl->slcomp, sl->rbuff, count) <= 0)
390 len = slhc_compress(sl->slcomp, p, len, sl->cbuff, &p, 1);
587 struct slcompress *comp = sl->slcomp;
Dslip.h59 struct slcompress *slcomp; /* for header compression */ member
/drivers/isdn/i4l/
Disdn_ppp.c324 is->slcomp = slhc_init(16, 16); /* not necessary for 2. link in bundle */ in isdn_ppp_open()
325 if (IS_ERR(is->slcomp)) { in isdn_ppp_open()
327 return PTR_ERR(is->slcomp); in isdn_ppp_open()
383 slhc_free(is->slcomp); in isdn_ppp_release()
384 is->slcomp = NULL; in isdn_ppp_release()
578 if (is->slcomp) in isdn_ppp_ioctl()
579 slhc_free(is->slcomp); in isdn_ppp_ioctl()
580 is->slcomp = sltmp; in isdn_ppp_ioctl()
1126 if (slhc_remember(ippp_table[net_dev->local->ppp_slot]->slcomp, skb->data, skb->len) <= 0) { in isdn_ppp_push_higher()
1153 pkt_len = slhc_uncompress(ippp_table[net_dev->local->ppp_slot]->slcomp, in isdn_ppp_push_higher()
[all …]