#include "config.h"#include "proxy.h"#include "error.h"#include "dprint.h"#include "mem/mem.h"#include <string.h>#include <stdlib.h>#include <sys/socket.h>#include "resolve.h"#include "ip_addr.h"#include "globals.h"Go to the source code of this file.
Functions | |
| proxy_l * | find_proxy (str *name, unsigned short port, int proto) |
| int | hostent_cpy (struct hostent *dst, struct hostent *src) |
| void | free_hostent (struct hostent *dst) |
| proxy_l * | add_proxy (str *name, unsigned short port, int proto) |
| proxy_l * | mk_proxy (str *name, unsigned short port, int protocol) |
| proxy_l * | mk_proxy_from_ip (struct ip_addr *ip, unsigned short port, int proto) |
| void | free_proxy (struct proxy_l *p) |
Variables | |
| proxy_l * | proxies = 0 |
|
||||||||||||||||
|
Definition at line 182 of file proxy.c. References find_proxy(), mk_proxy(), proxy_l::next, proxies, and str. Referenced by fix_actions(). |
|
||||||||||||||||
|
Definition at line 65 of file proxy.c. References _str::len, proxy_l::name, proxy_l::next, proxy_l::port, proxy_l::proto, _str::s, and str. Referenced by add_proxy(). |
|
|
Definition at line 161 of file proxy.c. References pkg_free. Referenced by free_proxy(). |
|
|
Definition at line 280 of file proxy.c. References free_hostent(), and proxy_l::host. Referenced by w_t_forward_nonack_to(), w_t_relay_to_avp(), and w_t_replicate_to(). |
|
||||||||||||
|
Definition at line 80 of file proxy.c. References L_CRIT, len, LOG, pkg_free, pkg_malloc, and ser_error. Referenced by mk_proxy(). |
|
||||||||||||||||
|
Definition at line 203 of file proxy.c. References DBG, proxy_l::host, hostent_cpy(), L_CRIT, _str::len, LOG, proxy_l::name, proxy_l::ok, pkg_free, pkg_malloc, proxy_l::port, proxy_l::proto, _str::s, ser_error, sip_resolvehost, and str. Referenced by add_proxy(), fixup_hostport2proxy(), t_protoaddr2proxy(), and uri2proxy(). |
|
||||||||||||||||
|
Definition at line 243 of file proxy.c. References ip_addr::addr, ip_addr::af, proxy_l::host, L_CRIT, ip_addr::len, LOG, pkg_free, pkg_malloc, proxy_l::port, proxy_l::proto, and ip_addr::u. |
|
|
Definition at line 58 of file proxy.c. Referenced by add_proxy(). |
1.3.9.1