Functions | Variables

siptrace.c File Reference

siptrace module - helper module to trace sip messages More...

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include "../../sr_module.h"
#include "../../dprint.h"
#include "../../ut.h"
#include "../../ip_addr.h"
#include "../../mem/mem.h"
#include "../../mem/shm_mem.h"
#include "../../lib/kmi/mi.h"
#include "../../lib/srdb1/db.h"
#include "../../parser/parse_content.h"
#include "../../parser/parse_from.h"
#include "../../parser/parse_cseq.h"
#include "../../pvar.h"
#include "../../modules/tm/tm_load.h"
#include "../../modules/sl/sl.h"
#include "../../str.h"
#include "../../onsend.h"
#include "../../modules/sipcapture/sipcapture.h"
Include dependency graph for siptrace.c:

Go to the source code of this file.

Functions

Variables


Detailed Description

Definition in file siptrace.c.


Function Documentation

static int pipport2su ( char *  pipport,
union sockaddr_union *  tmp_su,
unsigned int *  proto 
) [static]

[proto:]ip[:port]

Parameters:
pipport (udp:127.0.0.1:5060 or tcp:2001:0DB8:AC10:FE01:5060)
tmp_su target structure
proto uint protocol type
Returns:
success / unsuccess

Definition at line 1675 of file siptrace.c.

References _str::len, and _str::s.

static struct mi_root * sip_trace_mi ( struct mi_root *  cmd_tree,
void *  param 
) [static, read]

MI command format: name: sip_trace attribute: name=none, value=[on|off]

Definition at line 1407 of file siptrace.c.


Variable Documentation

struct tm_binds tmb

TM bind.

Copyright (C) 2011 Daniel-Constantin Mierla (asipto.com)

This file is part of Kamailio, a free SIP server.

This file is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version

This file is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

Copyright (C) 2011 Flowroute LLC (flowroute.com)

This file is part of Kamailio, a free SIP server.

This file is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version

This file is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

Definition at line 82 of file siptrace.c.