Freeciv-3.3
|
#include "freeciv_config.h"
Go to the source code of this file.
Macros | |
#define | ANNOUNCE_DEFAULT ANNOUNCE_IPV4 |
Enumerations | |
enum | announce_type { ANNOUNCE_NONE , ANNOUNCE_IPV4 , ANNOUNCE_IPV6 } |
enum | fc_addr_family { FC_ADDR_IPV4 , FC_ADDR_IPV6 , FC_ADDR_ANY } |
Functions | |
void | fc_init_network (void) |
void | fc_shutdown_network (void) |
int | addr_family_for_announce_type (enum announce_type announce) |
#define ANNOUNCE_DEFAULT ANNOUNCE_IPV4 |
Definition at line 59 of file net_types.h.
Enumerator | |
---|---|
ANNOUNCE_NONE | |
ANNOUNCE_IPV4 | |
ANNOUNCE_IPV6 |
Definition at line 53 of file net_types.h.
Enumerator | |
---|---|
FC_ADDR_IPV4 | |
FC_ADDR_IPV6 | |
FC_ADDR_ANY |
Definition at line 61 of file net_types.h.
int addr_family_for_announce_type | ( | enum announce_type | announce | ) |
Return address family matching the announce type
Definition at line 685 of file netintf.c.
Referenced by send_lanserver_response().
Initialize network stuff.
Definition at line 198 of file netintf.c.
Referenced by client_main(), fcmp_init(), and srv_prepare().
Shutdown network stuff.
Definition at line 217 of file netintf.c.
Referenced by at_exit(), close_connections_and_socket(), and fcmp_deinit().