Lines Matching refs:l3

76 	VHiSax_putstatus(st->l1.hardware, st->l3.debug_id, fmt, args);  in l3m_debug()
238 struct l3_process *p = st->l3.proc; in getl3proc()
257 if (!st->l3.proc) in new_l3_process()
258 st->l3.proc = p; in new_l3_process()
260 np = st->l3.proc; in new_l3_process()
266 p->debug = st->l3.debug; in new_l3_process()
271 p->N303 = st->l3.N303; in new_l3_process()
283 np = p->st->l3.proc; in release_l3_process()
289 else if (!(p->st->l3.proc = np->next) && in release_l3_process()
293 if (skb_queue_empty(&p->st->l3.squeue)) { in release_l3_process()
297 FsmEvent(&p->st->l3.l3m, EV_RELEASE_REQ, NULL); in release_l3_process()
299 FsmEvent(&p->st->l3.l3m, EV_RELEASE_IND, NULL); in release_l3_process()
318 struct l3_process *p = st->l3.proc; in l3ml3p()
324 st->l3.l3ml3(st, pr, p); in l3ml3p()
334 st->l3.proc = NULL; in setstack_l3dc()
335 st->l3.global = NULL; in setstack_l3dc()
336 skb_queue_head_init(&st->l3.squeue); in setstack_l3dc()
337 st->l3.l3m.fsm = &l3fsm; in setstack_l3dc()
338 st->l3.l3m.state = ST_L3_LC_REL; in setstack_l3dc()
339 st->l3.l3m.debug = 1; in setstack_l3dc()
340 st->l3.l3m.userdata = st; in setstack_l3dc()
341 st->l3.l3m.userint = 0; in setstack_l3dc()
342 st->l3.l3m.printdebug = l3m_debug; in setstack_l3dc()
343 FsmInitTimer(&st->l3.l3m, &st->l3.l3m_timer); in setstack_l3dc()
344 strcpy(st->l3.debug_id, "L3DC "); in setstack_l3dc()
365 st->l3.l3ml3 = no_l3_proto; in setstack_l3dc()
370 st->l3.l3ml3 = no_l3_proto; in setstack_l3dc()
383 st->l3.l3l2(st, pr, arg); in isdnl3_trans()
389 while (st->l3.proc) in releasestack_isdnl3()
390 release_l3_process(st->l3.proc); in releasestack_isdnl3()
391 if (st->l3.global) { in releasestack_isdnl3()
392 StopAllL3Timer(st->l3.global); in releasestack_isdnl3()
393 kfree(st->l3.global); in releasestack_isdnl3()
394 st->l3.global = NULL; in releasestack_isdnl3()
396 FsmDelTimer(&st->l3.l3m_timer, 54); in releasestack_isdnl3()
397 skb_queue_purge(&st->l3.squeue); in releasestack_isdnl3()
404 st->l3.proc = NULL; in setstack_l3bc()
405 st->l3.global = NULL; in setstack_l3bc()
406 skb_queue_head_init(&st->l3.squeue); in setstack_l3bc()
407 st->l3.l3m.fsm = &l3fsm; in setstack_l3bc()
408 st->l3.l3m.state = ST_L3_LC_REL; in setstack_l3bc()
409 st->l3.l3m.debug = 1; in setstack_l3bc()
410 st->l3.l3m.userdata = st; in setstack_l3bc()
411 st->l3.l3m.userint = 0; in setstack_l3bc()
412 st->l3.l3m.printdebug = l3m_debug; in setstack_l3bc()
413 strcpy(st->l3.debug_id, "L3BC "); in setstack_l3bc()
425 st->l3.l3l2(st, DL_ESTABLISH | REQUEST, NULL); in lc_activate()
436 while ((skb = skb_dequeue(&st->l3.squeue))) { in lc_connect()
437 st->l3.l3l2(st, DL_DATA | REQUEST, skb); in lc_connect()
440 if ((!st->l3.proc) && dequeued) { in lc_connect()
441 if (st->l3.debug) in lc_connect()
443 FsmEvent(&st->l3.l3m, EV_RELEASE_REQ, NULL); in lc_connect()
455 FsmDelTimer(&st->l3.l3m_timer, 51); in lc_connected()
457 while ((skb = skb_dequeue(&st->l3.squeue))) { in lc_connected()
458 st->l3.l3l2(st, DL_DATA | REQUEST, skb); in lc_connected()
461 if ((!st->l3.proc) && dequeued) { in lc_connected()
462 if (st->l3.debug) in lc_connected()
464 FsmEvent(&st->l3.l3m, EV_RELEASE_REQ, NULL); in lc_connected()
475 FsmAddTimer(&st->l3.l3m_timer, DREL_TIMER_VALUE, EV_TIMEOUT, NULL, 50); in lc_start_delay()
487 FsmAddTimer(&st->l3.l3m_timer, DREL_TIMER_VALUE, EV_TIMEOUT, NULL, 50); in lc_start_delay_check()
496 if (st->l3.debug) in lc_release_req()
499 FsmAddTimer(&st->l3.l3m_timer, DREL_TIMER_VALUE, EV_TIMEOUT, NULL, 51); in lc_release_req()
502 st->l3.l3l2(st, DL_RELEASE | REQUEST, NULL); in lc_release_req()
511 FsmDelTimer(&st->l3.l3m_timer, 52); in lc_release_ind()
513 skb_queue_purge(&st->l3.squeue); in lc_release_ind()
523 skb_queue_purge(&st->l3.squeue); in lc_release_cnf()
552 if (st->l3.l3m.state == ST_L3_LC_ESTAB) { in l3_msg()
553 st->l3.l3l2(st, pr, arg); in l3_msg()
557 skb_queue_tail(&st->l3.squeue, skb); in l3_msg()
558 FsmEvent(&st->l3.l3m, EV_ESTABLISH_REQ, NULL); in l3_msg()
562 FsmEvent(&st->l3.l3m, EV_ESTABLISH_REQ, NULL); in l3_msg()
565 FsmEvent(&st->l3.l3m, EV_ESTABLISH_CNF, NULL); in l3_msg()
568 FsmEvent(&st->l3.l3m, EV_ESTABLISH_IND, NULL); in l3_msg()
571 FsmEvent(&st->l3.l3m, EV_RELEASE_IND, NULL); in l3_msg()
574 FsmEvent(&st->l3.l3m, EV_RELEASE_CNF, NULL); in l3_msg()
577 FsmEvent(&st->l3.l3m, EV_RELEASE_REQ, NULL); in l3_msg()