Searched refs:SWAPSHORT (Results 1 - 5 of 5) sorted by path

/freebsd-11-stable/contrib/ipfilter/lib/
H A Dipft_pc.c67 #define SWAPSHORT(y) \ macro
73 p->major = SWAPSHORT(p->major);
74 p->minor = SWAPSHORT(p->minor);
/freebsd-11-stable/contrib/libpcap/
H A Dpcap-common.c1379 uhdr->bus_id = SWAPSHORT(uhdr->bus_id);
1531 tlv->tlv_type = SWAPSHORT(tlv->tlv_type);
1532 tlv->tlv_length = SWAPSHORT(tlv->tlv_length);
H A Dpcap-common.h42 #define SWAPSHORT(y) \ macro
H A Dsf-pcap.c209 hdr.version_major = SWAPSHORT(hdr.version_major);
210 hdr.version_minor = SWAPSHORT(hdr.version_minor);
H A Dsf-pcapng.c429 opthdr->option_code = SWAPSHORT(opthdr->option_code);
430 opthdr->option_length = SWAPSHORT(opthdr->option_length);
954 shbp->major_version = SWAPSHORT(shbp->major_version);
955 shbp->minor_version = SWAPSHORT(shbp->minor_version);
1009 idbp->linktype = SWAPSHORT(idbp->linktype);
1193 interface_id = SWAPSHORT(pbp->interface_id);
1221 idbp->linktype = SWAPSHORT(idbp->linktype);
1278 SWAPSHORT(shbp->major_version);

Completed in 211 milliseconds