Lines Matching refs:ipc
593 struct isdn_ppp_compressor *ipc = ipc_head;
594 while(ipc) {
595 j = ipc->num / (sizeof(long)*8);
596 i = ipc->num % (sizeof(long)*8);
599 ipc = ipc->next;
2504 struct isdn_ppp_compressor *ipc = NULL;
2514 ipc = is->link_decompressor;
2518 ipc = master->decompressor;
2522 if (!ipc) {
2543 len = ipc->decompress(stat, skb, skb_out, &rsparm);
2571 ipc->incomp(stat, skb, *proto);
2920 int isdn_ppp_register_compressor(struct isdn_ppp_compressor *ipc)
2922 ipc->next = ipc_head;
2923 ipc->prev = NULL;
2925 ipc_head->prev = ipc;
2927 ipc_head = ipc;
2931 int isdn_ppp_unregister_compressor(struct isdn_ppp_compressor *ipc)
2933 if(ipc->prev)
2934 ipc->prev->next = ipc->next;
2936 ipc_head = ipc->next;
2937 if(ipc->next)
2938 ipc->next->prev = ipc->prev;
2939 ipc->prev = ipc->next = NULL;
2945 struct isdn_ppp_compressor *ipc = ipc_head;
2964 while(ipc) {
2965 if(ipc->num == num) {
2966 stat = ipc->alloc(data);
2968 ret = ipc->init(stat,data,is->unit,0);
2971 ipc->free(stat);
2986 is->link_compressor = ipc;
2992 is->compressor = ipc;
3000 is->link_decompressor = ipc;
3006 is->decompressor = ipc;
3011 ipc = ipc->next;