Home
last modified time | relevance | path

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

/external/libpcap/
Dsf-pcapng.c91 bpf_u_int32 byte_order_magic; member
776 bpf_u_int32 byte_order_magic; in pcap_ng_check_header() local
835 amt_read = fread(&byte_order_magic, 1, sizeof(byte_order_magic), fp); in pcap_ng_check_header()
836 if (amt_read < sizeof(byte_order_magic)) { in pcap_ng_check_header()
850 if (byte_order_magic != BYTE_ORDER_MAGIC) { in pcap_ng_check_header()
851 byte_order_magic = SWAPLONG(byte_order_magic); in pcap_ng_check_header()
852 if (byte_order_magic != BYTE_ORDER_MAGIC) { in pcap_ng_check_header()
949 shbp->byte_order_magic = byte_order_magic; in pcap_ng_check_header()
951 (u_char *)p->buffer + (sizeof(magic_int) + sizeof(total_length) + sizeof(byte_order_magic)), in pcap_ng_check_header()
952 total_length - (sizeof(magic_int) + sizeof(total_length) + sizeof(byte_order_magic)), in pcap_ng_check_header()
[all …]
Drpcap-protocol.h163 uint32 byte_order_magic; /* RPCAP_BYTE_ORDER_MAGIC, in server byte order */ member
Dpcap-rpcap.c2154 their_byte_order_magic = authreply.byte_order_magic; in rpcap_doauth()
/external/libpcap/rpcapd/
Ddaemon.c1383 authreply->byte_order_magic = RPCAP_BYTE_ORDER_MAGIC; in daemon_msg_auth_req()