154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
|
# define sipx_port sa_socket
#endif
#ifndef OF_HAVE_APPLETALK
struct sockaddr_at {
sa_family_t sat_family;
uint8_t sat_port;
struct at_addr {
uint16_t s_net;
uint8_t s_node;
} sat_addr;
};
#endif
#ifdef OF_WINDOWS
# define sat_port sat_socket
#else
# define sat_net sat_addr.s_net
# define sat_node sat_addr.s_node
#endif
/**
* @struct OFSocketAddress OFSocket.h ObjFW/OFSocket.h
*
* @brief A struct which represents a host / port pair for a socket.
*/
|
<
|
|
<
|
|
|
|
|
|
>
|
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
|
# define sipx_port sa_socket
#endif
#ifndef OF_HAVE_APPLETALK
struct sockaddr_at {
sa_family_t sat_family;
uint8_t sat_port;
uint16_t sat_net;
uint8_t sat_node;
};
#else
# ifdef OF_WINDOWS
# define sat_port sat_socket
# else
# define sat_net sat_addr.s_net
# define sat_node sat_addr.s_node
# endif
#endif
/**
* @struct OFSocketAddress OFSocket.h ObjFW/OFSocket.h
*
* @brief A struct which represents a host / port pair for a socket.
*/
|