sip_msg Struct Reference

#include <msg_parser.h>

Collaboration diagram for sip_msg:

Collaboration graph
[legend]

Data Fields

struct hdr_fieldaccept
struct hdr_fieldaccept_disposition
struct hdr_fieldaccept_language
struct lumpadd_rm
int add_to_branch_len
char add_to_branch_s [MAX_BRANCH_PARAM_LEN]
struct hdr_fieldallow
struct hdr_fieldauthorization
struct lumpbody_lumps
int branch_index
char * buf
struct hdr_fieldcallid
struct hdr_fieldcontact
struct hdr_fieldcontent_disposition
struct hdr_fieldcontent_length
struct hdr_fieldcontent_type
struct hdr_fieldcseq
struct hdr_fielddiversion
str dst_uri
char * eoh
struct hdr_fieldevent
struct hdr_fieldexpires
struct msg_start first_line
flag_t flags
struct socket_infoforce_send_socket
struct hdr_fieldfrom
struct hdr_fieldh_via1
struct hdr_fieldh_via2
unsigned int hash_index
struct hdr_fieldheaders
unsigned int id
struct hdr_fieldlast_header
unsigned int len
struct hdr_fieldmaxforwards
struct hdr_fieldmin_se
unsigned int msg_flags
str new_uri
struct hdr_fieldorganization
struct hdr_fieldpai
hdr_flags_t parsed_flag
struct sip_uri parsed_orig_ruri
int parsed_orig_ruri_ok
struct sip_uri parsed_uri
int parsed_uri_ok
struct hdr_fieldpath
str path_vec
struct hdr_fieldppi
struct hdr_fieldpriority
struct hdr_fieldprivacy
struct hdr_fieldproxy_auth
struct hdr_fieldproxy_require
struct receive_info rcv
struct hdr_fieldrecord_route
struct hdr_fieldrefer_to
struct lump_rplreply_lump
struct hdr_fieldroute
struct hdr_fieldrpid
struct sdp_info * sdp
struct hdr_fieldsession_expires
str set_global_address
str set_global_port
struct hdr_fieldsubject
struct hdr_fieldsupported
struct hdr_fieldto
char * unparsed
struct hdr_fieldunsupported
struct hdr_fielduser_agent
struct via_bodyvia1
struct via_bodyvia2

Detailed Description

Definition at line 170 of file msg_parser.h.


Field Documentation

struct hdr_field* accept [read]

Definition at line 205 of file msg_parser.h.

Referenced by parse_accept_hdr(), and sip_msg_cloner().

struct hdr_field* accept_disposition [read]

Definition at line 212 of file msg_parser.h.

Referenced by sip_msg_cloner().

struct hdr_field* accept_language [read]

Definition at line 206 of file msg_parser.h.

Referenced by run_language_switch(), and sip_msg_cloner().

struct lump* add_rm [read]

char add_to_branch_s[MAX_BRANCH_PARAM_LEN]

whatever whoever want to append to branch comes here

Definition at line 254 of file msg_parser.h.

Referenced by build_req_buf_from_sip_req(), forward_request(), pre_print_uac_request(), and t_newtran().

struct hdr_field* allow [read]

Definition at line 203 of file msg_parser.h.

Referenced by parse_allow(), and sip_msg_cloner().

struct hdr_field* authorization [read]

struct lump* body_lumps [read]

Definition at line 260 of file msg_parser.h.

Referenced by reply_received(), and t_check_trans().

char* buf

scratch pad, holds a unmodified message, via, etc. point into it

Definition at line 229 of file msg_parser.h.

