MCProxy

config_msg Struct Reference
[Communication]

Message used from module Proxy to set and delete interfaces of the proxy instances.

#include "message_format.hpp"

List of all members.

Public Types

enum  config_action { ADD_DOWNSTREAM, DEL_DOWNSTREAM, SET_UPSTREAM }

Public Member Functions

 config_msg (config_action type, int if_index, int vif)
 ~config_msg ()

Public Attributes

int if_index
config_action type
int vif

Member Enumeration Documentation

configure types for proxy instances

Enumerator:
ADD_DOWNSTREAM 

downstreams can be added to a proxy instance

DEL_DOWNSTREAM 

downstreams can be delete form a proxy instance

SET_UPSTREAM 

an upstream can be changed


Constructor & Destructor Documentation

config_msg::config_msg ( config_action  type,
int  if_index,
int  vif 
) [inline]

Create a config_msg.

Parameters:
type configuration type
if_index index of the to change interface
vif virtual index of the to change interface

References HC_LOG_TRACE.

config_msg::~config_msg (  )  [inline]

References HC_LOG_TRACE.


Member Data Documentation

Action on a specific interface index.

Action on a virtual interface index.