#include <stdio.h>#include <stdlib.h>#include <string.h>#include <sys/types.h>#include <sys/socket.h>#include <netinet/in.h>#include <netdb.h>#include "../../mem/mem.h"#include "../../mem/shm_mem.h"#include "../../dprint.h"#include "../../str.h"#include "../../ut.h"#include "../../parser/digest/digest.h"#include "../../parser/parse_uri.h"#include "../../parser/parse_from.h"#include "../../parser/parse_to.h"#include "diameter_msg.h"#include "auth_diameter.h"#include "defs.h"#include "tcp_comm.h"

Go to the source code of this file.
Functions | |
| int | diameter_is_user_in (struct sip_msg *_m, char *_hf, char *_group) |
| static int | get_from_uri (struct sip_msg *m, str *u) |
| static int | get_to_uri (struct sip_msg *m, str *u) |
| int diameter_is_user_in | ( | struct sip_msg * | _m, | |
| char * | _hf, | |||
| char * | _group | |||
| ) |
Definition at line 95 of file user_in.c.
References AA_REQUEST, AAA_APP_NASREQ, AAA_CONN_CLOSED, AAA_ERR_SUCCESS, AAA_NO_CONNECTION, AAA_USER_IN_GROUP, AAAAddAVPToMessage(), AAABuildMsgBuffer(), AAACreateAVP(), AAAFreeAVP(), AAAFreeMessage(), AAAInMessage(), AAAPrintMessage(), sip_msg::authorization, AVP_Destination_Realm, AVP_DUPLICATE_DATA, AVP_Service_Type, AVP_SIP_MSGID, AVP_User_Group, AVP_User_Name, diameter_client_host, diameter_client_port, domain, get_authorized_cred(), get_from_uri(), GET_RURI, get_to_uri(), sip_uri::host, sip_msg::id, init_mytcp(), _str::len, LM_DBG, LM_ERR, LM_NOTICE, NULL, parse_uri(), hdr_field::parsed, pkg_malloc, sip_msg::proxy_auth, rb, dig_cred::realm, _str::s, SERVICE_LEN, SIP_GROUP_CHECK, sockfd, tcp_send_recv(), to_body::uri, use_domain, username::user, sip_uri::user, user, and dig_cred::username.
Definition at line 80 of file user_in.c.
References sip_msg::from, _str::len, LM_ERR, parse_from_header(), hdr_field::parsed, and _str::s.
Referenced by diameter_is_user_in(), and use_media_proxy().
Definition at line 63 of file user_in.c.
References HDR_TO_F, _str::len, LM_ERR, parse_headers(), hdr_field::parsed, _str::s, and sip_msg::to.
Referenced by diameter_is_user_in(), and use_media_proxy().
1.5.6