#include "../str.h"


Go to the source code of this file.
Data Structures | |
| struct | msg_start |
Defines | |
| #define | ACK "ACK" |
| #define | ACK_LEN 3 |
| #define | BYE "BYE" |
| #define | BYE_LEN 3 |
| #define | CANCEL "CANCEL" |
| #define | CANCEL_LEN 6 |
| #define | INFO "INFO" |
| #define | INFO_LEN 4 |
| #define | INVITE "INVITE" |
| #define | INVITE_LEN 6 |
| #define | SIP_INVALID 0 |
| #define | SIP_REPLY 2 |
| #define | SIP_REQUEST 1 |
| #define | SIP_VERSION "SIP/2.0" |
| #define | SIP_VERSION_LEN 7 |
Functions | |
| char * | parse_first_line (char *buffer, unsigned int len, struct msg_start *fl) |
| char * | parse_fline (char *buffer, char *end, struct msg_start *fl) |
Definition in file parse_fline.h.
| #define ACK "ACK" |
Definition at line 48 of file parse_fline.h.
Referenced by build_dlg_ack(), parse_first_line(), and send_ack().
| #define ACK_LEN 3 |
Definition at line 54 of file parse_fline.h.
Referenced by build_dlg_ack(), build_local(), and send_ack().
| #define BYE "BYE" |
| #define BYE_LEN 3 |
Definition at line 55 of file parse_fline.h.
| #define CANCEL "CANCEL" |
Definition at line 47 of file parse_fline.h.
Referenced by build_cancel(), build_uac_cancel(), and parse_first_line().
| #define CANCEL_LEN 6 |
| #define INFO "INFO" |
| #define INFO_LEN 4 |
Definition at line 56 of file parse_fline.h.
| #define INVITE "INVITE" |
Definition at line 46 of file parse_fline.h.
Referenced by parse_first_line(), t_lookup_callid(), and t_uac().
| #define INVITE_LEN 6 |
| #define SIP_INVALID 0 |
Invalid message
Definition at line 41 of file parse_fline.h.
Referenced by parse_first_line(), and parse_msg().
| #define SIP_REPLY 2 |
Message is reply
Definition at line 38 of file parse_fline.h.
Referenced by ac_cancel(), ac_uac_req(), conf_needs_forward(), encode_msg(), find_qos_sdp(), force_rtp_proxy(), force_rtp_proxy2_f(), get_to_tag(), parse_first_line(), parse_msg(), perl_exec2(), pv_t_update_req(), qos_dialog_response_CB(), receive_msg(), remove_sdp(), ring_filter(), sip_msg_cloner(), sip_trace(), sst_dialog_request_within_CB(), sst_dialog_response_fwded_CB(), start_recording_f(), t_check_trans(), and use_media_proxy().
| #define SIP_REQUEST 1 |
Message is request
Definition at line 35 of file parse_fline.h.
Referenced by ac_sl_msg(), add_pending_sdp_session(), assemble_msg(), check_blacklist(), check_user_blacklist(), conf_needs_forward(), encode_msg(), find_qos_sdp(), force_rtp_proxy2_f(), is_method_f(), parse_first_line(), parse_msg(), perl_exec2(), pv_t_update_rpl(), qos_dialog_created_CB(), qos_dialog_request_CB(), receive_msg(), replace_build(), rtpproxy_answer2_f(), rtpproxy_offer2_f(), rule_translate(), sip_msg_cloner(), sip_trace(), sst_check_min(), sst_dialog_created_CB(), sst_dialog_request_within_CB(), t_check(), t_unref(), use_media_proxy(), and w_restore_from().
| #define SIP_VERSION "SIP/2.0" |
Definition at line 43 of file parse_fline.h.
Referenced by build_dlg_ack(), build_local(), build_res_buf_from_sip_req(), build_uac_cancel(), parse_first_line(), and print_request_uri().
| #define SIP_VERSION_LEN 7 |
Definition at line 44 of file parse_fline.h.
Referenced by build_dlg_ack(), build_local(), build_res_buf_from_sip_req(), build_uac_cancel(), build_uac_req(), parse_first_line(), and print_request_uri().
| char* parse_first_line | ( | char * | buffer, | |
| unsigned int | len, | |||
| struct msg_start * | fl | |||
| ) |
Definition at line 59 of file parse_fline.c.
References ACK, BYE, CANCEL, eat_line(), eat_space_end(), eat_token2_end(), eat_token_end(), IFISMETHOD, INFO, INVITE, is_empty_end(), msg_start::len, LM_ERR, LM_INFO, parse_method(), pkg_free, pkg_malloc, msg_start::reply, msg_start::request, second, SIP_INVALID, SIP_REPLY, SIP_REQUEST, SIP_VERSION, SIP_VERSION_LEN, msg_start::type, msg_start::u, and ZSW.
Referenced by parse_msg().
| char* parse_fline | ( | char * | buffer, | |
| char * | end, | |||
| struct msg_start * | fl | |||
| ) |
1.5.6