pfd_packet.h

Go to the documentation of this file.
00001 /*
00002  * $Id: pfd_packet.h 346460 2009-11-14 05:06:47Z ssiano $
00003  *
00004  * This code is provided as is by Juniper Networks SDK Developer Support.
00005  * It is provided with no warranties or guarantees, and Juniper Networks
00006  * will not provide support or maintenance of this code in any fashion.
00007  * The code is provided only to help a developer better understand how
00008  * the SDK can be used.
00009  *
00010  * Copyright (c) 2007-2008, Juniper Networks, Inc.
00011  * All rights reserved.
00012  */
00013 
00021 #ifndef __PFD_PACKET_H__
00022 #define __PFD_PACKET_H__
00023 
00024 #include "pfd_nat.h"
00025 
00026 /*** Constants ***/
00027 
00031 #define RI_PFD_FORWARDING "pfd_forwarding"
00032 
00033 #define MAX_CPUS  32 
00034 
00035 /*** Data structures ***/
00036 
00037 
00041 typedef struct thread_message_s {
00042     boolean update;             
00043     pthread_mutex_t lock;       
00044     address_bundle_t addresses; 
00045 } thread_message_t;
00046 
00047 
00048 /*** GLOBAL/EXTERNAL Functions ***/
00049 
00050 
00054 void init_packet_loops_config(void);
00055 
00056 
00060 void destroy_packet_loops_config(void);
00061 
00062 
00066 void init_packet_loops(void);
00067 
00068 
00072 void stop_packet_loops(void);
00073 
00074 #endif
00075 

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:07 2010 for SDK Your Net Corporation Policy Manager Example: Packet Filtering Daemon (pfd) 1.0 by Doxygen 1.5.1