JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
SIPAPI Developer's Guide     Oracle Solaris 11.1 Information Library
search filter icon
search icon

Document Information

Preface

1.  SIP Overview

2.  Oracle Solaris SIP Internals

3.  Multithreading and URI Support

4.  SIP API Functions

Stack Initialization Function

Message Allocation Functions

SIP Header Addition Functions

SIP Request and Response Creation Functions

Header and Message Copying Functions

Header and Value Deleting Functions

Header Lookup Functions

Value Retrieval and Response Description Functions

SIP ID Generating Functions

VIA Functions

SIP Message Sending Function

Processing Inbound Messages

Transaction Layer Functions

Dialog Layer Functions

URI Functions

SIP Header Value Retrieval Functions

Connection Object Functions

Miscellaneous Functions

A.  Examples of Use

B.  Programming with the SIP API

C.  Transaction Timers

Index

Processing Inbound Messages

void sip_process_new_packet(sip_conn_object_t conn_object, void *msgstr, size_t msglen);

The sip_process_new_packet() function processes the incoming message string from the application using the message string's length and associated connection object. This function transforms the incoming message string into a SIP message. If the transport is byte-stream oriented, this function manages breaking the byte stream at the SIP message boundaries. The stack delivers the SIP message to the application after completing any other required stack processing.