debug.c
来自「mgcp协议源代码。支持多种编码:g711」· C语言 代码 · 共 40 行
C
40 行
/**************************************************************************** ** File: debug.c**** Author: Mike Borella**** Comments: Routines printing packets in raw form for debugging**** $Log: debug.c,v $** Revision 1.2 2000/10/27 00:11:06 qweaver****** Rolled back to the pristine ipgrab-0.8.2 source.**** Revision 1.2 1998/06/12 21:00:58 mborella** Added log tag*******************************************************************************/#include <stdio.h>#include <sys/types.h>#include "config.h"/*----------------------------------------------------------------------------**** dump_ascii()**** Print a packet in ascii format****----------------------------------------------------------------------------*/void dump_ascii(u_char *p, u_char *ep){ while(p <= ep) { printf("[%d]", (u_int8_t) *p); p++; }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?