Lines Matching refs:head
200 struct cbcp_header *head;
203 bp = m_get(sizeof *head + data->length, MB_CBCPOUT);
204 head = (struct cbcp_header *)MBUF_CTOP(bp);
205 head->code = code;
206 head->id = cbcp->fsm.id;
207 head->length = htons(sizeof *head + data->length);
208 memcpy(MBUF_CTOP(bp) + sizeof *head, data, data->length);
627 struct cbcp_header *head;
644 head = (struct cbcp_header *)MBUF_CTOP(bp);
645 if (ntohs(head->length) != len) {
647 " - ignored\n", head->code, ntohs(head->length), len);
659 switch (head->code) {
662 p->dl->name, head->id, cbcpstate(cbcp->fsm.state));
668 cbcp->fsm.id = head->id;
678 p->dl->name, head->id, cbcpstate(cbcp->fsm.state));
680 if (cbcp->fsm.id != head->id) {
682 cbcp->fsm.id, head->id);
683 cbcp->fsm.id = head->id;
715 p->dl->name, head->id, cbcpstate(cbcp->fsm.state));
717 if (cbcp->fsm.id != head->id) {
719 cbcp->fsm.id, head->id);
720 cbcp->fsm.id = head->id;
739 head->code, len);