Lines Matching refs:vj

129 	struct slcompress *vj;		/* state for VJ header compression */  member
725 struct slcompress *vj; in ppp_ioctl() local
895 vj = slhc_init(val2+1, val+1); in ppp_ioctl()
896 if (IS_ERR(vj)) { in ppp_ioctl()
897 err = PTR_ERR(vj); in ppp_ioctl()
901 if (ppp->vj) in ppp_ioctl()
902 slhc_free(ppp->vj); in ppp_ioctl()
903 ppp->vj = vj; in ppp_ioctl()
1794 if (!ppp->vj || (ppp->flags & SC_COMP_TCP) == 0) in ppp_send_frame()
1805 len = slhc_compress(ppp->vj, cp, skb->len - 2, in ppp_send_frame()
2383 if (ppp->vj) in ppp_receive_error()
2384 slhc_toss(ppp->vj); in ppp_receive_error()
2412 if (!ppp->vj || (ppp->flags & SC_REJ_COMP_TCP)) in ppp_receive_nonmp_frame()
2431 len = slhc_uncompress(ppp->vj, skb->data + 2, skb->len - 2); in ppp_receive_nonmp_frame()
2446 if (!ppp->vj || (ppp->flags & SC_REJ_COMP_TCP)) in ppp_receive_nonmp_frame()
2455 if (slhc_remember(ppp->vj, skb->data + 2, skb->len - 2) <= 0) { in ppp_receive_nonmp_frame()
3296 struct slcompress *vj = ppp->vj; in ppp_get_stats() local
3305 if (!vj) in ppp_get_stats()
3307 st->vj.vjs_packets = vj->sls_o_compressed + vj->sls_o_uncompressed; in ppp_get_stats()
3308 st->vj.vjs_compressed = vj->sls_o_compressed; in ppp_get_stats()
3309 st->vj.vjs_searches = vj->sls_o_searches; in ppp_get_stats()
3310 st->vj.vjs_misses = vj->sls_o_misses; in ppp_get_stats()
3311 st->vj.vjs_errorin = vj->sls_i_error; in ppp_get_stats()
3312 st->vj.vjs_tossed = vj->sls_i_tossed; in ppp_get_stats()
3313 st->vj.vjs_uncompressedin = vj->sls_i_uncompressed; in ppp_get_stats()
3314 st->vj.vjs_compressedin = vj->sls_i_compressed; in ppp_get_stats()
3396 if (ppp->vj) { in ppp_destroy_interface()
3397 slhc_free(ppp->vj); in ppp_destroy_interface()
3398 ppp->vj = NULL; in ppp_destroy_interface()