Home
last modified time | relevance | path

Searched refs:SWAPSHORT (Results 1 – 5 of 5) sorted by relevance

/freebsd-12.1/contrib/libpcap/
H A Dsf-pcapng.c404 opthdr->option_code = SWAPSHORT(opthdr->option_code); in get_opthdr_from_block_data()
405 opthdr->option_length = SWAPSHORT(opthdr->option_length); in get_opthdr_from_block_data()
913 shbp->major_version = SWAPSHORT(shbp->major_version); in pcap_ng_check_header()
914 shbp->minor_version = SWAPSHORT(shbp->minor_version); in pcap_ng_check_header()
968 idbp->linktype = SWAPSHORT(idbp->linktype); in pcap_ng_check_header()
1163 interface_id = SWAPSHORT(pbp->interface_id); in pcap_ng_next_packet()
1191 idbp->linktype = SWAPSHORT(idbp->linktype); in pcap_ng_next_packet()
1242 SWAPSHORT(shbp->major_version); in pcap_ng_next_packet()
H A Dpcap-common.c1324 uhdr->bus_id = SWAPSHORT(uhdr->bus_id); in swap_linux_usb_header()
1476 tlv->tlv_type = SWAPSHORT(tlv->tlv_type); in swap_nflog_header()
1477 tlv->tlv_length = SWAPSHORT(tlv->tlv_length); in swap_nflog_header()
H A Dpcap-common.h39 #define SWAPSHORT(y) \ macro
H A Dsf-pcap.c191 hdr.version_major = SWAPSHORT(hdr.version_major); in pcap_check_header()
192 hdr.version_minor = SWAPSHORT(hdr.version_minor); in pcap_check_header()
/freebsd-12.1/contrib/ipfilter/lib/
H A Dipft_pc.c67 #define SWAPSHORT(y) \ macro
73 p->major = SWAPSHORT(p->major);
74 p->minor = SWAPSHORT(p->minor);