Searched refs:idbp (Results 1 – 1 of 1) sorted by relevance
591 add_interface(pcap_t *p, struct interface_description_block *idbp, in add_interface() argument701 ps->ifaces[ps->ifcount - 1].snaplen = idbp->snaplen; in add_interface()782 struct interface_description_block *idbp; in pcap_ng_check_header() local1004 idbp = get_from_block_data(&cursor, sizeof(*idbp), in pcap_ng_check_header()1006 if (idbp == NULL) in pcap_ng_check_header()1013 idbp->linktype = SWAPSHORT(idbp->linktype); in pcap_ng_check_header()1014 idbp->snaplen = SWAPLONG(idbp->snaplen); in pcap_ng_check_header()1020 if (!add_interface(p, idbp, &cursor, errbuf)) in pcap_ng_check_header()1046 p->linktype = linktype_to_dlt(idbp->linktype); in pcap_ng_check_header()1047 p->snapshot = pcap_adjust_snapshot(p->linktype, idbp->snaplen); in pcap_ng_check_header()[all …]