pfd_packet.h File Reference

Relating to processing packets in the fast path. More...

#include "pfd_nat.h"

Go to the source code of this file.

Data Structures

struct  thread_message_s

Defines

#define RI_PFD_FORWARDING   "pfd_forwarding"
#define MAX_CPUS   32
 The theoric maximum number of virtual CPUs/threads.

Typedefs

typedef thread_message_s thread_message_t

Functions

void init_packet_loops_config (void)
void destroy_packet_loops_config (void)
void init_packet_loops (void)
void stop_packet_loops (void)


Detailed Description

Relating to processing packets in the fast path.

These functions and types will manage the packet processing in the fast path

Definition in file pfd_packet.h.


Define Documentation

#define RI_PFD_FORWARDING   "pfd_forwarding"

The routing instance name where all traffic is pushed into the PFD

Definition at line 31 of file pfd_packet.h.

Referenced by init_packet_loops().


Typedef Documentation

typedef struct thread_message_s thread_message_t

Message for a thread set


Function Documentation

void destroy_packet_loops_config ( void   ) 

Destroy config for packet loop threads

Definition at line 379 of file pfd_packet.c.

References MAX_CPUS, next_id_lock, and update_messages.

Referenced by pfd_quit(), and pfd_shutdown().

void init_packet_loops ( void   ) 

Start packet loops

Definition at line 395 of file pfd_packet.c.

References do_shutdown, LOG, loops_running, pfd_process_packet(), pfd_shutdown(), RI_PFD_FORWARDING, vrf_default, vrf_pfd_forwarding, and VRFINDEX_ERROR.

Referenced by cpd_client_connection(), and ped_client_message().

void init_packet_loops_config ( void   ) 

Init config for packet loop threads

Definition at line 362 of file pfd_packet.c.

References MAX_CPUS, next_id, next_id_lock, and update_messages.

Referenced by pfd_init().

void stop_packet_loops ( void   ) 

Stop packet loops

Definition at line 455 of file pfd_packet.c.

References do_shutdown, and loops_running.

Referenced by pfd_quit(), and pfd_shutdown().


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