#include "../../str.h"


Go to the source code of this file.
Data Structures | |
| struct | rtpp_node |
| struct | rtpp_set |
| struct | rtpp_set_head |
Defines | |
| #define | STR2IOVEC(sx, ix) do {(ix).iov_base = (sx).s; (ix).iov_len = (sx).len;} while(0) |
| #define | SZ2IOVEC(sx, ix) do {(ix).iov_base = (sx); (ix).iov_len = strlen(sx);} while(0) |
Functions | |
| struct rtpp_node * | select_rtpp_node (str, int) |
| char * | send_rtpp_command (struct rtpp_node *, struct iovec *, int) |
Definition at line 33 of file nathelper.h.
Referenced by force_rtp_proxy(), rtpproxy_stop_stream(), rtpproxy_stream(), start_recording_f(), and unforce_rtp_proxy_f().
| #define SZ2IOVEC | ( | sx, | |||
| ix | ) | do {(ix).iov_base = (sx); (ix).iov_len = strlen(sx);} while(0) |
Definition at line 34 of file nathelper.h.
Definition at line 2209 of file nathelper.c.
References get_ticks(), _str::len, LM_ERR, NULL, rtpp_node::rn_disabled, rtpp_set::rn_first, rtpp_node::rn_next, rtpp_node::rn_recheck_ticks, rtpp_node::rn_weight, rtpp_set::rtpp_node_count, rtpp_test(), and _str::s.
Referenced by force_rtp_proxy(), rtpproxy_stop_stream(), rtpproxy_stream(), start_recording_f(), and unforce_rtp_proxy_f().
| char* send_rtpp_command | ( | struct rtpp_node * | , | |
| struct iovec * | , | |||
| int | ||||
| ) |
Definition at line 2075 of file nathelper.c.
References AF_LOCAL, buf, gencookie(), get_ticks(), rtpp_node::idx, len, LM_ERR, NULL, rtpp_node::rn_address, rtpp_node::rn_disabled, rtpp_node::rn_recheck_ticks, rtpp_node::rn_umode, rtpp_node::rn_url, rtpp_socks, rtpproxy_disable_tout, rtpproxy_retr, rtpproxy_tout, and _str::s.
Referenced by force_rtp_proxy(), rtpp_checkcap(), rtpp_test(), rtpproxy_stop_stream(), rtpproxy_stream(), start_recording_f(), and unforce_rtp_proxy_f().
1.5.6