| Asterisk - The Open Source Telephony Project GIT-master-27fb039
    | 
Wrapper for network related headers, masking differences between various operating systems. On passing, we also provide here trivial functions or other simple wrappers to network-related functions. More...

Go to the source code of this file.
| Macros | |
| #define | getprotobyname __getprotobyname_is_not_threadsafe__do_not_use__ | 
| #define | IFNAMSIZ 16 | 
| #define | inet_ntoa __dont__use__inet_ntoa__use__ast_inet_ntoa__instead__ | 
| #define | MAXHOSTNAMELEN 256 | 
| Functions | |
| const char * | ast_inet_ntoa (struct in_addr ia) | 
| thread-safe replacement for inet_ntoa(). | |
| static force_inline int | inaddrcmp (const struct sockaddr_in *sin1, const struct sockaddr_in *sin2) | 
| Compares the source address and port of two sockaddr_in. | |
| int | inet_aton (const char *cp, struct in_addr *pin) | 
Wrapper for network related headers, masking differences between various operating systems. On passing, we also provide here trivial functions or other simple wrappers to network-related functions.
Definition in file network.h.
| #define getprotobyname __getprotobyname_is_not_threadsafe__do_not_use__ | 
| #define inet_ntoa __dont__use__inet_ntoa__use__ast_inet_ntoa__instead__ | 
| const char * ast_inet_ntoa | ( | struct in_addr | ia | ) | 
thread-safe replacement for inet_ntoa().
thread-safe replacement for inet_ntoa().
Definition at line 964 of file utils.c.
References ast_threadstorage_get(), and buf.
Referenced by _stun_show_status(), ast_parse_arg(), create_client(), get_defaults(), get_to_address(), handle_cli_rtp_settings(), handle_error(), handle_stun_timeout(), iax_server(), parsing(), phoneprov_callback(), process_request(), reload_config(), rtp_reload(), score_address(), send_raw_client(), send_start_rtp(), send_trunk(), show_main_page(), start_rtp(), stun_monitor_request(), unistim_show_devices(), unistim_show_info(), and unistimsock_read().
| 
 | static | 
| int inet_aton | ( | const char * | cp, | 
| struct in_addr * | pin | ||
| ) | 
Referenced by set_if().