Home
last modified time | relevance | path

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

/freebsd/contrib/libpcap/
H A Dpcap-util.c68 pflhdr->uid = SWAPLONG(pflhdr->uid); in swap_pflog_header()
79 pflhdr->pid = SWAPLONG(pflhdr->pid); in swap_pflog_header()
90 pflhdr->rule_uid = SWAPLONG(pflhdr->rule_uid); in swap_pflog_header()
101 pflhdr->rule_pid = SWAPLONG(pflhdr->rule_pid); in swap_pflog_header()
140 hdrp->can_id = SWAPLONG(hdrp->can_id); in swap_socketcan_header()
155 xl_hdrp->priority_vcid = SWAPLONG(xl_hdrp->priority_vcid); in swap_socketcan_header()
167 xl_hdrp->acceptance_field = SWAPLONG(xl_hdrp->acceptance_field); in swap_socketcan_header()
282 uhdr->ts_usec = SWAPLONG(uhdr->ts_usec); in swap_linux_usb_header()
287 uhdr->status = SWAPLONG(uhdr->status); in swap_linux_usb_header()
292 uhdr->urb_len = SWAPLONG(uhdr->urb_len); in swap_linux_usb_header()
[all …]
H A Dsf-pcapng.c295 bhdr.block_type = SWAPLONG(bhdr.block_type); in read_block()
296 bhdr.total_length = SWAPLONG(bhdr.total_length); in read_block()
363 btrlr->total_length = SWAPLONG(btrlr->total_length); in read_block()
849 byte_order_magic = SWAPLONG(byte_order_magic); in pcap_ng_check_header()
857 total_length = SWAPLONG(total_length); in pcap_ng_check_header()
1028 idbp->snaplen = SWAPLONG(idbp->snaplen); in pcap_ng_check_header()
1145 interface_id = SWAPLONG(epbp->interface_id); in pcap_ng_next_packet()
1146 hdr->caplen = SWAPLONG(epbp->caplen); in pcap_ng_next_packet()
1147 hdr->len = SWAPLONG(epbp->len); in pcap_ng_next_packet()
1148 t = ((uint64_t)SWAPLONG(epbp->timestamp_high)) << 32 | in pcap_ng_next_packet()
[all …]
H A Dsf-pcap.c243 magic_int = SWAPLONG(magic_int); in pcap_check_header()
277 hdr.thiszone = SWAPLONG(hdr.thiszone); in pcap_check_header()
278 hdr.sigfigs = SWAPLONG(hdr.sigfigs); in pcap_check_header()
279 hdr.snaplen = SWAPLONG(hdr.snaplen); in pcap_check_header()
280 hdr.linktype = SWAPLONG(hdr.linktype); in pcap_check_header()
553 hdr->caplen = SWAPLONG(sf_hdr.caplen); in pcap_next_packet()
554 hdr->len = SWAPLONG(sf_hdr.len); in pcap_next_packet()
555 hdr->ts.tv_sec = SWAPLONG(sf_hdr.ts.tv_sec); in pcap_next_packet()
556 hdr->ts.tv_usec = SWAPLONG(sf_hdr.ts.tv_usec); in pcap_next_packet()
1127 case SWAPLONG(TCPDUMP_MAGIC): in pcap_dump_open_append()
[all …]
H A Dpcap-util.h41 #define SWAPLONG(y) \ macro
H A Dpcap-linux.c4100 canxl_hdr->priority_vcid = SWAPLONG(canxl_hdr->priority_vcid); in pcap_handle_packet_mmap()
4118 canxl_hdr->acceptance_field = SWAPLONG(canxl_hdr->acceptance_field); in pcap_handle_packet_mmap()
H A Dgencode.c1950 #define SWAPLONG(y) \ macro
2159 ll_proto = SWAPLONG(ll_proto); in gen_loopback_linktype()
2826 sjset_radiotap_flags_present->s.k = SWAPLONG(0x00000002); in gen_load_802_11_header_len()
2838 sjset_radiotap_ext_present->s.k = SWAPLONG(0x80000000); in gen_load_802_11_header_len()
2851 sjset_radiotap_tsft_present->s.k = SWAPLONG(0x00000001); in gen_load_802_11_header_len()
3038 b->s.k = SWAPLONG(DLT_IEEE802_11); in gen_ppi_dlt_check()
/freebsd/sbin/ipf/libipf/
H A Dipft_pc.c61 #define SWAPLONG(y) \ macro
71 p->timezone = SWAPLONG(p->timezone); in iswap_hdr()
72 p->sigfigs = SWAPLONG(p->sigfigs); in iswap_hdr()
73 p->snaplen = SWAPLONG(p->snaplen); in iswap_hdr()
74 p->type = SWAPLONG(p->type); in iswap_hdr()
95 if (SWAPLONG(ph.id) != 0xa1b2c3d4) { in ipcap_open()
149 rec->caplen = SWAPLONG(rec->caplen); in ipcap_read_rec()
150 rec->wirelen = SWAPLONG(rec->wirelen); in ipcap_read_rec()
151 rec->seconds = SWAPLONG(rec->seconds); in ipcap_read_rec()
152 rec->microseconds = SWAPLONG(rec->microseconds); in ipcap_read_rec()
/freebsd/contrib/tcpdump/
H A Dprint-enc.c93 #define SWAPLONG(y) \ macro
130 af = SWAPLONG(af); in enc_if_print()
131 flags = SWAPLONG(flags); in enc_if_print()
H A Dprint-null.c51 #define SWAPLONG(y) \ macro
96 family = SWAPLONG(family); in null_if_print()