sip_pinger.h File Reference

#include <stdlib.h>
#include <string.h>
#include "../../parser/parse_rr.h"
#include "../../str.h"
#include "../../ut.h"
#include "../../ip_addr.h"

Include dependency graph for sip_pinger.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define append_fix(_p, _s)
#define MAX_SIPPING_SIZE   65536
#define s_len(_s)   (sizeof(_s)-1)

Functions

static char * build_sipping (str *curi, struct socket_info *s, str *path, int *len_p)
static void init_sip_ping (void)
static int sipping_rpl_filter (struct sip_msg *rpl)

Variables

static str sipping_callid = {0,0}
static char sipping_callid_buf [8]
static int sipping_callid_cnt = 0
static str sipping_from = {0,0}
static int sipping_fromtag = 0
static str sipping_method = {"OPTIONS",7}


Define Documentation

#define append_fix ( _p,
_s   ) 

Value:

do {\
      memcpy(_p, _s, sizeof(_s)-1);\
      _p += sizeof(_s)-1;\
   }while(0)

Definition at line 42 of file sip_pinger.h.

Referenced by build_sipping().

#define MAX_SIPPING_SIZE   65536

Definition at line 39 of file sip_pinger.h.

Referenced by build_sipping().

#define s_len ( _s   )     (sizeof(_s)-1)

Referenced by build_sipping(), and format_converter().


Function Documentation

static char* build_sipping ( str curi,
struct socket_info s,
str path,
int *  len_p 
) [inline, static]

static void init_sip_ping ( void   )  [static]

Definition at line 58 of file sip_pinger.h.

References int2reverse_hex(), _str::len, len, _str::s, sipping_callid_buf, sipping_callid_cnt, and sipping_fromtag.

Referenced by mod_init().

static int sipping_rpl_filter ( struct sip_msg rpl  )  [static]


Variable Documentation

str sipping_callid = {0,0} [static]

Definition at line 52 of file sip_pinger.h.

char sipping_callid_buf[8] [static]

Definition at line 50 of file sip_pinger.h.

Referenced by init_sip_ping().

int sipping_callid_cnt = 0 [static]

Definition at line 51 of file sip_pinger.h.

Referenced by build_sipping(), and init_sip_ping().

str sipping_from = {0,0} [static]

Definition at line 53 of file sip_pinger.h.

Referenced by mod_init().

int sipping_fromtag = 0 [static]

Definition at line 49 of file sip_pinger.h.

Referenced by build_sipping(), and init_sip_ping().

str sipping_method = {"OPTIONS",7} [static]

Definition at line 54 of file sip_pinger.h.

Referenced by mod_init().


Generated on Thu May 24 12:00:42 2012 for Kamailio - The Open Source SIP Server by  doxygen 1.5.6