Referenced by __sl_reply_out(), ac_cancel(), add_diversion_helper(), add_hf_helper(), add_maxfwd_header(), add_rcv_param_f(), add_sock_hdr(), adjust_clen(), after_loose(), after_strict(), alter_mediaip(), alter_mediaport(), alter_rtcp(), anchor_lump(), append_header(), append_rpid_helper(), apply_urihdr_changes(), assemble_msg(), buffered_printer(), build_req_buf_from_sip_req(), build_res_buf_from_sip_res(), check_hdrs_changes(), clen_builder(), consume_credentials(), conv183(), decode_contact(), decode_msg(), del_lump(), do_action(), do_replace_body_f(), encode_header(), encode_msg(), exec_msg(), extract_parsed_hdrs(), faked_msg_init(), filter_body_f(), fix_nated_contact_f(), fix_nated_sdp_f(), FixContact(), force_rtp_proxy(), forward_sl_request(), free_sip_msg(), get_body(), get_fdisplay_anchor(), get_header(), get_sdp_message(), get_user_agent(), handle_sr(), insert_element(), insert_path_as_route(), mi_tm_uac_dlg(), mi_uac_dlg_hdl(), ospAppendHeader(), parse_ac_msg(), parse_headers(), parse_msg(), patch(), prepend_path(), process_lumps(), pv_t_copy_msg(), pv_t_update_req(), pv_t_update_rpl(), receive_msg(), record_route(), record_route_preset(), remove_element(), remove_header(), remove_hf_f(), remove_hf_re_f(), replace_all_f(), replace_body_f(), replace_element(), replace_f(), replace_from(), restore_from(), restore_from_reply(), restore_to_reply(), save_ruri(), search_append_body_f(), search_append_f(), search_body_f(), search_f(), send_reply(), set_body_f(), sip_msg_cloner(), sip_trace(), subst_body_f(), subst_f(), trace_onreply_in(), trace_onreply_out(), and utils_forward().

struct hdr_field* callid [read]

struct hdr_field* contact [read]

Definition at line 211 of file msg_parser.h.

Referenced by parse_content_disposition(), parse_headers(), and sip_msg_cloner().

struct hdr_field* content_length [read]

struct hdr_field* content_type [read]

struct hdr_field* cseq [read]

struct hdr_field* diversion [read]

char* eoh

pointer to the end of header (if found) or null

Definition at line 224 of file msg_parser.h.

Referenced by anchor_lump(), del_lump(), parse_headers(), and sip_msg_cloner().

struct hdr_field* event [read]

struct hdr_field* expires [read]

struct msg_start first_line [read]

Message first line

Definition at line 172 of file msg_parser.h.

Referenced by ac_cancel(), ac_reply(), ac_sl_msg(), ac_uac_req(), add_diversion(), add_pending_sdp_session(), add_uac(), append_branch(), append_fixed_vars(), assemble_msg(), authorize(), build_dlg_ack(), build_req_buf_from_sip_req(), build_res_buf_from_sip_res(), char_msg_val(), check_blacklist(), check_user_blacklist(), cmd_send_message(), conf_needs_forward(), conv183(), core2strar(), decode_contact(), decode_contact_header(), dlg_confirmed_resp_uac(), dlg_early_resp_uac(), dlg_new_dialog(), dlg_new_resp_uac(), dlg_onroute(), dlg_request_uas(), do_action(), do_uac_auth(), e2e_cancel_branch(), encode_msg(), env_set_code_status(), eval_elem(), find_qos_sdp(), find_queue(), force_rtp_proxy(), force_rtp_proxy2_f(), func_send_message(), get_dest_user(), get_header(), get_reply_status(), get_request_uri(), get_source_uri(), get_to_tag(), get_username(), imc_manager(), init_new_t(), is_method_f(), lookup(), m_store(), mi_publ_rpl_cback(), mi_uac_dlg_hdl(), parse_msg(), parse_sip_msg_uri(), perl_exec2(), push_on_network(), pv_authorize(), pv_get_tm_reply_code(), pv_t_update_req(), pv_t_update_rpl(), qos_dialog_created_CB(), qos_dialog_request_CB(), qos_dialog_response_CB(), receive_msg(), registered(), remove_sdp(), replace_build(), ring_filter(), rl_check(), rtpproxy_answer2_f(), rtpproxy_offer2_f(), rule_translate(), save_ruri(), sip_msg_cloner(), sip_trace(), Sipreply2Xmpp(), sl_filter_ACK(), sl_send_reply_helper(), sst_check_min(), sst_dialog_created_CB(), sst_dialog_request_within_CB(), sst_dialog_response_fwded_CB(), start_recording_f(), subst_uri_f(), t_cancel_branches(), t_check(), t_check_status(), t_check_trans(), t_unref(), trace_sl_onreply_out(), use_media_proxy(), w_exec_dset(), w_restore_from(), warning_builder(), and xjab_manage_sipmsg().

struct hdr_field* from [read]

struct hdr_field* h_via1 [read]

struct hdr_field* h_via2 [read]

Definition at line 185 of file msg_parser.h.

Referenced by parse_headers(), and sip_msg_cloner().

unsigned int hash_index

index to TM hash table; stored in core to avoid unnecessary calculations

Definition at line 259 of file msg_parser.h.

