Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/ipfilter/lib/
H A Dipft_pc.c65 #define SWAPLONG(y) \ macro
75 p->timezone = SWAPLONG(p->timezone);
76 p->sigfigs = SWAPLONG(p->sigfigs);
77 p->snaplen = SWAPLONG(p->snaplen);
78 p->type = SWAPLONG(p->type);
99 if (SWAPLONG(ph.id) != 0xa1b2c3d4) {
155 rec->caplen = SWAPLONG(rec->caplen);
156 rec->wirelen = SWAPLONG(rec->wirelen);
157 rec->seconds = SWAPLONG(rec->seconds);
158 rec->microseconds = SWAPLONG(rec->microseconds);
/freebsd-12.1/contrib/libpcap/
H A Dpcap-common.c1285 chdr->can_id = SWAPLONG(chdr->can_id); in swap_linux_sll_header()
1336 uhdr->ts_usec = SWAPLONG(uhdr->ts_usec); in swap_linux_usb_header()
1341 uhdr->status = SWAPLONG(uhdr->status); in swap_linux_usb_header()
1346 uhdr->urb_len = SWAPLONG(uhdr->urb_len); in swap_linux_usb_header()
1351 uhdr->data_len = SWAPLONG(uhdr->data_len); in swap_linux_usb_header()
1389 uhdr->interval = SWAPLONG(uhdr->interval); in swap_linux_usb_header()
1394 uhdr->start_frame = SWAPLONG(uhdr->start_frame); in swap_linux_usb_header()
1399 uhdr->xfer_flags = SWAPLONG(uhdr->xfer_flags); in swap_linux_usb_header()
1404 uhdr->ndesc = SWAPLONG(uhdr->ndesc); in swap_linux_usb_header()
1416 pisodesc->status = SWAPLONG(pisodesc->status); in swap_linux_usb_header()
[all …]
H A Dsf-pcapng.c815 total_length = SWAPLONG(total_length); in pcap_ng_check_header()
969 idbp->snaplen = SWAPLONG(idbp->snaplen); in pcap_ng_check_header()
1099 hdr->caplen = SWAPLONG(epbp->caplen); in pcap_ng_next_packet()
1100 hdr->len = SWAPLONG(epbp->len); in pcap_ng_next_packet()
1102 SWAPLONG(epbp->timestamp_low); in pcap_ng_next_packet()
1133 hdr->len = SWAPLONG(spbp->len); in pcap_ng_next_packet()
1164 hdr->caplen = SWAPLONG(pbp->caplen); in pcap_ng_next_packet()
1165 hdr->len = SWAPLONG(pbp->len); in pcap_ng_next_packet()
1167 SWAPLONG(pbp->timestamp_low); in pcap_ng_next_packet()
1240 SWAPLONG(shbp->byte_order_magic); in pcap_ng_next_packet()
[all …]
H A 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()
939 case SWAPLONG(TCPDUMP_MAGIC): in pcap_dump_open_append()
940 case SWAPLONG(NSEC_TCPDUMP_MAGIC): in pcap_dump_open_append()
947 case SWAPLONG(KUZNETZOV_TCPDUMP_MAGIC): in pcap_dump_open_append()
[all …]
H A Dpcap-common.h37 #define SWAPLONG(y) \ macro
H A 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()
/freebsd-12.1/contrib/tcpdump/
H A Dprint-null.c52 #define SWAPLONG(y) \ macro
98 family = SWAPLONG(family); in null_if_print()