Home
last modified time | relevance | path

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

/external/libpcap/
Dpcap-common.c1217 chdr->can_id = SWAPLONG(chdr->can_id); in swap_linux_sll_header()
1268 uhdr->ts_usec = SWAPLONG(uhdr->ts_usec); in swap_linux_usb_header()
1273 uhdr->status = SWAPLONG(uhdr->status); in swap_linux_usb_header()
1278 uhdr->urb_len = SWAPLONG(uhdr->urb_len); in swap_linux_usb_header()
1283 uhdr->data_len = SWAPLONG(uhdr->data_len); in swap_linux_usb_header()
1289 uhdr->s.iso.error_count = SWAPLONG(uhdr->s.iso.error_count); in swap_linux_usb_header()
1294 uhdr->s.iso.numdesc = SWAPLONG(uhdr->s.iso.numdesc); in swap_linux_usb_header()
1321 uhdr->interval = SWAPLONG(uhdr->interval); in swap_linux_usb_header()
1326 uhdr->start_frame = SWAPLONG(uhdr->start_frame); in swap_linux_usb_header()
1331 uhdr->xfer_flags = SWAPLONG(uhdr->xfer_flags); in swap_linux_usb_header()
[all …]
Dsf-pcap-ng.c272 bhdr.block_type = SWAPLONG(bhdr.block_type); in read_block()
273 bhdr.total_length = SWAPLONG(bhdr.total_length); in read_block()
787 byte_order_magic = SWAPLONG(byte_order_magic); in pcap_ng_check_header()
795 total_length = SWAPLONG(total_length); in pcap_ng_check_header()
944 idbp->snaplen = SWAPLONG(idbp->snaplen); in pcap_ng_check_header()
1065 interface_id = SWAPLONG(epbp->interface_id); in pcap_ng_next_packet()
1066 hdr->caplen = SWAPLONG(epbp->caplen); in pcap_ng_next_packet()
1067 hdr->len = SWAPLONG(epbp->len); in pcap_ng_next_packet()
1068 t = ((u_int64_t)SWAPLONG(epbp->timestamp_high)) << 32 | in pcap_ng_next_packet()
1069 SWAPLONG(epbp->timestamp_low); in pcap_ng_next_packet()
[all …]
Dsf-pcap.c172 magic = SWAPLONG(magic); in pcap_check_header()
207 hdr.thiszone = SWAPLONG(hdr.thiszone); in pcap_check_header()
208 hdr.sigfigs = SWAPLONG(hdr.sigfigs); in pcap_check_header()
209 hdr.snaplen = SWAPLONG(hdr.snaplen); in pcap_check_header()
210 hdr.linktype = SWAPLONG(hdr.linktype); in pcap_check_header()
457 hdr->caplen = SWAPLONG(sf_hdr.caplen); in pcap_next_packet()
458 hdr->len = SWAPLONG(sf_hdr.len); in pcap_next_packet()
459 hdr->ts.tv_sec = SWAPLONG(sf_hdr.ts.tv_sec); in pcap_next_packet()
460 hdr->ts.tv_usec = SWAPLONG(sf_hdr.ts.tv_usec); in pcap_next_packet()
856 case SWAPLONG(TCPDUMP_MAGIC): in pcap_dump_open_append()
[all …]
Dpcap-common.h15 #define SWAPLONG(y) \ macro
Dgencode.c1815 #define SWAPLONG(y) \ macro
2026 proto = SWAPLONG(proto); in gen_loopback_linktype()
2642 sjset_radiotap_flags_present->s.k = SWAPLONG(0x00000002); in gen_load_802_11_header_len()
2654 sjset_radiotap_ext_present->s.k = SWAPLONG(0x80000000); in gen_load_802_11_header_len()
2667 sjset_radiotap_tsft_present->s.k = SWAPLONG(0x00000001); in gen_load_802_11_header_len()
2828 b->s.k = SWAPLONG(DLT_IEEE802_11); in gen_ppi_dlt_check()
/external/tcpdump/
Dprint-null.c52 #define SWAPLONG(y) \ macro
98 family = SWAPLONG(family); in null_if_print()