Searched refs:SWAPSHORT (Results 1 – 5 of 5) sorted by relevance
404 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()
1324 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()
39 #define SWAPSHORT(y) \ macro
191 hdr.version_major = SWAPSHORT(hdr.version_major); in pcap_check_header()192 hdr.version_minor = SWAPSHORT(hdr.version_minor); in pcap_check_header()
67 #define SWAPSHORT(y) \ macro73 p->major = SWAPSHORT(p->major);74 p->minor = SWAPSHORT(p->minor);