rule_s Struct Reference

Data Fields

patnode node
 Tree node in rules.
 rule name
uint32_t rate
 monitoring rate
in_addr_t redirect
 mirror to address
patroot * addresses
 "from" dest addresses
list_t ssets
 list of service sets using this rule
msp_rwlock_t lock

Detailed Description

The structure we use to bundle the patricia-tree node with the data to store for each rule

Only redirect and rate could be used in the fast path. To change these or delete the rule one should have a write lock. The rest is only touched in the ctrl path (and from one thread). In ctrl side we don't always grab the lock when reading, b/c we don't care about reading while data side is reading. We just want to block ctrl side writing while data side is reading.

Definition at line 109 of file monitube2-data_config.c.

The documentation for this struct was generated from the following file:
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:09 2010 for SDK Your Net Corporation Monitube2 IPTV Monitoring Example: monitube2-plugin 1.0 by Doxygen 1.5.1