Home
last modified time | relevance | path

Searched refs:byte_order_magic (Results 1 – 1 of 1) sorted by relevance

/external/libpcap/
Dsf-pcap-ng.c107 bpf_u_int32 byte_order_magic; member
650 bpf_u_int32 byte_order_magic; in pcap_ng_check_header() local
709 amt_read = fread(&byte_order_magic, 1, sizeof(byte_order_magic), fp); in pcap_ng_check_header()
710 if (amt_read < sizeof(byte_order_magic)) { in pcap_ng_check_header()
725 if (byte_order_magic != BYTE_ORDER_MAGIC) { in pcap_ng_check_header()
726 byte_order_magic = SWAPLONG(byte_order_magic); in pcap_ng_check_header()
727 if (byte_order_magic != BYTE_ORDER_MAGIC) { in pcap_ng_check_header()
816 shbp->byte_order_magic = byte_order_magic; in pcap_ng_check_header()
818 p->buffer + (sizeof(magic) + sizeof(total_length) + sizeof(byte_order_magic)), in pcap_ng_check_header()
819 total_length - (sizeof(magic) + sizeof(total_length) + sizeof(byte_order_magic)), in pcap_ng_check_header()
[all …]