Searched refs:SWAPSHORT (Results 1 – 6 of 6) sorted by relevance
63 #define SWAPSHORT(y) \ macro69 p->major = SWAPSHORT(p->major); in iswap_hdr()70 p->minor = SWAPSHORT(p->minor); in iswap_hdr()
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()1027 idbp->linktype = SWAPSHORT(idbp->linktype); in pcap_ng_check_header()1210 interface_id = SWAPSHORT(pbp->interface_id); in pcap_ng_next_packet()1238 idbp->linktype = SWAPSHORT(idbp->linktype); in pcap_ng_next_packet()1295 SWAPSHORT(shbp->major_version); in pcap_ng_next_packet()
161 xl_hdrp->payload_length = SWAPSHORT(xl_hdrp->payload_length); in swap_socketcan_header()270 uhdr->bus_id = SWAPSHORT(uhdr->bus_id); in swap_linux_usb_header()422 tlv->tlv_type = SWAPSHORT(tlv->tlv_type); in swap_nflog_header()423 tlv->tlv_length = SWAPSHORT(tlv->tlv_length); in swap_nflog_header()
46 #define SWAPSHORT(y) \ macro
275 hdr.version_major = SWAPSHORT(hdr.version_major); in pcap_check_header()276 hdr.version_minor = SWAPSHORT(hdr.version_minor); in pcap_check_header()
4248 canxl_hdr->payload_length = SWAPSHORT(canxl_hdr->payload_length); in pcap_handle_packet_mmap()