summaryrefslogtreecommitdiff
path: root/include/asterisk
diff options
context:
space:
mode:
Diffstat (limited to 'include/asterisk')
-rw-r--r--include/asterisk/netsock.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asterisk/netsock.h b/include/asterisk/netsock.h
index 494efcf39..efb1955f8 100644
--- a/include/asterisk/netsock.h
+++ b/include/asterisk/netsock.h
@@ -50,6 +50,10 @@ int ast_netsock_release(struct ast_netsock_list *list);
struct ast_netsock *ast_netsock_find(struct ast_netsock_list *list,
struct sockaddr_in *sa);
+/*!
+ * \deprecated Use ast_seq_qos in netsock2.h which propertly handles IPv4 and IPv6
+ * sockets, instead.
+ */
int ast_netsock_set_qos(int netsocket, int tos, int cos, const char *desc);
int ast_netsock_sockfd(const struct ast_netsock *ns);