Messages in this thread |  | | | Date | Sun, 19 Jul 1998 10:44:02 +0800 | | From | CHANG Lei <> | | Subject | about syslogd and printk() |
| |
Hello,every. (sorry,My last code was not correctly.) I'm reading the linux kernel code about network. I want to analyze the packet,so I insert a piece of code into net_bh( ) to display every packet :
{ unsigned char *temp; printk("\n"); for(temp=skb->data;temp<skb->tail;temp++) /* to print a completely packet.(frame)*/ printk("%02x:",*temp); printk("\n"); } and syslog.conf include: kern.* /usr/adm/mylog
when come some packets, EVERY packet could display on the screen. But there only a part of packers could be recorded into /usr/adm/mylog, not EVERY packet recorded into the file, why?
Thank you! Chang lei
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html
|  |