On Wed, Aug 22, 2012 at 05:04:53PM +0200, pablo(a)gnumonks.org wrote:
From: Pablo Neira Ayuso <pablo(a)gnumonks.org>
This patch allows you to create PCAP traces between the BSC and BTS including
the LAPD frames. Useful for debugging communication issues.
nice!
+ if (write(fd, &pcap_header, sizeof(pcap_header))
< 0) {
!= sizeof(pcap_header)?
+
+ ret = write(fd, buf, numbytes);
+ if (ret < 0) {
ret != numbytes?