monitube-data_rtp.c File Reference

Related to RTP. More...

#include "monitube-data_main.h"
#include "monitube-data_rtp.h"

Go to the source code of this file.

Functions

static void init_seq (source_t *s, uint16_t seq)
int update_seq (source_t *s, uint16_t seq)


Detailed Description

Related to RTP.

Related to the Real-time Transport Protocol (RTP) and maintaining RTP state and statistics

Definition in file monitube-data_rtp.c.


Function Documentation

static void init_seq ( source_t s,
uint16_t  seq 
) [static]

Init state for RTP statistics

Parameters:
[in] s Source state
[in] seq Current sequence number

Definition at line 44 of file monitube-data_rtp.c.

References source_s::bad_seq, source_s::base_seq, source_s::cycles, source_s::expected_prior, source_s::max_seq, source_s::received, source_s::received_prior, and RTP_SEQ_MOD.

Referenced by update_seq().

int update_seq ( source_t s,
uint16_t  seq 
)

Init state for RTP statistics

Parameters:
[in] s Source state
[in] seq Current sequence number
Returns:
1 upon finding a valid packet part of a new state; 0 otherwise

Definition at line 70 of file monitube-data_rtp.c.

References source_s::bad_seq, source_s::cycles, init_seq(), source_s::max_seq, MIN_SEQUENTIAL, source_s::probation, source_s::received, and RTP_SEQ_MOD.

Referenced by update_stats_for_flow().


2007-2009 Juniper Networks, Inc. All rights reserved. The information contained herein is confidential information of Juniper Networks, Inc., and may not be used, disclosed, distributed, modified, or copied without the prior written consent of Juniper Networks, Inc. in an express license. This information is subject to change by Juniper Networks, Inc. Juniper Networks, the Juniper Networks logo, and JUNOS are registered trademarks of Juniper Networks, Inc. in the United States and other countries. All other trademarks, service marks, registered trademarks, or registered service marks are the property of their respective owners.
Generated on Sun May 30 20:27:02 2010 for SDK Your Net Corporation Monitube IPTV Monitoring Example: monitube-data 1.0 by Doxygen 1.5.1