// Copyright (c) 2011, XMOS Ltd., All rights reserved
// This software is freely distributable under a derivative of the
// University of Illinois/NCSA Open Source License posted in
// LICENSE.txt and at <http://github.xcore.com/>

#include "nettypes.h"

extern inline n16_t hton16(u16_t x);
extern inline u16_t ntoh16(n16_t x);
extern inline n32_t hton32(u32_t x);

extern inline u64_t ntoh64(n64_t x);

extern inline n80_t hton80(u80_t x);

extern inline u16_t ntoh16(n16_t x);

extern inline u32_t ntoh32(n32_t x);
