2N/A * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2N/A * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2N/A#include "sip_miscdefs.h"
2N/A#include "sip_xaction.h"
2N/A#include "sip_dialog.h"
2N/A * Needed for dialog/transaction logging.
2N/A#ifdef __solaris__
2N/A if (is_request) {
2N/A case SIP_TOTAL_BYTES_RCVD:
2N/A case SIP_TOTAL_BYTES_SENT:
2N/A case SIP_TOTAL_REQ_RCVD:
2N/A case SIP_TOTAL_REQ_SENT:
2N/A case SIP_TOTAL_RESP_RCVD:
2N/A case SIP_TOTAL_RESP_SENT:
2N/A case SIP_ACK_REQ_RCVD:
2N/A case SIP_ACK_REQ_SENT:
2N/A case SIP_BYE_REQ_RCVD:
2N/A case SIP_BYE_REQ_SENT:
2N/A case SIP_CANCEL_REQ_RCVD:
2N/A case SIP_CANCEL_REQ_SENT:
2N/A case SIP_INFO_REQ_RCVD:
2N/A case SIP_INFO_REQ_SENT:
2N/A case SIP_INVITE_REQ_RCVD:
2N/A case SIP_INVITE_REQ_SENT:
2N/A case SIP_NOTIFY_REQ_RCVD:
2N/A case SIP_NOTIFY_REQ_SENT:
2N/A case SIP_OPTIONS_REQ_RCVD:
2N/A case SIP_OPTIONS_REQ_SENT:
2N/A case SIP_PRACK_REQ_RCVD:
2N/A case SIP_PRACK_REQ_SENT:
2N/A case SIP_REFER_REQ_RCVD:
2N/A case SIP_REFER_REQ_SENT:
2N/A case SIP_REGISTER_REQ_RCVD:
2N/A case SIP_REGISTER_REQ_SENT:
2N/A case SIP_SUBSCRIBE_REQ_RCVD:
2N/A case SIP_SUBSCRIBE_REQ_SENT:
2N/A case SIP_UPDATE_REQ_RCVD:
2N/A case SIP_UPDATE_REQ_SENT:
2N/A case SIP_1XX_RESP_RCVD:
2N/A case SIP_1XX_RESP_SENT:
2N/A case SIP_2XX_RESP_RCVD:
2N/A case SIP_2XX_RESP_SENT:
2N/A case SIP_3XX_RESP_RCVD:
2N/A case SIP_3XX_RESP_SENT:
2N/A case SIP_4XX_RESP_RCVD:
2N/A case SIP_4XX_RESP_SENT:
2N/A case SIP_5XX_RESP_RCVD:
2N/A case SIP_5XX_RESP_SENT:
2N/A case SIP_6XX_RESP_RCVD:
2N/A case SIP_6xx_RESP_SENT:
2N/A case SIP_COUNTER_START_TIME:
2N/A case SIP_COUNTER_STOP_TIME:
2N/A * Enables the SIP performance/traffic counting. Also reset's the previous
2N/A sizeof (pthread_mutex_t));
2N/A * Disables the SIP performance/traffic counting. If already disabled it just