pbuf 600 src/isdn/Q921.c char pbuf[1024]; pbuf 606 src/isdn/Q921.c memset(pbuf, 0, sizeof(pbuf)); pbuf 608 src/isdn/Q921.c pleft = sizeof(pbuf); pbuf 633 src/isdn/Q921.c APPEND_MSG(pbuf, poffset, pleft, "\n----------------- Q.921 Packet [%s%s] ---------------\n", received ? "Incoming" : "Outgoing", pbuf 637 src/isdn/Q921.c APPEND_MSG(pbuf, poffset, pleft, " SAPI: %u, TEI: %u, C/R: %s (%d)\n\n", sapi, tei, (cr) ? "Command" : "Response", (mes[0] & 0x02) >> 1 ); pbuf 650 src/isdn/Q921.c APPEND_MSG(pbuf, poffset, pleft, " Type: I Frame\n P/F: %d, N(S): %d, N(R): %d [V(A): %d, V(R): %d, V(S): %d]\n", pf, ns, nr, pbuf 655 src/isdn/Q921.c APPEND_MSG(pbuf, poffset, pleft, " CONTENT:\n"); pbuf 657 src/isdn/Q921.c len = print_hex(pbuf + poffset, (int)pleft, &pmes[4], size - (trunk->Q921HeaderSpace + 4)); pbuf 689 src/isdn/Q921.c APPEND_MSG(pbuf, poffset, pleft, " Type: S Frame, SV: %s\n P/F: %d, N(R): %d [V(A): %d, V(R): %d, V(S): %d]\n", type, pf, nr, pbuf 734 src/isdn/Q921.c APPEND_MSG(pbuf, poffset, pleft, " Type: U Frame (%s)\n P/F: %d\n", type, pf); pbuf 776 src/isdn/Q921.c APPEND_MSG(pbuf, poffset, pleft, " ENT ID: %d (%s), COMMAND: %d (%s), RI: %#x, AI: %d\n", pbuf 780 src/isdn/Q921.c APPEND_MSG(pbuf, poffset, pleft, " ENT ID: %d (%s), MESSAGE CONTENT:\n", pmes[3], type); pbuf 782 src/isdn/Q921.c len = print_hex(pbuf + poffset, (int)pleft, &pmes[3], size - (trunk->Q921HeaderSpace + 3)); pbuf 792 src/isdn/Q921.c strncat(pbuf + poffset, " -- unknown frame type --\n", pleft); pbuf 794 src/isdn/Q921.c len = (sizeof(pbuf) - poffset) - strlen(pbuf + poffset); pbuf 802 src/isdn/Q921.c APPEND_MSG(pbuf, poffset, pleft, "\n Q.921 state: \"%s\" (%d) [flags: %c%c%c%c]\n", Q921State2Name(link->state), link->state, pbuf 808 src/isdn/Q921.c strncat(pbuf + poffset, "----------------------------------------------\n\n", pleft); pbuf 810 src/isdn/Q921.c len = (sizeof(pbuf) - poffset) - strlen(pbuf + poffset); pbuf 819 src/isdn/Q921.c len = strlen(pbuf); pbuf 821 src/isdn/Q921.c strncat(buf, pbuf, left);