SDK Your Net Corporation Simple Packet Processing Example Documentation

1.0

Introduction

This is an MP-SDK data application running on the MultiServices PIC as a daemon. It creates an idle timer event needed by the event loop (which cannot be empty). It uses one of three different ways of creating a data loop on the data CPU. These options are as follows:

Option 1: Create data loops with the function msp_data_create_loops, which is a single function call to create data loops on all data CPUs. It returns an error if any data CPU is unavailable.

Option 2: Create a data loop with the function msp_data_create_loop_on_cpu, which creates a data loop on the specified single data CPU.

Option 3: Create a data loop as a thread and allocate a FIFO directly with pthread library functions and FIFO functions.


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:04 2010 for SDK Your Net Corporation Simple Packet Processing Example 1.0 by Doxygen 1.5.1