Lines Matching refs:linkid
384 u8 linkid; in cfctrl_recv() local
435 cfpkt_extr_head(pkt, &linkid, 1); in cfctrl_recv()
443 cfpkt_extr_head(pkt, &linkid, 1); in cfctrl_recv()
453 cfpkt_extr_head(pkt, &linkid, 1); in cfctrl_recv()
473 cfpkt_extr_head(pkt, &linkid, 1); in cfctrl_recv()
511 cfpkt_extr_head(pkt, &linkid, 1); in cfctrl_recv()
536 layer.up, linkid, in cfctrl_recv()
547 cfpkt_extr_head(pkt, &linkid, 1); in cfctrl_recv()
548 cfctrl->res.linkdestroy_rsp(cfctrl->serv.layer.up, linkid); in cfctrl_recv()
602 u8 linkid, linktype, tmp; in handle_loop() local
606 for (linkid = last_linkid + 1; linkid < 255; linkid++) in handle_loop()
607 if (!ctrl->loop_linkused[linkid]) in handle_loop()
609 for (linkid = last_linkid - 1; linkid > 0; linkid--) in handle_loop()
610 if (!ctrl->loop_linkused[linkid]) in handle_loop()
616 if (!ctrl->loop_linkused[linkid]) in handle_loop()
617 ctrl->loop_linkused[linkid] = 1; in handle_loop()
619 last_linkid = linkid; in handle_loop()
621 cfpkt_add_trail(pkt, &linkid, 1); in handle_loop()
633 cfpkt_peek_head(pkt, &linkid, 1); in handle_loop()
634 ctrl->loop_linkused[linkid] = 0; in handle_loop()