Asterisk - The Open Source Telephony Project
21.4.1
|
Network socket handling. More...
Go to the source code of this file.
Functions | |
struct ast_netsock * | ast_netsock_bind (struct ast_netsock_list *list, struct io_context *ioc, const char *bindinfo, int defaultport, int tos, int cos, ast_io_cb callback, void *data) |
struct ast_netsock * | ast_netsock_bindaddr (struct ast_netsock_list *list, struct io_context *ioc, struct ast_sockaddr *bindaddr, int tos, int cos, ast_io_cb callback, void *data) |
const struct ast_sockaddr * | ast_netsock_boundaddr (const struct ast_netsock *ns) |
void * | ast_netsock_data (const struct ast_netsock *ns) |
struct ast_netsock * | ast_netsock_find (struct ast_netsock_list *list, struct ast_sockaddr *addr) |
int | ast_netsock_init (struct ast_netsock_list *list) |
struct ast_netsock_list * | ast_netsock_list_alloc (void) |
int | ast_netsock_release (struct ast_netsock_list *list) |
int | ast_netsock_set_qos (int sockfd, int tos, int cos, const char *desc) |
int | ast_netsock_sockfd (const struct ast_netsock *ns) |
void | ast_netsock_unref (struct ast_netsock *ns) |
int ast_netsock_set_qos | ( | int | sockfd, |
int | tos, | ||
int | cos, | ||
const char * | desc | ||
) |
Definition at line 162 of file netsock.c.
References ast_set_qos().