Referenced by matching_3261(), new_t(), t_check_trans(), t_lookup_request(), t_lookupOriginalT(), and t_newtran().

struct hdr_field* headers [read]

unsigned int id

struct hdr_field* last_header [read]

Pointer to the last parsed header

Definition at line 176 of file msg_parser.h.

Referenced by contact_iterator(), find_credentials(), find_next_route(), parse_headers(), shmcontact2dset(), and sip_msg_cloner().

unsigned int len

struct hdr_field* maxforwards [read]

Definition at line 191 of file msg_parser.h.

Referenced by is_maxfwd_present(), parse_headers(), and sip_msg_cloner().

struct hdr_field* min_se [read]

Definition at line 217 of file msg_parser.h.

Referenced by parse_headers(), parse_min_se(), and sip_msg_cloner().

unsigned int msg_flags

struct hdr_field* organization [read]

Definition at line 207 of file msg_parser.h.

Referenced by parse_headers(), run_string_switch(), and sip_msg_cloner().

struct hdr_field* pai [read]

Definition at line 219 of file msg_parser.h.

Referenced by parse_headers(), parse_pai_header(), and sip_msg_cloner().

Already parsed header field types

Definition at line 177 of file msg_parser.h.

Referenced by parse_headers(), t_newtran(), and warning_builder().

struct sip_uri parsed_orig_ruri [read]

Definition at line 247 of file msg_parser.h.

Referenced by parse_orig_ruri(), and sip_msg_cloner().

Definition at line 246 of file msg_parser.h.

Referenced by parse_orig_ruri(), and sip_msg_cloner().

struct sip_uri parsed_uri [read]

struct hdr_field* path [read]

Definition at line 194 of file msg_parser.h.

Referenced by build_path_vector(), and sip_msg_cloner().

struct hdr_field* ppi [read]

Definition at line 218 of file msg_parser.h.

Referenced by parse_headers(), parse_ppi_header(), parse_ppi_uri(), and sip_msg_cloner().

struct hdr_field* priority [read]

Definition at line 208 of file msg_parser.h.

Referenced by parse_headers(), run_priority_switch(), and sip_msg_cloner().

struct hdr_field* privacy [read]

Definition at line 220 of file msg_parser.h.

Referenced by parse_headers(), parse_privacy(), and sip_msg_cloner().

struct hdr_field* proxy_auth [read]

struct hdr_field* proxy_require [read]

Definition at line 201 of file msg_parser.h.

Referenced by sip_msg_cloner().

struct receive_info rcv [read]

struct hdr_field* record_route [read]

struct hdr_field* refer_to [read]

Definition at line 215 of file msg_parser.h.

Referenced by parse_headers(), parse_refer_to_header(), and sip_msg_cloner().

struct lump_rpl* reply_lump [read]

only for localy generated replies !!!

Definition at line 251 of file msg_parser.h.

Referenced by add_lump_rpl(), build_res_buf_from_sip_req(), free_faked_req(), free_sip_msg(), sip_msg_cloner(), and unlink_lump_rpl().

struct hdr_field* route [read]

struct hdr_field* rpid [read]

Definition at line 214 of file msg_parser.h.

Referenced by ospGetRpidUserpart(), parse_headers(), parse_rpid_header(), and sip_msg_cloner().

struct sdp_info* sdp [read]

Definition at line 222 of file msg_parser.h.

Referenced by add_sdp(), free_sip_msg(), and sip_msg_cloner().

struct hdr_field* session_expires [read]

Definition at line 216 of file msg_parser.h.

Referenced by parse_headers(), parse_session_expires(), and sip_msg_cloner().

struct hdr_field* subject [read]

Definition at line 209 of file msg_parser.h.

Referenced by parse_headers(), run_string_switch(), and sip_msg_cloner().

struct hdr_field* supported [read]

Definition at line 200 of file msg_parser.h.

Referenced by parse_msg_for_sst_info(), parse_supported(), and sip_msg_cloner().

struct hdr_field* to [read]

char* unparsed

struct hdr_field* unsupported [read]

Definition at line 202 of file msg_parser.h.

Referenced by sip_msg_cloner().

struct hdr_field* user_agent [read]

struct via_body* via1 [read]

struct via_body* via2 [read]


The documentation for this struct was generated from the following file:

Generated on Fri Feb 10 10:00:48 2012 for Kamailio - The Open Source SIP Server by  doxygen 1.5.6