1238438Sdteske/*- 2238438Sdteske * Copyright (c) 1996 Carnegie-Mellon University. 3249746Sdteske * All rights reserved. 4238438Sdteske * 5238438Sdteske * Author: Chris G. Demetriou 6238438Sdteske * 7238438Sdteske * Permission to use, copy, modify and distribute this software and 8238438Sdteske * its documentation is hereby granted, provided that both the copyright 9238438Sdteske * notice and this permission notice appear in all copies of the 10238438Sdteske * software, derivative works or modified versions, and any portions 11238438Sdteske * thereof, and that both notices appear in supporting documentation. 12238438Sdteske * 13238438Sdteske * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS" 14238438Sdteske * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND 15238438Sdteske * FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE. 16238438Sdteske * 17238438Sdteske * Carnegie Mellon requests users of this software to return to 18238438Sdteske * 19238438Sdteske * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU 20238438Sdteske * School of Computer Science 21238438Sdteske * Carnegie Mellon University 22238438Sdteske * Pittsburgh PA 15213-3890 23238438Sdteske * 24238438Sdteske * any improvements or extensions that they make and grant Carnegie the 25238438Sdteske * rights to redistribute these changes. 26238438Sdteske * 27238438Sdteske * from: NetBSD: htons.S,v 1.1 1996/04/17 22:36:54 cgd 28238438Sdteske * from: src/sys/libkern/ia64/htons.S,v 1.2 2002/02/18 20:35:21 29238438Sdteske * 30238438Sdteske * $FreeBSD: releng/10.3/sys/libkern/ia64/bswap16.S 139815 2005-01-07 00:24:33Z imp $ 31240684Sdteske */ 32240684Sdteske 33244675Sdteske#define NAME __bswap16 34240684Sdteske 35240684Sdteske#include <libkern/ia64/byte_swap_2.S> 36240684Sdteske