#include "../../parser/msg_parser.h"#include "../../dprint.h"#include "../../config.h"#include "../../str.h"


Go to the source code of this file.
Functions | |
| int | add_maxfwd_header (struct sip_msg *msg, unsigned int val) |
| int | decrement_maxfwd (struct sip_msg *msg, int nr_val, str *str_val) |
| int | is_maxfwd_present (struct sip_msg *msg, str *mf_value) |
| int add_maxfwd_header | ( | struct sip_msg * | msg, | |
| unsigned int | val | |||
| ) |
Definition at line 128 of file mf_funcs.c.
References anchor_lump(), btostr(), sip_msg::buf, buf, CRLF, CRLF_LEN, sip_msg::headers, insert_new_lump_before(), len, LM_ERR, MF_HDR, MF_HDR_LEN, hdr_field::name, pkg_free, pkg_malloc, and _str::s.
Referenced by w_process_maxfwd_header().
Definition at line 91 of file mf_funcs.c.
References _str::len, _str::s, and STORE_MAXWD_VAL.
Referenced by w_process_maxfwd_header().
Definition at line 55 of file mf_funcs.c.
References hdr_field::body, FETCH_MAXWD_VAL, HDR_MAXFORWARDS_F, IS_MAXWD_STORED, _str::len, LM_DBG, LM_ERR, sip_msg::maxforwards, parse_headers(), _str::s, STORE_MAXWD_VAL, str2s(), and trim_len.
Referenced by is_maxfwd_lt(), and w_process_maxfwd_header().
1.5.6