Home
last modified time | relevance | path

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

/external/libpcap/
Dsf-pcap-ng.c382 opthdr->option_code = SWAPSHORT(opthdr->option_code); in get_opthdr_from_block_data()
383 opthdr->option_length = SWAPSHORT(opthdr->option_length); in get_opthdr_from_block_data()
888 shbp->major_version = SWAPSHORT(shbp->major_version); in pcap_ng_check_header()
889 shbp->minor_version = SWAPSHORT(shbp->minor_version); in pcap_ng_check_header()
943 idbp->linktype = SWAPSHORT(idbp->linktype); in pcap_ng_check_header()
1130 interface_id = SWAPSHORT(pbp->interface_id); in pcap_ng_next_packet()
1158 idbp->linktype = SWAPSHORT(idbp->linktype); in pcap_ng_next_packet()
1209 SWAPSHORT(shbp->major_version); in pcap_ng_next_packet()
Dpcap-common.c1256 uhdr->bus_id = SWAPSHORT(uhdr->bus_id); in swap_linux_usb_header()
1408 tlv->tlv_type = SWAPSHORT(tlv->tlv_type); in swap_nflog_header()
1409 tlv->tlv_length = SWAPSHORT(tlv->tlv_length); in swap_nflog_header()
Dpcap-common.h17 #define SWAPSHORT(y) \ macro
Dsf-pcap.c205 hdr.version_major = SWAPSHORT(hdr.version_major); in pcap_check_header()
206 hdr.version_minor = SWAPSHORT(hdr.version_minor); in pcap_check_header()