Home
last modified time | relevance | path

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

/freebsd-13.1/sbin/ipf/libipf/
H A Dipft_pc.c65 #define SWAPLONG(y) \ macro
75 p->timezone = SWAPLONG(p->timezone); in iswap_hdr()
76 p->sigfigs = SWAPLONG(p->sigfigs); in iswap_hdr()
77 p->snaplen = SWAPLONG(p->snaplen); in iswap_hdr()
78 p->type = SWAPLONG(p->type); in iswap_hdr()
99 if (SWAPLONG(ph.id) != 0xa1b2c3d4) { in ipcap_open()
153 rec->caplen = SWAPLONG(rec->caplen); in ipcap_read_rec()
154 rec->wirelen = SWAPLONG(rec->wirelen); in ipcap_read_rec()
155 rec->seconds = SWAPLONG(rec->seconds); in ipcap_read_rec()
156 rec->microseconds = SWAPLONG(rec->microseconds); in ipcap_read_rec()
/freebsd-13.1/contrib/libpcap/
H A Dpcap-common.c1340 chdr->can_id = SWAPLONG(chdr->can_id); in swap_linux_sll_header()
1391 uhdr->ts_usec = SWAPLONG(uhdr->ts_usec); in swap_linux_usb_header()
1396 uhdr->status = SWAPLONG(uhdr->status); in swap_linux_usb_header()
1401 uhdr->urb_len = SWAPLONG(uhdr->urb_len); in swap_linux_usb_header()
1406 uhdr->data_len = SWAPLONG(uhdr->data_len); in swap_linux_usb_header()
1444 uhdr->interval = SWAPLONG(uhdr->interval); in swap_linux_usb_header()
1449 uhdr->start_frame = SWAPLONG(uhdr->start_frame); in swap_linux_usb_header()
1454 uhdr->xfer_flags = SWAPLONG(uhdr->xfer_flags); in swap_linux_usb_header()
1459 uhdr->ndesc = SWAPLONG(uhdr->ndesc); in swap_linux_usb_header()
1471 pisodesc->status = SWAPLONG(pisodesc->status); in swap_linux_usb_header()
[all …]
H A Dsf-pcapng.c294 bhdr.block_type = SWAPLONG(bhdr.block_type); in read_block()
853 total_length = SWAPLONG(total_length); in pcap_ng_check_header()
1129 hdr->caplen = SWAPLONG(epbp->caplen); in pcap_ng_next_packet()
1130 hdr->len = SWAPLONG(epbp->len); in pcap_ng_next_packet()
1132 SWAPLONG(epbp->timestamp_low); in pcap_ng_next_packet()
1163 hdr->len = SWAPLONG(spbp->len); in pcap_ng_next_packet()
1194 hdr->caplen = SWAPLONG(pbp->caplen); in pcap_ng_next_packet()
1195 hdr->len = SWAPLONG(pbp->len); in pcap_ng_next_packet()
1197 SWAPLONG(pbp->timestamp_low); in pcap_ng_next_packet()
1276 SWAPLONG(shbp->byte_order_magic); in pcap_ng_next_packet()
[all …]
H A Dsf-pcap.c177 magic_int = SWAPLONG(magic_int); in pcap_check_header()
211 hdr.thiszone = SWAPLONG(hdr.thiszone); in pcap_check_header()
212 hdr.sigfigs = SWAPLONG(hdr.sigfigs); in pcap_check_header()
213 hdr.snaplen = SWAPLONG(hdr.snaplen); in pcap_check_header()
214 hdr.linktype = SWAPLONG(hdr.linktype); in pcap_check_header()
477 hdr->caplen = SWAPLONG(sf_hdr.caplen); in pcap_next_packet()
478 hdr->len = SWAPLONG(sf_hdr.len); in pcap_next_packet()
1010 case SWAPLONG(TCPDUMP_MAGIC): in pcap_dump_open_append()
1011 case SWAPLONG(NSEC_TCPDUMP_MAGIC): in pcap_dump_open_append()
1018 case SWAPLONG(KUZNETZOV_TCPDUMP_MAGIC): in pcap_dump_open_append()
[all …]
H A Dpcap-common.h37 #define SWAPLONG(y) \ macro
H A Dgencode.c1946 #define SWAPLONG(y) \ macro
2157 proto = SWAPLONG(proto); in gen_loopback_linktype()
2773 sjset_radiotap_flags_present->s.k = SWAPLONG(0x00000002); in gen_load_802_11_header_len()
2785 sjset_radiotap_ext_present->s.k = SWAPLONG(0x80000000); in gen_load_802_11_header_len()
2798 sjset_radiotap_tsft_present->s.k = SWAPLONG(0x00000001); in gen_load_802_11_header_len()
2981 b->s.k = SWAPLONG(DLT_IEEE802_11); in gen_ppi_dlt_check()
/freebsd-13.1/contrib/tcpdump/
H A Dprint-null.c52 #define SWAPLONG(y) \ macro
98 family = SWAPLONG(family); in null_if_print()