Lines Matching refs:cr

85 *ni1_new_l3_process(struct PStack *st, int cr)  in ni1_new_l3_process()  argument
88 if (!(proc = new_l3_process(st, cr))) in ni1_new_l3_process()
196 l3ni1_dummy_invoke(struct PStack *st, int cr, int id, in l3ni1_dummy_invoke() argument
202 (cr == -1) ? "local" : "broadcast", id, ident, nlen); in l3ni1_dummy_invoke()
203 if (cr >= -1) return; /* ignore local data */ in l3ni1_dummy_invoke()
221 int cr, u_char *p) in l3ni1_parse_facility() argument
231 if ((!st) || (cr >= 0)) return; /* neither pc nor st specified */ in l3ni1_parse_facility()
353 l3ni1_dummy_invoke(st, cr, id, ident, p, nlen); in l3ni1_parse_facility()
361 { if (cr == -1) in l3ni1_parse_facility()
406 { if (cr == -1) in l3ni1_parse_facility()
2890 int i, mt, cr, callState; in ni1up() local
2930 cr = getcallref(skb->data); in ni1up()
2938 l3_debug(st, "ni1up cr %d", cr); in ni1up()
2939 if (cr == -2) { /* wrong Callref */ in ni1up()
2944 } else if (cr == -1) { /* Dummy Callref */ in ni1up()
2964 } else if ((((skb->data[1] & 0x0f) == 1) && (0 == (cr & 0x7f))) || in ni1up()
2965 (((skb->data[1] & 0x0f) == 2) && (0 == (cr & 0x7fff)))) { /* Global CallRef */ in ni1up()
2971 } else if (!(proc = getl3proc(st, cr))) { in ni1up()
2984 if (!(proc = ni1_new_l3_process(st, cr))) { in ni1up()
3016 if ((proc = ni1_new_l3_process(st, cr))) { in ni1up()
3032 if ((proc = ni1_new_l3_process(st, cr))) { in ni1up()
3074 int i, cr; in ni1down() local
3083 cr = newcallref(); in ni1down()
3084 cr |= 0x80; in ni1down()
3085 if ((proc = ni1_new_l3_process(st, cr))) { in ni1down()
3089 proc->callref = cr; in ni1down()