#include <stdio.h>#include <string.h>#include <stdlib.h>#include "../../sr_module.h"#include "../../dprint.h"#include "../../error.h"#include "../../ut.h"#include "../../mem/mem.h"#include "mf_funcs.h"

Go to the source code of this file.
Defines | |
| #define | MAXFWD_UPPER_LIMIT 256 |
Functions | |
| static int | fixup_maxfwd_header (void **param, int param_no) |
| static int | is_maxfwd_lt (struct sip_msg *msg, char *slimit, char *foo) |
| static int | mod_init (void) |
| static int | w_process_maxfwd_header (struct sip_msg *msg, char *str, char *str2) |
Variables | |
| static cmd_export_t | cmds [] |
| struct module_exports | exports |
| static int | max_limit = MAXFWD_UPPER_LIMIT |
| static param_export_t | params [] |
| #define MAXFWD_UPPER_LIMIT 256 |
| static int fixup_maxfwd_header | ( | void ** | param, | |
| int | param_no | |||
| ) | [static] |
| static int is_maxfwd_lt | ( | struct sip_msg * | msg, | |
| char * | slimit, | |||
| char * | foo | |||
| ) | [static] |
| static int mod_init | ( | void | ) | [static] |
| static int w_process_maxfwd_header | ( | struct sip_msg * | msg, | |
| char * | str, | |||
| char * | str2 | |||
| ) | [static] |
Definition at line 135 of file maxfwd.c.
References add_maxfwd_header(), decrement_maxfwd(), is_maxfwd_present(), LM_DBG, LM_ERR, and max_limit.
cmd_export_t cmds[] [static] |
| struct module_exports exports |
int max_limit = MAXFWD_UPPER_LIMIT [static] |
Definition at line 53 of file maxfwd.c.
Referenced by fixup_maxfwd_header(), mod_init(), and w_process_maxfwd_header().
param_export_t params[] [static] |
1.5.6