Home
last modified time | relevance | path

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

/external/libpcap/
Dpcap-common.c1198 uhdr->ts_usec = SWAPLONG(uhdr->ts_usec); in swap_linux_usb_header()
1203 uhdr->status = SWAPLONG(uhdr->status); in swap_linux_usb_header()
1208 uhdr->urb_len = SWAPLONG(uhdr->urb_len); in swap_linux_usb_header()
1213 uhdr->data_len = SWAPLONG(uhdr->data_len); in swap_linux_usb_header()
1219 uhdr->s.iso.error_count = SWAPLONG(uhdr->s.iso.error_count); in swap_linux_usb_header()
1224 uhdr->s.iso.numdesc = SWAPLONG(uhdr->s.iso.numdesc); in swap_linux_usb_header()
1251 uhdr->interval = SWAPLONG(uhdr->interval); in swap_linux_usb_header()
1256 uhdr->start_frame = SWAPLONG(uhdr->start_frame); in swap_linux_usb_header()
1261 uhdr->xfer_flags = SWAPLONG(uhdr->xfer_flags); in swap_linux_usb_header()
1266 uhdr->ndesc = SWAPLONG(uhdr->ndesc); in swap_linux_usb_header()
[all …]
Dsf-pcap-ng.c266 bhdr.block_type = SWAPLONG(bhdr.block_type); in read_block()
267 bhdr.total_length = SWAPLONG(bhdr.total_length); in read_block()
726 byte_order_magic = SWAPLONG(byte_order_magic); in pcap_ng_check_header()
734 total_length = SWAPLONG(total_length); in pcap_ng_check_header()
881 idbp->snaplen = SWAPLONG(idbp->snaplen); in pcap_ng_check_header()
990 interface_id = SWAPLONG(epbp->interface_id); in pcap_ng_next_packet()
991 hdr->caplen = SWAPLONG(epbp->caplen); in pcap_ng_next_packet()
992 hdr->len = SWAPLONG(epbp->len); in pcap_ng_next_packet()
993 t = ((u_int64_t)SWAPLONG(epbp->timestamp_high)) << 32 | in pcap_ng_next_packet()
994 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()
434 hdr->caplen = SWAPLONG(sf_hdr.caplen); in pcap_next_packet()
435 hdr->len = SWAPLONG(sf_hdr.len); in pcap_next_packet()
436 hdr->ts.tv_sec = SWAPLONG(sf_hdr.ts.tv_sec); in pcap_next_packet()
437 hdr->ts.tv_usec = SWAPLONG(sf_hdr.ts.tv_usec); in pcap_next_packet()
792 case SWAPLONG(TCPDUMP_MAGIC): in pcap_dump_open_append()
[all …]
Dpcap-common.h15 #define SWAPLONG(y) \ macro
Dgencode.c1730 #define SWAPLONG(y) \ macro
2515 sjset_radiotap_flags->s.k = SWAPLONG(0x00000002); in gen_load_802_11_header_len()
2528 sjset_radiotap_tsft->s.k = SWAPLONG(0x00000001); in gen_load_802_11_header_len()
2687 b->s.k = SWAPLONG(DLT_IEEE802_11); in gen_ppi_dlt_check()
3105 proto = SWAPLONG(proto);
/external/tcpdump/
Dprint-null.c51 #define SWAPLONG(y) \ macro
97 family = SWAPLONG(family); in null_if_print()