Home
last modified time | relevance | path

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

/freebsd-14.2/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()
140 hdrp->can_id = SWAPLONG(hdrp->can_id); 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()
297 uhdr->data_len = SWAPLONG(uhdr->data_len); in swap_linux_usb_header()
335 uhdr->interval = SWAPLONG(uhdr->interval); in swap_linux_usb_header()
350 uhdr->ndesc = SWAPLONG(uhdr->ndesc); in swap_linux_usb_header()
[all …]
H A Dsf-pcapng.c295 bhdr.block_type = SWAPLONG(bhdr.block_type); in read_block()
857 total_length = SWAPLONG(total_length); in pcap_ng_check_header()
1146 hdr->caplen = SWAPLONG(epbp->caplen); in pcap_ng_next_packet()
1147 hdr->len = SWAPLONG(epbp->len); in pcap_ng_next_packet()
1149 SWAPLONG(epbp->timestamp_low); in pcap_ng_next_packet()
1180 hdr->len = SWAPLONG(spbp->len); in pcap_ng_next_packet()
1211 hdr->caplen = SWAPLONG(pbp->caplen); in pcap_ng_next_packet()
1212 hdr->len = SWAPLONG(pbp->len); in pcap_ng_next_packet()
1214 SWAPLONG(pbp->timestamp_low); in pcap_ng_next_packet()
1293 SWAPLONG(shbp->byte_order_magic); 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()
1127 case SWAPLONG(TCPDUMP_MAGIC): in pcap_dump_open_append()
1128 case SWAPLONG(NSEC_TCPDUMP_MAGIC): in pcap_dump_open_append()
1135 case SWAPLONG(KUZNETZOV_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-14.2/sbin/ipf/libipf/
H A Dipft_pc.c64 #define SWAPLONG(y) \ macro
74 p->timezone = SWAPLONG(p->timezone); in iswap_hdr()
75 p->sigfigs = SWAPLONG(p->sigfigs); in iswap_hdr()
76 p->snaplen = SWAPLONG(p->snaplen); in iswap_hdr()
77 p->type = SWAPLONG(p->type); in iswap_hdr()
98 if (SWAPLONG(ph.id) != 0xa1b2c3d4) { in ipcap_open()
152 rec->caplen = SWAPLONG(rec->caplen); in ipcap_read_rec()
153 rec->wirelen = SWAPLONG(rec->wirelen); in ipcap_read_rec()
154 rec->seconds = SWAPLONG(rec->seconds); in ipcap_read_rec()
155 rec->microseconds = SWAPLONG(rec->microseconds); in ipcap_read_rec()
/freebsd-14.2/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()