Searched refs:shbp (Results 1 - 3 of 3) sorted by relevance

/macosx-10.9.5/libpcap-42/libpcap/
H A Dsf-pcap-ng.c506 struct pcapng_section_header_fields *shbp; local
585 if (total_length < sizeof(*bhdrp) + sizeof(*shbp) + sizeof(struct pcapng_block_trailer)) {
589 (unsigned long)(sizeof(*bhdrp) + sizeof(*shbp) + sizeof(struct pcapng_block_trailer)));
619 shbp = (struct pcapng_section_header_fields *)(p->buffer + sizeof(struct pcapng_block_header));
622 shbp->byte_order_magic = byte_order_magic;
633 shbp->major_version = SWAPSHORT(shbp->major_version);
634 shbp->minor_version = SWAPSHORT(shbp->minor_version);
640 if (shbp
785 struct pcapng_section_header_fields *shbp; local
1098 struct pcapng_section_header_fields *shbp; local
[all...]
H A Dpcapng.c987 struct pcapng_section_header_fields *shbp = pcap_ng_get_section_header_fields(block); local
994 shbp->byte_order_magic = rawshb->byte_order_magic;
995 shbp->major_version = rawshb->major_version;
996 shbp->minor_version = rawshb->minor_version;
997 shbp->section_length = rawshb->section_length;
999 shbp->byte_order_magic = SWAPLONG(shbp->byte_order_magic);
1000 shbp->major_version = SWAPSHORT(shbp->major_version);
1001 shbp
[all...]
/macosx-10.9.5/tcpdump-56/tcpdump/
H A Dtcpdump.c2427 struct pcapng_section_header_fields *shbp = pcap_ng_get_section_header_fields(block); local
2432 shbp->major_version, shbp->minor_version);
2433 if (shbp->section_length == (u_int64_t)-1)
2436 printf(", section_length: %llu", shbp->section_length);

Completed in 182 milliseconds