-
- Downloads
sys/socket.h: reconcile bsd and osv variants
Some structures are duplicated; deduplicate them. A few are source-compatible but not binary-compatible; use the ones from <bits/socket.h>. Others are both source- and binary- compatible; put them in a new header <sys/__socket.h> which is included from both. Work around a problem with the byteorder functions/macros. Signed-off-by:Avi Kivity <avi@cloudius-systems.com> Tested-By:
Benoit Canet <benoit@irqsave.net>
Showing
- bsd/sys/sys/socket.h 1 addition, 30 deletionsbsd/sys/sys/socket.h
- include/api/netinet/in.h 2 additions, 0 deletionsinclude/api/netinet/in.h
- include/api/sys/__socket.h 19 additions, 0 deletionsinclude/api/sys/__socket.h
- include/api/sys/socket.h 1 addition, 7 deletionsinclude/api/sys/socket.h
- include/api/x86_64/bits/socket.h 4 additions, 0 deletionsinclude/api/x86_64/bits/socket.h
Loading
Please register or sign in to comment