parse_fline.c File Reference

SIP first line parsing automaton. More...

#include "../dprint.h"
#include "msg_parser.h"
#include "parser_f.h"
#include "parse_methods.h"
#include "../mem/mem.h"
#include "../ut.h"

Include dependency graph for parse_fline.c:

Go to the source code of this file.

Enumerations

enum  {
  START, INVITE1, INVITE2, INVITE3,
  INVITE4, INVITE5, ACK1, ACK2,
  CANCEL1, CANCEL2, CANCEL3, CANCEL4,
  CANCEL5, BYE1, BYE2, SIP1,
  SIP2, SIP3, SIP4, SIP5,
  SIP6, FIN_INVITE = 100, FIN_ACK, FIN_CANCEL,
  FIN_BYE, FIN_SIP, P_METHOD = 200, L_URI,
  P_URI, L_VER, VER1, VER2,
  VER3, VER4, VER5, VER6,
  FIN_VER, L_STATUS, P_STATUS, L_REASON,
  P_REASON, L_LF, F_CR, F_LF
}

Functions

char * parse_first_line (char *buffer, unsigned int len, struct msg_start *fl)


Detailed Description

SIP first line parsing automaton.

Definition in file parse_fline.c.


Enumeration Type Documentation

anonymous enum

Enumerator:
START 
INVITE1 
INVITE2 
INVITE3 
INVITE4 
INVITE5 
ACK1 
ACK2 
CANCEL1 
CANCEL2 
CANCEL3 
CANCEL4 
CANCEL5 
BYE1 
BYE2 
SIP1 
SIP2 
SIP3 
SIP4 
SIP5 
SIP6 
FIN_INVITE 
FIN_ACK 
FIN_CANCEL 
FIN_BYE 
FIN_SIP 
P_METHOD 
L_URI 
P_URI 
L_VER 
VER1 
VER2 
VER3 
VER4 
VER5 
VER6 
FIN_VER 
L_STATUS 
P_STATUS 
L_REASON 
P_REASON 
L_LF 
F_CR 
F_LF 

Definition at line 44 of file parse_fline.c.


Function Documentation

char* parse_first_line ( char *  buffer,
unsigned int  len,
struct msg_start fl 
)


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