Home
last modified time | relevance | path

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

/external/libpcap/
Dpcap-common.c1294 chdr->can_id = SWAPLONG(chdr->can_id); in swap_linux_sll_header()
1345 uhdr->ts_usec = SWAPLONG(uhdr->ts_usec); in swap_linux_usb_header()
1350 uhdr->status = SWAPLONG(uhdr->status); in swap_linux_usb_header()
1355 uhdr->urb_len = SWAPLONG(uhdr->urb_len); in swap_linux_usb_header()
1360 uhdr->data_len = SWAPLONG(uhdr->data_len); in swap_linux_usb_header()
1366 uhdr->s.iso.error_count = SWAPLONG(uhdr->s.iso.error_count); in swap_linux_usb_header()
1371 uhdr->s.iso.numdesc = SWAPLONG(uhdr->s.iso.numdesc); in swap_linux_usb_header()
1398 uhdr->interval = SWAPLONG(uhdr->interval); in swap_linux_usb_header()
1403 uhdr->start_frame = SWAPLONG(uhdr->start_frame); in swap_linux_usb_header()
1408 uhdr->xfer_flags = SWAPLONG(uhdr->xfer_flags); in swap_linux_usb_header()
[all …]
Dsf-pcapng.c289 bhdr.block_type = SWAPLONG(bhdr.block_type); in read_block()
290 bhdr.total_length = SWAPLONG(bhdr.total_length); in read_block()
818 byte_order_magic = SWAPLONG(byte_order_magic); in pcap_ng_check_header()
826 total_length = SWAPLONG(total_length); in pcap_ng_check_header()
980 idbp->snaplen = SWAPLONG(idbp->snaplen); in pcap_ng_check_header()
1109 interface_id = SWAPLONG(epbp->interface_id); in pcap_ng_next_packet()
1110 hdr->caplen = SWAPLONG(epbp->caplen); in pcap_ng_next_packet()
1111 hdr->len = SWAPLONG(epbp->len); in pcap_ng_next_packet()
1112 t = ((uint64_t)SWAPLONG(epbp->timestamp_high)) << 32 | in pcap_ng_next_packet()
1113 SWAPLONG(epbp->timestamp_low); in pcap_ng_next_packet()
[all …]
Dsf-pcap.c159 magic = SWAPLONG(magic); in pcap_check_header()
193 hdr.thiszone = SWAPLONG(hdr.thiszone); in pcap_check_header()
194 hdr.sigfigs = SWAPLONG(hdr.sigfigs); in pcap_check_header()
195 hdr.snaplen = SWAPLONG(hdr.snaplen); in pcap_check_header()
196 hdr.linktype = SWAPLONG(hdr.linktype); in pcap_check_header()
465 hdr->caplen = SWAPLONG(sf_hdr.caplen); in pcap_next_packet()
466 hdr->len = SWAPLONG(sf_hdr.len); in pcap_next_packet()
467 hdr->ts.tv_sec = SWAPLONG(sf_hdr.ts.tv_sec); in pcap_next_packet()
468 hdr->ts.tv_usec = SWAPLONG(sf_hdr.ts.tv_usec); in pcap_next_packet()
939 case SWAPLONG(TCPDUMP_MAGIC): in pcap_dump_open_append()
[all …]
Dpcap-common.h37 #define SWAPLONG(y) \ macro
Dgencode.c1834 #define SWAPLONG(y) \ macro
2045 proto = SWAPLONG(proto); in gen_loopback_linktype()
2661 sjset_radiotap_flags_present->s.k = SWAPLONG(0x00000002); in gen_load_802_11_header_len()
2673 sjset_radiotap_ext_present->s.k = SWAPLONG(0x80000000); in gen_load_802_11_header_len()
2686 sjset_radiotap_tsft_present->s.k = SWAPLONG(0x00000001); in gen_load_802_11_header_len()
2869 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()