mirror of
https://frontier.innolan.net/rainlance/amiga-ntimed.git
synced 2026-01-13 05:27:39 +00:00
IPv6 comments
This commit is contained in:
@ -28,7 +28,7 @@
|
|||||||
#define NTIMED_COMPILER_H
|
#define NTIMED_COMPILER_H
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* See alse:
|
* See also:
|
||||||
* http://codewiz.org/projects/amiga/Headers/CompilerSpecific.h
|
* http://codewiz.org/projects/amiga/Headers/CompilerSpecific.h
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
@ -84,13 +84,15 @@ typedef unsigned int socklen_t;
|
|||||||
typedef uint16_t in_port_t;
|
typedef uint16_t in_port_t;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// Is this needed since we dont use IPv6 ?
|
||||||
|
|
||||||
// General socket address holding structure, big enough to hold either
|
// General socket address holding structure, big enough to hold either
|
||||||
// struct sockaddr_in or struct sockaddr_in6 data:
|
// struct sockaddr_in or struct sockaddr_in6 data:
|
||||||
struct sockaddr_storage {
|
struct sockaddr_storage {
|
||||||
sa_family_t ss_family; // address family
|
sa_family_t ss_family; // address family
|
||||||
|
|
||||||
// all this is padding, implementation specific, ignore it:
|
// all this is padding, implementation specific, ignore it:
|
||||||
char __ss_pad1[128 - sizeof(sa_family_t)];
|
char __ss_pad1[128 - sizeof(sa_family_t)];
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user