pfd_logging.h File Reference

Relating to logging. More...

#include <jnx/logging.h>

Go to the source code of this file.


#define LOG(_level, _fmt...)   logging((_level), "PFD: " _fmt)
#define INSIST_ERR(c)

Detailed Description

Relating to logging.

These functions / macros are for logging in this component

Definition in file pfd_logging.h.

Define Documentation

#define INSIST_ERR (  ) 


if (!(c)) \
    logging(LOG_EMERG, "PFD: %s:%d: insist '%s' failed!", \
        __FILE__, __LINE__, #c); else (void)NULL
Define an INSIST/assert with logging

Definition at line 37 of file pfd_logging.h.

Referenced by cpd_client_connection(), cpd_client_message(), init_nat(), nat_packet(), ped_client_connection(), and ped_client_message().

#define LOG ( _level,
_fmt...   )     logging((_level), "PFD: " _fmt)

Define a logging macro which prefixes a log tag like on the RE

Definition at line 31 of file pfd_logging.h.

Referenced by add_auth_user_addr(), clear_config(), connect_cpd(), connect_ped(), cpd_client_connection(), cpd_client_message(), delete_auth_user_addr(), init_config(), init_connections(), init_packet_loops(), nat_packet(), ped_client_connection(), ped_client_message(), pfd_init(), pfd_kcom_init(), pfd_process_packet(), 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