Searched refs:SWAPSHORT (Results 1 – 4 of 4) sorted by relevance
430 opthdr->option_code = SWAPSHORT(opthdr->option_code); in get_opthdr_from_block_data()431 opthdr->option_length = SWAPSHORT(opthdr->option_length); in get_opthdr_from_block_data()958 shbp->major_version = SWAPSHORT(shbp->major_version); in pcap_ng_check_header()959 shbp->minor_version = SWAPSHORT(shbp->minor_version); in pcap_ng_check_header()1013 idbp->linktype = SWAPSHORT(idbp->linktype); in pcap_ng_check_header()1196 interface_id = SWAPSHORT(pbp->interface_id); in pcap_ng_next_packet()1224 idbp->linktype = SWAPSHORT(idbp->linktype); in pcap_ng_next_packet()1281 SWAPSHORT(shbp->major_version); in pcap_ng_next_packet()
42 #define SWAPSHORT(y) \ macro
1471 uhdr->bus_id = SWAPSHORT(uhdr->bus_id); in swap_linux_usb_header()1623 tlv->tlv_type = SWAPSHORT(tlv->tlv_type); in swap_nflog_header()1624 tlv->tlv_length = SWAPSHORT(tlv->tlv_length); in swap_nflog_header()
209 hdr.version_major = SWAPSHORT(hdr.version_major); in pcap_check_header()210 hdr.version_minor = SWAPSHORT(hdr.version_minor); in pcap_check_header()