elks-enhanced
public
Read
Owner: themaster
Branch: master
Commits: 6893
Updated: 2026-04-19 00:15
Git CLI clone URL
git clone https://www.xt-emporium.com/git/elks-enhanced.git
Fullscreen desktop URL
Code
Commits
History
Branches
Bug Reports
Discussions
Compare
Settings
elks-enhanced
/
libc
/
include
/
netinet
/
in.h
File editor
#ifndef _ARPA_INET_H_ #define _ARPA_INET_H_ #include <features.h> #include <sys/types.h> #include __SYSINC__(in.h) #include __SYSINC__(un.h) typedef __u32 ipaddr_t; /* ip address in network byte order*/ #ifdef __GNUC__ #define ntohs(x) __builtin_bswap16(x) #define ntohl(x) __builtin_bswap32(x) #else #define ntohs(x) ( (((x) >> 8) & 0xff) | ((unsigned char)(x) << 8) ) #define ntohl(x) ( ((((unsigned long)x) >> 24) & 0xff) | \ ((((unsigned long)x) >> 8 ) & 0xff00) | \ ((((unsigned long)x) & 0xff00) << 8) | \ ((((unsigned long)x) & 0xff) << 24) ) #endif #define htons(x) ntohs(x) #define htonl(x) ntohl(x) #endif /* _ARPA_INET_H_ */
Commit message
This repository is read-only for this account.
Repository snapshot
Current branch
master
Visibility
public
Your access
Read
Remote
Configured
File activity
View file history