dpm-ctrl_logging.h File Reference

Relating to logging. More...

#include <jnx/logging.h>

Go to the source code of this file.

Defines

#define LOG(_level, _fmt...)   logging((_level), "DPM-CTRL: " _fmt)
#define INSIST_ERR(c)


Detailed Description

Relating to logging.

These functions / macros are for logging in this component

Definition in file dpm-ctrl_logging.h.


Define Documentation

#define INSIST_ERR (  ) 

Value:

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

Definition at line 37 of file dpm-ctrl_logging.h.

Referenced by apply_policy(), close_connections(), configure_managed_interface(), configure_policer(), configure_subscriber(), init_dfw(), mgmt_client_connection(), mgmt_client_message(), notify_status_update(), run_http_server(), session_connect(), session_state_changed(), TAILQ_HEAD(), transaction_accepted(), and transaction_rejected().

#define LOG ( _level,
_fmt...   )     logging((_level), "DPM-CTRL: " _fmt)

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

Definition at line 31 of file dpm-ctrl_logging.h.

Referenced by apply_default_int_policy(), apply_policy(), apply_subscriber_policer(), check_access(), clear_configuration(), configure_managed_interface(), configure_policer(), configure_subscriber(), connect_mgmt(), create_policer(), dpm_init(), dpm_quit(), heartbeat_setup_status(), hm_connection_status(), init_configuration(), init_connections(), init_dfw(), init_http_server(), login(), logout(), mgmt_client_connection(), mgmt_client_message(), process_notifications(), remove_policy(), reset_all_filters(), resume_http_server(), retry_attach_fdb(), revoke_subscriber_policer(), run_http_server(), session_connect(), session_state_changed(), shutdown_http_server(), suspend_http_server(), TAILQ_HEAD(), transaction_accepted(), transaction_rejected(), and wait_for_dfw().


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:26:54 2010 for SDK Your Net Corporation Dynamic Policy Manager Example: dpm-ctrl 1.0 by Doxygen 1.5.1