Home | History | Annotate | Download | only in libpcap

Lines Matching full:shbp

652 	struct section_header_block *shbp;
740 if (total_length < sizeof(*bhdrp) + sizeof(*shbp) + sizeof(struct block_trailer)) {
744 (unsigned long)(sizeof(*bhdrp) + sizeof(*shbp) + sizeof(struct block_trailer)));
813 shbp = (struct section_header_block *)(p->buffer + sizeof(struct block_header));
816 shbp->byte_order_magic = byte_order_magic;
827 shbp->major_version = SWAPSHORT(shbp->major_version);
828 shbp->minor_version = SWAPSHORT(shbp->minor_version);
834 if (shbp->major_version != PCAP_NG_VERSION_MAJOR) {
837 shbp->major_version);
840 p->version_major = shbp->major_version;
841 p->version_minor = shbp->minor_version;
955 struct section_header_block *shbp;
1120 shbp = get_from_block_data(&cursor, sizeof(*shbp),
1122 if (shbp == NULL)
1131 shbp->byte_order_magic =
1132 SWAPLONG(shbp->byte_order_magic);
1133 shbp->major_version =
1134 SWAPSHORT(shbp->major_version);
1142 switch (shbp->byte_order_magic) {
1171 if (shbp->major_version != PCAP_NG_VERSION_MAJOR) {
1174 shbp->major_version);