aboutsummaryrefslogtreecommitdiff
path: root/libstb/tss2/netinet/in.h
blob: d8f5c5cc4eb934e67e04c6b7e805996b9ce777f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later 
/* Copyright 2020 IBM Corp. */

#ifndef _NETINIT_IN_H
#define _NETINIT_IN_H

//#pragma message "Implment in.h functions \n"

#include <include/types.h>

#define htonl(x) cpu_to_be32(x)
#define ntohl(x) be32_to_cpu(x)
#define htons(x) cpu_to_be16(x)
#define ntohs(x) be16_to_cpu(x)

#endif /* _NETINIT_IN_H */