Home
last modified time | relevance | path

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

12

/dports/net-mgmt/tcpreplay/tcpreplay-4.3.4/src/
H A Dtcpcapinfo.c146 case SWAPLONG(TCPDUMP_MAGIC): in main()
156 case SWAPLONG(KUZNETZOV_TCPDUMP_MAGIC): in main()
166 case SWAPLONG(FMESQUITA_TCPDUMP_MAGIC): in main()
175 case SWAPLONG(NAVTEL_TCPDUMP_MAGIC): in main()
184 case SWAPLONG(NSEC_TCPDUMP_MAGIC): in main()
196 pcap_fh.thiszone = SWAPLONG(pcap_fh.thiszone); in main()
197 pcap_fh.sigfigs = SWAPLONG(pcap_fh.sigfigs); in main()
198 pcap_fh.snaplen = SWAPLONG(pcap_fh.snaplen); in main()
199 pcap_fh.linktype = SWAPLONG(pcap_fh.linktype); in main()
269 pcap_ph.caplen = SWAPLONG(pcap_ph.caplen); in main()
[all …]
/dports/net/tcptrace/tcptrace-508f73a/
H A Dtcpdump.h60 #define SWAPLONG(y) \ macro
138 pdfh->thiszone = SWAPLONG(pdfh->thiszone); in swap_hdr()
139 pdfh->sigfigs = SWAPLONG(pdfh->sigfigs); in swap_hdr()
140 pdfh->snaplen = SWAPLONG(pdfh->snaplen); in swap_hdr()
141 pdfh->linktype = SWAPLONG(pdfh->linktype); in swap_hdr()
147 pph->caplen = SWAPLONG(pph->caplen); in swap_phdr()
148 pph->len = SWAPLONG(pph->len); in swap_phdr()
149 pph->ts_secs = SWAPLONG(pph->ts_secs); in swap_phdr()
150 pph->ts_usecs = SWAPLONG(pph->ts_usecs); in swap_phdr()
/dports/net/tcpview/tcpview-1.0/UTIL/
H A Djoin_dumps.c44 #define SWAPLONG(y) \ macro
115 hp->thiszone = SWAPLONG(hp->thiszone); in swap_hdr()
116 hp->sigfigs = SWAPLONG(hp->sigfigs); in swap_hdr()
117 hp->snaplen = SWAPLONG(hp->snaplen); in swap_hdr()
118 hp->linktype = SWAPLONG(hp->linktype); in swap_hdr()
141 if (SWAPLONG(hdr.magic) != TCPDUMP_MAGIC) { in sf_read_init()
201 hdr->caplen = SWAPLONG(hdr->caplen);
202 hdr->len = SWAPLONG(hdr->len);
203 hdr->ts.tv_sec = SWAPLONG(hdr->ts.tv_sec);
204 hdr->ts.tv_usec = SWAPLONG(hdr->ts.tv_usec);
/dports/security/nmap/nmap-7.91/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 …]
/dports/net/libpcap/libpcap-1.10.1/
H A Dpcap-common.c1432 chdr->can_id = SWAPLONG(chdr->can_id); in swap_linux_sll_header()
1483 uhdr->ts_usec = SWAPLONG(uhdr->ts_usec); in swap_linux_usb_header()
1488 uhdr->status = SWAPLONG(uhdr->status); in swap_linux_usb_header()
1493 uhdr->urb_len = SWAPLONG(uhdr->urb_len); in swap_linux_usb_header()
1498 uhdr->data_len = SWAPLONG(uhdr->data_len); in swap_linux_usb_header()
1536 uhdr->interval = SWAPLONG(uhdr->interval); in swap_linux_usb_header()
1541 uhdr->start_frame = SWAPLONG(uhdr->start_frame); in swap_linux_usb_header()
1546 uhdr->xfer_flags = SWAPLONG(uhdr->xfer_flags); in swap_linux_usb_header()
1551 uhdr->ndesc = SWAPLONG(uhdr->ndesc); in swap_linux_usb_header()
1563 pisodesc->status = SWAPLONG(pisodesc->status); in swap_linux_usb_header()
[all …]
H A Dsf-pcapng.c296 bhdr.block_type = SWAPLONG(bhdr.block_type); in read_block()
858 total_length = SWAPLONG(total_length); in pcap_ng_check_header()
1147 hdr->caplen = SWAPLONG(epbp->caplen); in pcap_ng_next_packet()
1148 hdr->len = SWAPLONG(epbp->len); in pcap_ng_next_packet()
1150 SWAPLONG(epbp->timestamp_low); in pcap_ng_next_packet()
1181 hdr->len = SWAPLONG(spbp->len); in pcap_ng_next_packet()
1212 hdr->caplen = SWAPLONG(pbp->caplen); in pcap_ng_next_packet()
1213 hdr->len = SWAPLONG(pbp->len); in pcap_ng_next_packet()
1215 SWAPLONG(pbp->timestamp_low); in pcap_ng_next_packet()
1294 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()
476 hdr->caplen = SWAPLONG(sf_hdr.caplen); in pcap_next_packet()
477 hdr->len = SWAPLONG(sf_hdr.len); in pcap_next_packet()
1019 case SWAPLONG(TCPDUMP_MAGIC): in pcap_dump_open_append()
1020 case SWAPLONG(NSEC_TCPDUMP_MAGIC): in pcap_dump_open_append()
1027 case SWAPLONG(KUZNETZOV_TCPDUMP_MAGIC): in pcap_dump_open_append()
[all …]
/dports/net/tcpview/tcpview-1.0/
H A Dsavefile.c101 hp->thiszone = SWAPLONG(hp->thiszone);
102 hp->sigfigs = SWAPLONG(hp->sigfigs);
103 hp->snaplen = SWAPLONG(hp->snaplen);
104 hp->linktype = SWAPLONG(hp->linktype);
141 if (SWAPLONG(hdr.magic) != TCPDUMP_MAGIC)
229 hdr->caplen = SWAPLONG(hdr->caplen);
230 hdr->len = SWAPLONG(hdr->len);
231 hdr->ts.tv_sec = SWAPLONG(hdr->ts.tv_sec);
232 hdr->ts.tv_usec = SWAPLONG(hdr->ts.tv_usec);
/dports/security/fragrouter/fragrouter-1.6/libpcap-0.4/
H A Dsavefile.c64 #define SWAPLONG(y) \ macro
99 hp->thiszone = SWAPLONG(hp->thiszone); in swap_hdr()
100 hp->sigfigs = SWAPLONG(hp->sigfigs); in swap_hdr()
101 hp->snaplen = SWAPLONG(hp->snaplen); in swap_hdr()
102 hp->linktype = SWAPLONG(hp->linktype); in swap_hdr()
139 if (SWAPLONG(hdr.magic) != TCPDUMP_MAGIC) { in pcap_open_offline()
207 hdr->caplen = SWAPLONG(hdr->caplen); in sf_next_packet()
208 hdr->len = SWAPLONG(hdr->len); in sf_next_packet()
209 hdr->ts.tv_sec = SWAPLONG(hdr->ts.tv_sec); in sf_next_packet()
210 hdr->ts.tv_usec = SWAPLONG(hdr->ts.tv_usec); in sf_next_packet()
/dports/net-mgmt/tcpreplay/tcpreplay-4.3.4/src/tcpedit/plugins/dlt_null/
H A Dnull.c227 if (*af_type == PF_INET || SWAPLONG(*af_type) == PF_INET) { in dlt_null_proto()
229 } else if (*af_type == PF_INET6 || SWAPLONG(*af_type) == PF_INET6 || in dlt_null_proto()
230 *af_type == 10 || SWAPLONG(*af_type) == 10 || in dlt_null_proto()
231 *af_type == 24 || SWAPLONG(*af_type) == 24 || in dlt_null_proto()
232 *af_type == 28 || SWAPLONG(*af_type) == 28 || in dlt_null_proto()
233 *af_type == 30 || SWAPLONG(*af_type) == 30) { in dlt_null_proto()
/dports/net/ipsumdump/ipsumdump-1.86/src/
H A Dfromdump.cc44 #define SWAPLONG(y) \ macro
173 outp->magic = SWAPLONG(hp->magic); in swap_file_header()
176 outp->thiszone = SWAPLONG(hp->thiszone); in swap_file_header()
177 outp->sigfigs = SWAPLONG(hp->sigfigs); in swap_file_header()
178 outp->snaplen = SWAPLONG(hp->snaplen); in swap_file_header()
179 outp->linktype = SWAPLONG(hp->linktype); in swap_file_header()
185 outp->ts.tv.tv_sec = SWAPLONG(hp->ts.tv.tv_sec); in swap_packet_header()
186 outp->ts.tv.tv_usec = SWAPLONG(hp->ts.tv.tv_usec); in swap_packet_header()
187 outp->caplen = SWAPLONG(hp->caplen); in swap_packet_header()
188 outp->len = SWAPLONG(hp->len); in swap_packet_header()
/dports/net/tcpdump/tcpdump-4.99.1/
H A Dprint-enc.c95 #define SWAPLONG(y) \ macro
133 af = SWAPLONG(af); in enc_if_print()
134 flags = SWAPLONG(flags); in enc_if_print()
H A Dprint-null.c53 #define SWAPLONG(y) \ macro
98 family = SWAPLONG(family); in null_if_print()
/dports/emulators/qemu-utils/qemu-4.2.1/roms/u-boot-sam460ex/board/ACube/common/
H A Dvesa.c66 #define SWAPLONG(x) mi->x = (DWORD)read_long_little(&(mi->x)) macro
140 SWAPLONG(winfuncptr); in swap_modeinfo()
144 SWAPLONG(physbaseptr); in swap_modeinfo()
145 SWAPLONG(offscreenmemoffset); in swap_modeinfo()
/dports/emulators/qemu5/qemu-5.2.0/roms/u-boot-sam460ex/board/ACube/common/
H A Dvesa.c66 #define SWAPLONG(x) mi->x = (DWORD)read_long_little(&(mi->x)) macro
140 SWAPLONG(winfuncptr); in swap_modeinfo()
144 SWAPLONG(physbaseptr); in swap_modeinfo()
145 SWAPLONG(offscreenmemoffset); in swap_modeinfo()
/dports/emulators/qemu-guest-agent/qemu-5.0.1/roms/u-boot-sam460ex/board/ACube/common/
H A Dvesa.c66 #define SWAPLONG(x) mi->x = (DWORD)read_long_little(&(mi->x)) macro
140 SWAPLONG(winfuncptr); in swap_modeinfo()
144 SWAPLONG(physbaseptr); in swap_modeinfo()
145 SWAPLONG(offscreenmemoffset); in swap_modeinfo()
/dports/emulators/qemu-powernv/qemu-powernv-3.0.50/roms/u-boot-sam460ex/board/ACube/common/
H A Dvesa.c66 #define SWAPLONG(x) mi->x = (DWORD)read_long_little(&(mi->x)) macro
140 SWAPLONG(winfuncptr); in swap_modeinfo()
144 SWAPLONG(physbaseptr); in swap_modeinfo()
145 SWAPLONG(offscreenmemoffset); in swap_modeinfo()
/dports/emulators/qemu42/qemu-4.2.1/roms/u-boot-sam460ex/board/ACube/common/
H A Dvesa.c66 #define SWAPLONG(x) mi->x = (DWORD)read_long_little(&(mi->x)) macro
140 SWAPLONG(winfuncptr); in swap_modeinfo()
144 SWAPLONG(physbaseptr); in swap_modeinfo()
145 SWAPLONG(offscreenmemoffset); in swap_modeinfo()
/dports/emulators/qemu/qemu-6.2.0/roms/u-boot-sam460ex/board/ACube/common/
H A Dvesa.c66 #define SWAPLONG(x) mi->x = (DWORD)read_long_little(&(mi->x)) macro
140 SWAPLONG(winfuncptr); in swap_modeinfo()
144 SWAPLONG(physbaseptr); in swap_modeinfo()
145 SWAPLONG(offscreenmemoffset); in swap_modeinfo()
/dports/emulators/qemu60/qemu-6.0.0/roms/u-boot-sam460ex/board/ACube/common/
H A Dvesa.c66 #define SWAPLONG(x) mi->x = (DWORD)read_long_little(&(mi->x)) macro
140 SWAPLONG(winfuncptr); in swap_modeinfo()
144 SWAPLONG(physbaseptr); in swap_modeinfo()
145 SWAPLONG(offscreenmemoffset); in swap_modeinfo()
/dports/net/tcpslice/tcpslice-f73194c/
H A Dsearch.c131 #define SWAPLONG(y) \ macro
149 hdr->ts.tv_sec = SWAPLONG(hdr->ts.tv_sec); in extract_header()
150 hdr->ts.tv_usec = SWAPLONG(hdr->ts.tv_usec); in extract_header()
151 hdr->len = SWAPLONG(hdr->len); in extract_header()
152 hdr->caplen = SWAPLONG(hdr->caplen); in extract_header()
/dports/net/libpcapnav/libpcapnav-0.8/src/
H A Dpcapnav_header.c110 hdr->ts.tv_sec = SWAPLONG(phys_hdr.ts.tv_sec); in __pcapnav_header_extract()
111 hdr->ts.tv_usec = SWAPLONG(phys_hdr.ts.tv_usec); in __pcapnav_header_extract()
112 hdr->len = SWAPLONG(phys_hdr.len); in __pcapnav_header_extract()
113 hdr->caplen = SWAPLONG(phys_hdr.caplen); in __pcapnav_header_extract()
/dports/net/libpcapnav/libpcapnav-0.8/docs/sgml/
H A Dpcapnav_macros.sgml23 #define <link linkend="SWAPLONG-CAPS">SWAPLONG</link> (y)
122 <title><anchor id="SWAPLONG-CAPS">SWAPLONG()</title>
123 <indexterm><primary>SWAPLONG</primary></indexterm><programlisting>#define SWAPLONG(y)</programl…

12