Lines Matching refs:idbp
658 struct interface_description_block *idbp; in pcap_ng_check_header() local
871 idbp = get_from_block_data(&cursor, sizeof(*idbp), in pcap_ng_check_header()
873 if (idbp == NULL) in pcap_ng_check_header()
880 idbp->linktype = SWAPSHORT(idbp->linktype); in pcap_ng_check_header()
881 idbp->snaplen = SWAPLONG(idbp->snaplen); in pcap_ng_check_header()
913 p->snapshot = idbp->snaplen; in pcap_ng_check_header()
914 p->linktype = linktype_to_dlt(idbp->linktype); in pcap_ng_check_header()
954 struct interface_description_block *idbp; in pcap_ng_next_packet() local
1074 idbp = get_from_block_data(&cursor, sizeof(*idbp), in pcap_ng_next_packet()
1076 if (idbp == NULL) in pcap_ng_next_packet()
1083 idbp->linktype = SWAPSHORT(idbp->linktype); in pcap_ng_next_packet()
1084 idbp->snaplen = SWAPLONG(idbp->snaplen); in pcap_ng_next_packet()
1095 if (p->linktype != idbp->linktype) { in pcap_ng_next_packet()
1098 idbp->linktype); in pcap_ng_next_packet()
1101 if (p->snapshot != idbp->snaplen) { in pcap_ng_next_packet()
1104 idbp->snaplen); in pcap_ng_next_packet()