#include "../../parser/msg_parser.h"


Go to the source code of this file.
Defines | |
| #define | SL_RPL_WAIT_TIME 2 |
| #define | SL_TOTAG_SEPARATOR '.' |
Functions | |
| int | sl_filter_ACK (struct sip_msg *msg, void *foo) |
| int | sl_get_reply_totag (struct sip_msg *msg, str *totag) |
| int | sl_reply_error (struct sip_msg *msg) |
| int | sl_send_reply (struct sip_msg *msg, int code, str *reason) |
| int | sl_send_reply_dlg (struct sip_msg *msg, int code, str *reason, str *tag) |
| int | sl_shutdown (void) |
| int | sl_startup (void) |
Definition in file sl_funcs.h.
| #define SL_RPL_WAIT_TIME 2 |
| #define SL_TOTAG_SEPARATOR '.' |
| int sl_filter_ACK | ( | struct sip_msg * | msg, | |
| void * | bar | |||
| ) |
Filter ACKs
Definition at line 277 of file sl_funcs.c.
References calc_crc_suffix(), sip_msg::first_line, get_ticks(), get_to, HDR_TO_F, if_update_stat, _str::len, LM_DBG, LM_ERR, METHOD_ACK, parse_headers(), rcv_acks, msg_start::request, run_sl_callbacks(), _str::s, sl_enable_stats, sl_timeout, SLCB_ACK_IN, tag_suffix, sip_msg::to, TOTAG_VALUE_LEN, and msg_start::u.
Referenced by mod_init().
Definition at line 143 of file sl_funcs.c.
References calc_crc_suffix(), NULL, and tag_suffix.
Referenced by get_reply_totag(), and load_sl().
| int sl_reply_error | ( | struct sip_msg * | msg | ) |
Reply an SIP error
Definition at line 247 of file sl_funcs.c.
References err2reason_phrase(), if_update_stat, _str::len, LM_DBG, LM_ERR, MAX_REASON_LEN, prev_ser_error, _str::s, sent_err_rpls, sl_enable_stats, and sl_send_reply_helper().
Referenced by w_sl_reply_error().
small wrapper around sl_send_reply_helper
Definition at line 233 of file sl_funcs.c.
References sl_send_reply_helper().
Referenced by load_sl(), send_reply(), and w_sl_send_reply().
small wrapper around sl_send_reply_helper
Definition at line 240 of file sl_funcs.c.
References sl_send_reply_helper().
Referenced by load_sl().
| int sl_shutdown | ( | void | ) |
SL shutdown helper
Definition at line 101 of file sl_funcs.c.
References shm_free, and sl_timeout.
Referenced by mod_destroy().
| int sl_startup | ( | void | ) |
SL startup helper
Definition at line 80 of file sl_funcs.c.
References get_ticks(), init_tags(), LM_ERR, _str::s, shm_malloc(), sl_timeout, SL_TOTAG_SEPARATOR, and tag_suffix.
Referenced by mod_init().
1.5.6