# This file was created automatically by SWIG 1.3.29.
# Don't modify this file, modify the SWIG interface instead.
# This file is compatible with both classic and new-style classes.

import _py_dag_api
import new
new_instancemethod = new.instancemethod
def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
    if (name == "thisown"): return self.this.own(value)
    if (name == "this"):
        if type(value).__name__ == 'PySwigObject':
            self.__dict__[name] = value
            return
    method = class_type.__swig_setmethods__.get(name,None)
    if method: return method(self,value)
    if (not static) or hasattr(self,name):
        self.__dict__[name] = value
    else:
        raise AttributeError("You cannot add attributes to %s" % self)

def _swig_setattr(self,class_type,name,value):
    return _swig_setattr_nondynamic(self,class_type,name,value,0)

def _swig_getattr(self,class_type,name):
    if (name == "thisown"): return self.this.own()
    method = class_type.__swig_getmethods__.get(name,None)
    if method: return method(self)
    raise AttributeError,name

def _swig_repr(self):
    try: strthis = "proxy of " + self.this.__repr__()
    except: strthis = ""
    return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)

import types
try:
    _object = types.ObjectType
    _newclass = 1
except AttributeError:
    class _object : pass
    _newclass = 0
del types


ERF_TYPE_LEGACY = _py_dag_api.ERF_TYPE_LEGACY
ERF_TYPE_HDLC_POS = _py_dag_api.ERF_TYPE_HDLC_POS
ERF_TYPE_ETH = _py_dag_api.ERF_TYPE_ETH
ERF_TYPE_ATM = _py_dag_api.ERF_TYPE_ATM
ERF_TYPE_AAL5 = _py_dag_api.ERF_TYPE_AAL5
ERF_TYPE_MC_HDLC = _py_dag_api.ERF_TYPE_MC_HDLC
ERF_TYPE_MC_RAW = _py_dag_api.ERF_TYPE_MC_RAW
ERF_TYPE_MC_ATM = _py_dag_api.ERF_TYPE_MC_ATM
ERF_TYPE_MC_RAW_CHANNEL = _py_dag_api.ERF_TYPE_MC_RAW_CHANNEL
ERF_TYPE_MC_AAL5 = _py_dag_api.ERF_TYPE_MC_AAL5
ERF_TYPE_COLOR_HDLC_POS = _py_dag_api.ERF_TYPE_COLOR_HDLC_POS
ERF_TYPE_COLOR_ETH = _py_dag_api.ERF_TYPE_COLOR_ETH
ERF_TYPE_MC_AAL2 = _py_dag_api.ERF_TYPE_MC_AAL2
ERF_TYPE_IP_COUNTER = _py_dag_api.ERF_TYPE_IP_COUNTER
ERF_TYPE_TCP_FLOW_COUNTER = _py_dag_api.ERF_TYPE_TCP_FLOW_COUNTER
ERF_TYPE_DSM_COLOR_HDLC_POS = _py_dag_api.ERF_TYPE_DSM_COLOR_HDLC_POS
ERF_TYPE_DSM_COLOR_ETH = _py_dag_api.ERF_TYPE_DSM_COLOR_ETH
ERF_TYPE_COLOR_MC_HDLC_POS = _py_dag_api.ERF_TYPE_COLOR_MC_HDLC_POS
ERF_TYPE_AAL2 = _py_dag_api.ERF_TYPE_AAL2
ERF_TYPE_COLOR_HASH_POS = _py_dag_api.ERF_TYPE_COLOR_HASH_POS
ERF_TYPE_COLOR_HASH_ETH = _py_dag_api.ERF_TYPE_COLOR_HASH_ETH
ERF_TYPE_INFINIBAND = _py_dag_api.ERF_TYPE_INFINIBAND
ERF_TYPE_IPV4 = _py_dag_api.ERF_TYPE_IPV4
ERF_TYPE_IPV6 = _py_dag_api.ERF_TYPE_IPV6
ERF_TYPE_RAW_LINK = _py_dag_api.ERF_TYPE_RAW_LINK
ERF_TYPE_INFINIBAND_LINK = _py_dag_api.ERF_TYPE_INFINIBAND_LINK
ERF_TYPE_TRANSPORT_LATENCY_MONITOR = _py_dag_api.ERF_TYPE_TRANSPORT_LATENCY_MONITOR
TYPE_LAST_DEFINED_ERF_TYPE = _py_dag_api.TYPE_LAST_DEFINED_ERF_TYPE
TYPE_ERF_INTERNAL0 = _py_dag_api.TYPE_ERF_INTERNAL0
TYPE_ERF_INTERNAL1 = _py_dag_api.TYPE_ERF_INTERNAL1
TYPE_ERF_INTERNAL2 = _py_dag_api.TYPE_ERF_INTERNAL2
TYPE_ERF_INTERNAL3 = _py_dag_api.TYPE_ERF_INTERNAL3
TYPE_ERF_INTERNAL4 = _py_dag_api.TYPE_ERF_INTERNAL4
TYPE_ERF_INTERNAL5 = _py_dag_api.TYPE_ERF_INTERNAL5
TYPE_ERF_INTERNAL6 = _py_dag_api.TYPE_ERF_INTERNAL6
TYPE_ERF_INTERNAL7 = _py_dag_api.TYPE_ERF_INTERNAL7
TYPE_ERF_INTERNAL8 = _py_dag_api.TYPE_ERF_INTERNAL8
TYPE_ERF_INTERNAL9 = _py_dag_api.TYPE_ERF_INTERNAL9
TYPE_ERF_INTERNAL10 = _py_dag_api.TYPE_ERF_INTERNAL10
TYPE_ERF_INTERNAL11 = _py_dag_api.TYPE_ERF_INTERNAL11
TYPE_ERF_INTERNAL12 = _py_dag_api.TYPE_ERF_INTERNAL12
TYPE_ERF_INTERNAL13 = _py_dag_api.TYPE_ERF_INTERNAL13
TYPE_ERF_INTERNAL14 = _py_dag_api.TYPE_ERF_INTERNAL14
TYPE_ERF_INTERNAL15 = _py_dag_api.TYPE_ERF_INTERNAL15
TYPE_PAD = _py_dag_api.TYPE_PAD
TYPE_MIN = _py_dag_api.TYPE_MIN
TYPE_MAX = _py_dag_api.TYPE_MAX
EXT_HDR_TYPE_NP40G1 = _py_dag_api.EXT_HDR_TYPE_NP40G1
EXT_HDR_TYPE_CLASSIFICATION = _py_dag_api.EXT_HDR_TYPE_CLASSIFICATION
EXT_HDR_TYPE_RAW_LINK = _py_dag_api.EXT_HDR_TYPE_RAW_LINK
EXT_HDR_TYPE_BFS = _py_dag_api.EXT_HDR_TYPE_BFS
EXT_HDR_TYPE_SDH_FRAME_INFO = _py_dag_api.EXT_HDR_TYPE_SDH_FRAME_INFO
EXT_HDR_TYPE_SPE_FRAME_INFO = _py_dag_api.EXT_HDR_TYPE_SPE_FRAME_INFO
EXT_HDR_TYPE_DS3_RAW_LINK = _py_dag_api.EXT_HDR_TYPE_DS3_RAW_LINK
EXT_HDR_TYPE_DS3_OVERHEAD = _py_dag_api.EXT_HDR_TYPE_DS3_OVERHEAD
EXT_HDR_TYPE_DS3_CALCULATED_BIP64 = _py_dag_api.EXT_HDR_TYPE_DS3_CALCULATED_BIP64
dag_record_size = _py_dag_api.dag_record_size
DAGF_NONBLOCK = _py_dag_api.DAGF_NONBLOCK
MAX_INTERFACES = _py_dag_api.MAX_INTERFACES
PBM_TX_DEFAULT_SIZE = _py_dag_api.PBM_TX_DEFAULT_SIZE
class pos_rec_t(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, pos_rec_t, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, pos_rec_t, name)
    __repr__ = _swig_repr
    __swig_setmethods__["hdlc"] = _py_dag_api.pos_rec_t_hdlc_set
    __swig_getmethods__["hdlc"] = _py_dag_api.pos_rec_t_hdlc_get
    if _newclass:hdlc = property(_py_dag_api.pos_rec_t_hdlc_get, _py_dag_api.pos_rec_t_hdlc_set)
    __swig_setmethods__["pload"] = _py_dag_api.pos_rec_t_pload_set
    __swig_getmethods__["pload"] = _py_dag_api.pos_rec_t_pload_get
    if _newclass:pload = property(_py_dag_api.pos_rec_t_pload_get, _py_dag_api.pos_rec_t_pload_set)
    def __init__(self, *args): 
        this = _py_dag_api.new_pos_rec_t(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _py_dag_api.delete_pos_rec_t
    __del__ = lambda self : None;
pos_rec_t_swigregister = _py_dag_api.pos_rec_t_swigregister
pos_rec_t_swigregister(pos_rec_t)

class eth_rec_t(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, eth_rec_t, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, eth_rec_t, name)
    __repr__ = _swig_repr
    __swig_setmethods__["offset"] = _py_dag_api.eth_rec_t_offset_set
    __swig_getmethods__["offset"] = _py_dag_api.eth_rec_t_offset_get
    if _newclass:offset = property(_py_dag_api.eth_rec_t_offset_get, _py_dag_api.eth_rec_t_offset_set)
    __swig_setmethods__["pad"] = _py_dag_api.eth_rec_t_pad_set
    __swig_getmethods__["pad"] = _py_dag_api.eth_rec_t_pad_get
    if _newclass:pad = property(_py_dag_api.eth_rec_t_pad_get, _py_dag_api.eth_rec_t_pad_set)
    __swig_setmethods__["dst"] = _py_dag_api.eth_rec_t_dst_set
    __swig_getmethods__["dst"] = _py_dag_api.eth_rec_t_dst_get
    if _newclass:dst = property(_py_dag_api.eth_rec_t_dst_get, _py_dag_api.eth_rec_t_dst_set)
    __swig_setmethods__["src"] = _py_dag_api.eth_rec_t_src_set
    __swig_getmethods__["src"] = _py_dag_api.eth_rec_t_src_get
    if _newclass:src = property(_py_dag_api.eth_rec_t_src_get, _py_dag_api.eth_rec_t_src_set)
    __swig_setmethods__["etype"] = _py_dag_api.eth_rec_t_etype_set
    __swig_getmethods__["etype"] = _py_dag_api.eth_rec_t_etype_get
    if _newclass:etype = property(_py_dag_api.eth_rec_t_etype_get, _py_dag_api.eth_rec_t_etype_set)
    __swig_setmethods__["pload"] = _py_dag_api.eth_rec_t_pload_set
    __swig_getmethods__["pload"] = _py_dag_api.eth_rec_t_pload_get
    if _newclass:pload = property(_py_dag_api.eth_rec_t_pload_get, _py_dag_api.eth_rec_t_pload_set)
    def __init__(self, *args): 
        this = _py_dag_api.new_eth_rec_t(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _py_dag_api.delete_eth_rec_t
    __del__ = lambda self : None;
eth_rec_t_swigregister = _py_dag_api.eth_rec_t_swigregister
eth_rec_t_swigregister(eth_rec_t)

class atm_rec_t(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, atm_rec_t, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, atm_rec_t, name)
    __repr__ = _swig_repr
    __swig_setmethods__["header"] = _py_dag_api.atm_rec_t_header_set
    __swig_getmethods__["header"] = _py_dag_api.atm_rec_t_header_get
    if _newclass:header = property(_py_dag_api.atm_rec_t_header_get, _py_dag_api.atm_rec_t_header_set)
    __swig_setmethods__["pload"] = _py_dag_api.atm_rec_t_pload_set
    __swig_getmethods__["pload"] = _py_dag_api.atm_rec_t_pload_get
    if _newclass:pload = property(_py_dag_api.atm_rec_t_pload_get, _py_dag_api.atm_rec_t_pload_set)
    def __init__(self, *args): 
        this = _py_dag_api.new_atm_rec_t(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _py_dag_api.delete_atm_rec_t
    __del__ = lambda self : None;
atm_rec_t_swigregister = _py_dag_api.atm_rec_t_swigregister
atm_rec_t_swigregister(atm_rec_t)

class aal5_rec_t(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, aal5_rec_t, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, aal5_rec_t, name)
    __repr__ = _swig_repr
    __swig_setmethods__["header"] = _py_dag_api.aal5_rec_t_header_set
    __swig_getmethods__["header"] = _py_dag_api.aal5_rec_t_header_get
    if _newclass:header = property(_py_dag_api.aal5_rec_t_header_get, _py_dag_api.aal5_rec_t_header_set)
    __swig_setmethods__["pload"] = _py_dag_api.aal5_rec_t_pload_set
    __swig_getmethods__["pload"] = _py_dag_api.aal5_rec_t_pload_get
    if _newclass:pload = property(_py_dag_api.aal5_rec_t_pload_get, _py_dag_api.aal5_rec_t_pload_set)
    def __init__(self, *args): 
        this = _py_dag_api.new_aal5_rec_t(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _py_dag_api.delete_aal5_rec_t
    __del__ = lambda self : None;
aal5_rec_t_swigregister = _py_dag_api.aal5_rec_t_swigregister
aal5_rec_t_swigregister(aal5_rec_t)

class mc_hdlc_rec_t(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, mc_hdlc_rec_t, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, mc_hdlc_rec_t, name)
    __repr__ = _swig_repr
    __swig_setmethods__["mc_header"] = _py_dag_api.mc_hdlc_rec_t_mc_header_set
    __swig_getmethods__["mc_header"] = _py_dag_api.mc_hdlc_rec_t_mc_header_get
    if _newclass:mc_header = property(_py_dag_api.mc_hdlc_rec_t_mc_header_get, _py_dag_api.mc_hdlc_rec_t_mc_header_set)
    __swig_setmethods__["pload"] = _py_dag_api.mc_hdlc_rec_t_pload_set
    __swig_getmethods__["pload"] = _py_dag_api.mc_hdlc_rec_t_pload_get
    if _newclass:pload = property(_py_dag_api.mc_hdlc_rec_t_pload_get, _py_dag_api.mc_hdlc_rec_t_pload_set)
    def __init__(self, *args): 
        this = _py_dag_api.new_mc_hdlc_rec_t(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _py_dag_api.delete_mc_hdlc_rec_t
    __del__ = lambda self : None;
mc_hdlc_rec_t_swigregister = _py_dag_api.mc_hdlc_rec_t_swigregister
mc_hdlc_rec_t_swigregister(mc_hdlc_rec_t)

class mc_raw_rec_t(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, mc_raw_rec_t, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, mc_raw_rec_t, name)
    __repr__ = _swig_repr
    __swig_setmethods__["mc_header"] = _py_dag_api.mc_raw_rec_t_mc_header_set
    __swig_getmethods__["mc_header"] = _py_dag_api.mc_raw_rec_t_mc_header_get
    if _newclass:mc_header = property(_py_dag_api.mc_raw_rec_t_mc_header_get, _py_dag_api.mc_raw_rec_t_mc_header_set)
    __swig_setmethods__["pload"] = _py_dag_api.mc_raw_rec_t_pload_set
    __swig_getmethods__["pload"] = _py_dag_api.mc_raw_rec_t_pload_get
    if _newclass:pload = property(_py_dag_api.mc_raw_rec_t_pload_get, _py_dag_api.mc_raw_rec_t_pload_set)
    def __init__(self, *args): 
        this = _py_dag_api.new_mc_raw_rec_t(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _py_dag_api.delete_mc_raw_rec_t
    __del__ = lambda self : None;
mc_raw_rec_t_swigregister = _py_dag_api.mc_raw_rec_t_swigregister
mc_raw_rec_t_swigregister(mc_raw_rec_t)

class mc_atm_rec_t(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, mc_atm_rec_t, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, mc_atm_rec_t, name)
    __repr__ = _swig_repr
    __swig_setmethods__["mc_header"] = _py_dag_api.mc_atm_rec_t_mc_header_set
    __swig_getmethods__["mc_header"] = _py_dag_api.mc_atm_rec_t_mc_header_get
    if _newclass:mc_header = property(_py_dag_api.mc_atm_rec_t_mc_header_get, _py_dag_api.mc_atm_rec_t_mc_header_set)
    __swig_setmethods__["pload"] = _py_dag_api.mc_atm_rec_t_pload_set
    __swig_getmethods__["pload"] = _py_dag_api.mc_atm_rec_t_pload_get
    if _newclass:pload = property(_py_dag_api.mc_atm_rec_t_pload_get, _py_dag_api.mc_atm_rec_t_pload_set)
    def __init__(self, *args): 
        this = _py_dag_api.new_mc_atm_rec_t(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _py_dag_api.delete_mc_atm_rec_t
    __del__ = lambda self : None;
mc_atm_rec_t_swigregister = _py_dag_api.mc_atm_rec_t_swigregister
mc_atm_rec_t_swigregister(mc_atm_rec_t)

class mc_raw_channel_rec_t(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, mc_raw_channel_rec_t, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, mc_raw_channel_rec_t, name)
    __repr__ = _swig_repr
    __swig_setmethods__["mc_header"] = _py_dag_api.mc_raw_channel_rec_t_mc_header_set
    __swig_getmethods__["mc_header"] = _py_dag_api.mc_raw_channel_rec_t_mc_header_get
    if _newclass:mc_header = property(_py_dag_api.mc_raw_channel_rec_t_mc_header_get, _py_dag_api.mc_raw_channel_rec_t_mc_header_set)
    __swig_setmethods__["pload"] = _py_dag_api.mc_raw_channel_rec_t_pload_set
    __swig_getmethods__["pload"] = _py_dag_api.mc_raw_channel_rec_t_pload_get
    if _newclass:pload = property(_py_dag_api.mc_raw_channel_rec_t_pload_get, _py_dag_api.mc_raw_channel_rec_t_pload_set)
    def __init__(self, *args): 
        this = _py_dag_api.new_mc_raw_channel_rec_t(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _py_dag_api.delete_mc_raw_channel_rec_t
    __del__ = lambda self : None;
mc_raw_channel_rec_t_swigregister = _py_dag_api.mc_raw_channel_rec_t_swigregister
mc_raw_channel_rec_t_swigregister(mc_raw_channel_rec_t)

class mc_aal_rec_t(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, mc_aal_rec_t, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, mc_aal_rec_t, name)
    __repr__ = _swig_repr
    __swig_setmethods__["mc_header"] = _py_dag_api.mc_aal_rec_t_mc_header_set
    __swig_getmethods__["mc_header"] = _py_dag_api.mc_aal_rec_t_mc_header_get
    if _newclass:mc_header = property(_py_dag_api.mc_aal_rec_t_mc_header_get, _py_dag_api.mc_aal_rec_t_mc_header_set)
    __swig_setmethods__["pload"] = _py_dag_api.mc_aal_rec_t_pload_set
    __swig_getmethods__["pload"] = _py_dag_api.mc_aal_rec_t_pload_get
    if _newclass:pload = property(_py_dag_api.mc_aal_rec_t_pload_get, _py_dag_api.mc_aal_rec_t_pload_set)
    def __init__(self, *args): 
        this = _py_dag_api.new_mc_aal_rec_t(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _py_dag_api.delete_mc_aal_rec_t
    __del__ = lambda self : None;
mc_aal_rec_t_swigregister = _py_dag_api.mc_aal_rec_t_swigregister
mc_aal_rec_t_swigregister(mc_aal_rec_t)

class aal2_rec_t(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, aal2_rec_t, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, aal2_rec_t, name)
    __repr__ = _swig_repr
    __swig_setmethods__["ext_header"] = _py_dag_api.aal2_rec_t_ext_header_set
    __swig_getmethods__["ext_header"] = _py_dag_api.aal2_rec_t_ext_header_get
    if _newclass:ext_header = property(_py_dag_api.aal2_rec_t_ext_header_get, _py_dag_api.aal2_rec_t_ext_header_set)
    __swig_setmethods__["header"] = _py_dag_api.aal2_rec_t_header_set
    __swig_getmethods__["header"] = _py_dag_api.aal2_rec_t_header_get
    if _newclass:header = property(_py_dag_api.aal2_rec_t_header_get, _py_dag_api.aal2_rec_t_header_set)
    __swig_setmethods__["pload"] = _py_dag_api.aal2_rec_t_pload_set
    __swig_getmethods__["pload"] = _py_dag_api.aal2_rec_t_pload_get
    if _newclass:pload = property(_py_dag_api.aal2_rec_t_pload_get, _py_dag_api.aal2_rec_t_pload_set)
    def __init__(self, *args): 
        this = _py_dag_api.new_aal2_rec_t(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _py_dag_api.delete_aal2_rec_t
    __del__ = lambda self : None;
aal2_rec_t_swigregister = _py_dag_api.aal2_rec_t_swigregister
aal2_rec_t_swigregister(aal2_rec_t)

class raw_link_t(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, raw_link_t, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, raw_link_t, name)
    __repr__ = _swig_repr
    __swig_setmethods__["pload"] = _py_dag_api.raw_link_t_pload_set
    __swig_getmethods__["pload"] = _py_dag_api.raw_link_t_pload_get
    if _newclass:pload = property(_py_dag_api.raw_link_t_pload_get, _py_dag_api.raw_link_t_pload_set)
    def __init__(self, *args): 
        this = _py_dag_api.new_raw_link_t(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _py_dag_api.delete_raw_link_t
    __del__ = lambda self : None;
raw_link_t_swigregister = _py_dag_api.raw_link_t_swigregister
raw_link_t_swigregister(raw_link_t)

class flags_t(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, flags_t, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, flags_t, name)
    __repr__ = _swig_repr
    __swig_setmethods__["iface"] = _py_dag_api.flags_t_iface_set
    __swig_getmethods__["iface"] = _py_dag_api.flags_t_iface_get
    if _newclass:iface = property(_py_dag_api.flags_t_iface_get, _py_dag_api.flags_t_iface_set)
    __swig_setmethods__["vlen"] = _py_dag_api.flags_t_vlen_set
    __swig_getmethods__["vlen"] = _py_dag_api.flags_t_vlen_get
    if _newclass:vlen = property(_py_dag_api.flags_t_vlen_get, _py_dag_api.flags_t_vlen_set)
    __swig_setmethods__["trunc"] = _py_dag_api.flags_t_trunc_set
    __swig_getmethods__["trunc"] = _py_dag_api.flags_t_trunc_get
    if _newclass:trunc = property(_py_dag_api.flags_t_trunc_get, _py_dag_api.flags_t_trunc_set)
    __swig_setmethods__["rxerror"] = _py_dag_api.flags_t_rxerror_set
    __swig_getmethods__["rxerror"] = _py_dag_api.flags_t_rxerror_get
    if _newclass:rxerror = property(_py_dag_api.flags_t_rxerror_get, _py_dag_api.flags_t_rxerror_set)
    __swig_setmethods__["dserror"] = _py_dag_api.flags_t_dserror_set
    __swig_getmethods__["dserror"] = _py_dag_api.flags_t_dserror_get
    if _newclass:dserror = property(_py_dag_api.flags_t_dserror_get, _py_dag_api.flags_t_dserror_set)
    __swig_setmethods__["reserved"] = _py_dag_api.flags_t_reserved_set
    __swig_getmethods__["reserved"] = _py_dag_api.flags_t_reserved_get
    if _newclass:reserved = property(_py_dag_api.flags_t_reserved_get, _py_dag_api.flags_t_reserved_set)
    __swig_setmethods__["direction"] = _py_dag_api.flags_t_direction_set
    __swig_getmethods__["direction"] = _py_dag_api.flags_t_direction_get
    if _newclass:direction = property(_py_dag_api.flags_t_direction_get, _py_dag_api.flags_t_direction_set)
    def __init__(self, *args): 
        this = _py_dag_api.new_flags_t(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _py_dag_api.delete_flags_t
    __del__ = lambda self : None;
flags_t_swigregister = _py_dag_api.flags_t_swigregister
flags_t_swigregister(flags_t)

class erf_payload_t(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, erf_payload_t, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, erf_payload_t, name)
    __repr__ = _swig_repr
    __swig_setmethods__["pos"] = _py_dag_api.erf_payload_t_pos_set
    __swig_getmethods__["pos"] = _py_dag_api.erf_payload_t_pos_get
    if _newclass:pos = property(_py_dag_api.erf_payload_t_pos_get, _py_dag_api.erf_payload_t_pos_set)
    __swig_setmethods__["eth"] = _py_dag_api.erf_payload_t_eth_set
    __swig_getmethods__["eth"] = _py_dag_api.erf_payload_t_eth_get
    if _newclass:eth = property(_py_dag_api.erf_payload_t_eth_get, _py_dag_api.erf_payload_t_eth_set)
    __swig_setmethods__["atm"] = _py_dag_api.erf_payload_t_atm_set
    __swig_getmethods__["atm"] = _py_dag_api.erf_payload_t_atm_get
    if _newclass:atm = property(_py_dag_api.erf_payload_t_atm_get, _py_dag_api.erf_payload_t_atm_set)
    __swig_setmethods__["aal5"] = _py_dag_api.erf_payload_t_aal5_set
    __swig_getmethods__["aal5"] = _py_dag_api.erf_payload_t_aal5_get
    if _newclass:aal5 = property(_py_dag_api.erf_payload_t_aal5_get, _py_dag_api.erf_payload_t_aal5_set)
    __swig_setmethods__["aal2"] = _py_dag_api.erf_payload_t_aal2_set
    __swig_getmethods__["aal2"] = _py_dag_api.erf_payload_t_aal2_get
    if _newclass:aal2 = property(_py_dag_api.erf_payload_t_aal2_get, _py_dag_api.erf_payload_t_aal2_set)
    __swig_setmethods__["mc_hdlc"] = _py_dag_api.erf_payload_t_mc_hdlc_set
    __swig_getmethods__["mc_hdlc"] = _py_dag_api.erf_payload_t_mc_hdlc_get
    if _newclass:mc_hdlc = property(_py_dag_api.erf_payload_t_mc_hdlc_get, _py_dag_api.erf_payload_t_mc_hdlc_set)
    __swig_setmethods__["mc_raw"] = _py_dag_api.erf_payload_t_mc_raw_set
    __swig_getmethods__["mc_raw"] = _py_dag_api.erf_payload_t_mc_raw_get
    if _newclass:mc_raw = property(_py_dag_api.erf_payload_t_mc_raw_get, _py_dag_api.erf_payload_t_mc_raw_set)
    __swig_setmethods__["mc_atm"] = _py_dag_api.erf_payload_t_mc_atm_set
    __swig_getmethods__["mc_atm"] = _py_dag_api.erf_payload_t_mc_atm_get
    if _newclass:mc_atm = property(_py_dag_api.erf_payload_t_mc_atm_get, _py_dag_api.erf_payload_t_mc_atm_set)
    __swig_setmethods__["mc_aal5"] = _py_dag_api.erf_payload_t_mc_aal5_set
    __swig_getmethods__["mc_aal5"] = _py_dag_api.erf_payload_t_mc_aal5_get
    if _newclass:mc_aal5 = property(_py_dag_api.erf_payload_t_mc_aal5_get, _py_dag_api.erf_payload_t_mc_aal5_set)
    __swig_setmethods__["mc_aal2"] = _py_dag_api.erf_payload_t_mc_aal2_set
    __swig_getmethods__["mc_aal2"] = _py_dag_api.erf_payload_t_mc_aal2_get
    if _newclass:mc_aal2 = property(_py_dag_api.erf_payload_t_mc_aal2_get, _py_dag_api.erf_payload_t_mc_aal2_set)
    __swig_setmethods__["mc_raw_channel"] = _py_dag_api.erf_payload_t_mc_raw_channel_set
    __swig_getmethods__["mc_raw_channel"] = _py_dag_api.erf_payload_t_mc_raw_channel_get
    if _newclass:mc_raw_channel = property(_py_dag_api.erf_payload_t_mc_raw_channel_get, _py_dag_api.erf_payload_t_mc_raw_channel_set)
    __swig_setmethods__["infiniband"] = _py_dag_api.erf_payload_t_infiniband_set
    __swig_getmethods__["infiniband"] = _py_dag_api.erf_payload_t_infiniband_get
    if _newclass:infiniband = property(_py_dag_api.erf_payload_t_infiniband_get, _py_dag_api.erf_payload_t_infiniband_set)
    __swig_setmethods__["raw_link"] = _py_dag_api.erf_payload_t_raw_link_set
    __swig_getmethods__["raw_link"] = _py_dag_api.erf_payload_t_raw_link_get
    if _newclass:raw_link = property(_py_dag_api.erf_payload_t_raw_link_get, _py_dag_api.erf_payload_t_raw_link_set)
    def __init__(self, *args): 
        this = _py_dag_api.new_erf_payload_t(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _py_dag_api.delete_erf_payload_t
    __del__ = lambda self : None;
erf_payload_t_swigregister = _py_dag_api.erf_payload_t_swigregister
erf_payload_t_swigregister(erf_payload_t)

class dag_record_t(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, dag_record_t, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, dag_record_t, name)
    __repr__ = _swig_repr
    __swig_setmethods__["ts"] = _py_dag_api.dag_record_t_ts_set
    __swig_getmethods__["ts"] = _py_dag_api.dag_record_t_ts_get
    if _newclass:ts = property(_py_dag_api.dag_record_t_ts_get, _py_dag_api.dag_record_t_ts_set)
    __swig_setmethods__["type"] = _py_dag_api.dag_record_t_type_set
    __swig_getmethods__["type"] = _py_dag_api.dag_record_t_type_get
    if _newclass:type = property(_py_dag_api.dag_record_t_type_get, _py_dag_api.dag_record_t_type_set)
    __swig_setmethods__["flags"] = _py_dag_api.dag_record_t_flags_set
    __swig_getmethods__["flags"] = _py_dag_api.dag_record_t_flags_get
    if _newclass:flags = property(_py_dag_api.dag_record_t_flags_get, _py_dag_api.dag_record_t_flags_set)
    __swig_setmethods__["rlen"] = _py_dag_api.dag_record_t_rlen_set
    __swig_getmethods__["rlen"] = _py_dag_api.dag_record_t_rlen_get
    if _newclass:rlen = property(_py_dag_api.dag_record_t_rlen_get, _py_dag_api.dag_record_t_rlen_set)
    __swig_setmethods__["lctr"] = _py_dag_api.dag_record_t_lctr_set
    __swig_getmethods__["lctr"] = _py_dag_api.dag_record_t_lctr_get
    if _newclass:lctr = property(_py_dag_api.dag_record_t_lctr_get, _py_dag_api.dag_record_t_lctr_set)
    __swig_setmethods__["wlen"] = _py_dag_api.dag_record_t_wlen_set
    __swig_getmethods__["wlen"] = _py_dag_api.dag_record_t_wlen_get
    if _newclass:wlen = property(_py_dag_api.dag_record_t_wlen_get, _py_dag_api.dag_record_t_wlen_set)
    __swig_setmethods__["rec"] = _py_dag_api.dag_record_t_rec_set
    __swig_getmethods__["rec"] = _py_dag_api.dag_record_t_rec_get
    if _newclass:rec = property(_py_dag_api.dag_record_t_rec_get, _py_dag_api.dag_record_t_rec_set)
    def __init__(self, *args): 
        this = _py_dag_api.new_dag_record_t(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _py_dag_api.delete_dag_record_t
    __del__ = lambda self : None;
dag_record_t_swigregister = _py_dag_api.dag_record_t_swigregister
dag_record_t_swigregister(dag_record_t)

DAG_FLUSH_RECORDS = _py_dag_api.DAG_FLUSH_RECORDS
dag_open = _py_dag_api.dag_open
dag_close = _py_dag_api.dag_close
dag_configure = _py_dag_api.dag_configure
dag_set_mode = _py_dag_api.dag_set_mode
dag_attach_stream = _py_dag_api.dag_attach_stream
dag_attach_stream_protection = _py_dag_api.dag_attach_stream_protection
dag_detach_stream = _py_dag_api.dag_detach_stream
dag_start_stream = _py_dag_api.dag_start_stream
dag_stop_stream = _py_dag_api.dag_stop_stream
dag_get_stream_poll = _py_dag_api.dag_get_stream_poll
dag_set_stream_poll = _py_dag_api.dag_set_stream_poll
dag_get_stream_buffer_size = _py_dag_api.dag_get_stream_buffer_size
dag_get_stream_buffer_virt_base_address = _py_dag_api.dag_get_stream_buffer_virt_base_address
dag_get_stream_phy_buffer_address = _py_dag_api.dag_get_stream_phy_buffer_address
dag_get_stream_buffer_level = _py_dag_api.dag_get_stream_buffer_level
dag_get_stream_last_buffer_level = _py_dag_api.dag_get_stream_last_buffer_level
dag_rx_get_stream_count = _py_dag_api.dag_rx_get_stream_count
dag_tx_get_stream_count = _py_dag_api.dag_tx_get_stream_count
dag_tx_get_stream_space = _py_dag_api.dag_tx_get_stream_space
dag_tx_stream_commit_bytes = _py_dag_api.dag_tx_stream_commit_bytes
dag_tx_stream_commit_records = _py_dag_api.dag_tx_stream_commit_records
dag_tx_stream_copy_bytes = _py_dag_api.dag_tx_stream_copy_bytes
dag_tx_stream_copy_records = _py_dag_api.dag_tx_stream_copy_records
dag_rx_stream_next_record = _py_dag_api.dag_rx_stream_next_record
dag_rx_stream_next_inline = _py_dag_api.dag_rx_stream_next_inline
dag_advance_stream = _py_dag_api.dag_advance_stream
dag_advance_stream_records = _py_dag_api.dag_advance_stream_records
dag_get_last_error = _py_dag_api.dag_get_last_error
dag_set_param = _py_dag_api.dag_set_param
dag_info = _py_dag_api.dag_info
dag_iom = _py_dag_api.dag_iom
dag_linktype = _py_dag_api.dag_linktype
dag_get_erf_types = _py_dag_api.dag_get_erf_types
dag_get_stream_erf_types = _py_dag_api.dag_get_stream_erf_types
dag_set_stream_erf_types = _py_dag_api.dag_set_stream_erf_types
dag_get_interface_count = _py_dag_api.dag_get_interface_count
dag_parse_name = _py_dag_api.dag_parse_name
dag_getname = _py_dag_api.dag_getname
dag_start = _py_dag_api.dag_start
dag_stop = _py_dag_api.dag_stop
dag_mmap = _py_dag_api.dag_mmap
dag_offset = _py_dag_api.dag_offset
dag_getpollparams = _py_dag_api.dag_getpollparams
dag_setpollparams = _py_dag_api.dag_setpollparams
dag_clone = _py_dag_api.dag_clone
DAGNAME_BUFSIZE = _py_dag_api.DAGNAME_BUFSIZE
cdata = _py_dag_api.cdata
memmove = _py_dag_api.memmove


