# This file was automatically generated by SWIG (http://www.swig.org).
# Version 3.0.12
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.

from sys import version_info as _swig_python_version_info
if _swig_python_version_info >= (3, 0, 0):
    new_instancemethod = lambda func, inst, cls: _capi.SWIG_PyInstanceMethod_New(func)
else:
    from new import instancemethod as new_instancemethod
if _swig_python_version_info >= (2, 7, 0):
    def swig_import_helper():
        import importlib
        pkg = __name__.rpartition('.')[0]
        mname = '.'.join((pkg, '_capi')).lstrip('.')
        try:
            return importlib.import_module(mname)
        except ImportError:
            return importlib.import_module('_capi')
    _capi = swig_import_helper()
    del swig_import_helper
elif _swig_python_version_info >= (2, 6, 0):
    def swig_import_helper():
        from os.path import dirname
        import imp
        fp = None
        try:
            fp, pathname, description = imp.find_module('_capi', [dirname(__file__)])
        except ImportError:
            import _capi
            return _capi
        try:
            _mod = imp.load_module('_capi', fp, pathname, description)
        finally:
            if fp is not None:
                fp.close()
        return _mod
    _capi = swig_import_helper()
    del swig_import_helper
else:
    import _capi
del _swig_python_version_info

try:
    _swig_property = property
except NameError:
    pass  # Python < 2.2 doesn't have 'property'.

try:
    import builtins as __builtin__
except ImportError:
    import __builtin__

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__ == 'SwigPyObject':
            self.__dict__[name] = value
            return
    method = class_type.__swig_setmethods__.get(name, None)
    if method:
        return method(self, value)
    if (not static):
        object.__setattr__(self, 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("'%s' object has no attribute '%s'" % (class_type.__name__, name))


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


def _swig_setattr_nondynamic_method(set):
    def set_attr(self, name, value):
        if (name == "thisown"):
            return self.this.own(value)
        if hasattr(self, name) or (name == "this"):
            set(self, name, value)
        else:
            raise AttributeError("You cannot add attributes to %s" % self)
    return set_attr



def alloc_dump_params():
    return _capi.alloc_dump_params()
alloc_dump_params = _capi.alloc_dump_params

def free_dump_params(dp):
    return _capi.free_dump_params(dp)
free_dump_params = _capi.free_dump_params
NL_DUMP_LINE = _capi.NL_DUMP_LINE
NL_DUMP_DETAILS = _capi.NL_DUMP_DETAILS
NL_DUMP_STATS = _capi.NL_DUMP_STATS
__NL_DUMP_MAX = _capi.__NL_DUMP_MAX
class nl_dump_params(object):
    thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr
    dp_type = _swig_property(_capi.nl_dump_params_dp_type_get, _capi.nl_dump_params_dp_type_set)
    dp_prefix = _swig_property(_capi.nl_dump_params_dp_prefix_get, _capi.nl_dump_params_dp_prefix_set)
    dp_print_index = _swig_property(_capi.nl_dump_params_dp_print_index_get, _capi.nl_dump_params_dp_print_index_set)
    dp_dump_msgtype = _swig_property(_capi.nl_dump_params_dp_dump_msgtype_get, _capi.nl_dump_params_dp_dump_msgtype_set)
    dp_cb = _swig_property(_capi.nl_dump_params_dp_cb_get, _capi.nl_dump_params_dp_cb_set)
    dp_nl_cb = _swig_property(_capi.nl_dump_params_dp_nl_cb_get, _capi.nl_dump_params_dp_nl_cb_set)
    dp_data = _swig_property(_capi.nl_dump_params_dp_data_get, _capi.nl_dump_params_dp_data_set)
    dp_fd = _swig_property(_capi.nl_dump_params_dp_fd_get, _capi.nl_dump_params_dp_fd_set)
    dp_buf = _swig_property(_capi.nl_dump_params_dp_buf_get, _capi.nl_dump_params_dp_buf_set)
    dp_buflen = _swig_property(_capi.nl_dump_params_dp_buflen_get, _capi.nl_dump_params_dp_buflen_set)
    dp_pre_dump = _swig_property(_capi.nl_dump_params_dp_pre_dump_get, _capi.nl_dump_params_dp_pre_dump_set)
    dp_ivar = _swig_property(_capi.nl_dump_params_dp_ivar_get, _capi.nl_dump_params_dp_ivar_set)
    dp_line = _swig_property(_capi.nl_dump_params_dp_line_get, _capi.nl_dump_params_dp_line_set)
    __swig_destroy__ = _capi.delete_nl_dump_params
nl_dump_params_swigregister = _capi.nl_dump_params_swigregister
nl_dump_params_swigregister(nl_dump_params)


def if_nametoindex(ifname):
    return _capi.if_nametoindex(ifname)
if_nametoindex = _capi.if_nametoindex

def nl_geterror(arg1):
    return _capi.nl_geterror(arg1)
nl_geterror = _capi.nl_geterror

def nl_cancel_down_bytes(arg1, arg2):
    return _capi.nl_cancel_down_bytes(arg1, arg2)
nl_cancel_down_bytes = _capi.nl_cancel_down_bytes

def nl_cancel_down_bits(arg1, arg2):
    return _capi.nl_cancel_down_bits(arg1, arg2)
nl_cancel_down_bits = _capi.nl_cancel_down_bits

def nl_rate2str(rate, type, buf):
    return _capi.nl_rate2str(rate, type, buf)
nl_rate2str = _capi.nl_rate2str

def nl_cancel_down_us(arg1, arg2):
    return _capi.nl_cancel_down_us(arg1, arg2)
nl_cancel_down_us = _capi.nl_cancel_down_us

def nl_size2int(arg1):
    return _capi.nl_size2int(arg1)
nl_size2int = _capi.nl_size2int

def nl_size2str(arg1, buf):
    return _capi.nl_size2str(arg1, buf)
nl_size2str = _capi.nl_size2str

def nl_prob2int(arg1):
    return _capi.nl_prob2int(arg1)
nl_prob2int = _capi.nl_prob2int

def nl_get_user_hz():
    return _capi.nl_get_user_hz()
nl_get_user_hz = _capi.nl_get_user_hz

def nl_us2ticks(arg1):
    return _capi.nl_us2ticks(arg1)
nl_us2ticks = _capi.nl_us2ticks

def nl_ticks2us(arg1):
    return _capi.nl_ticks2us(arg1)
nl_ticks2us = _capi.nl_ticks2us

def nl_str2msec(arg1, arg2):
    return _capi.nl_str2msec(arg1, arg2)
nl_str2msec = _capi.nl_str2msec

def nl_msec2str(arg1, buf):
    return _capi.nl_msec2str(arg1, buf)
nl_msec2str = _capi.nl_msec2str

def nl_llproto2str(arg1, buf):
    return _capi.nl_llproto2str(arg1, buf)
nl_llproto2str = _capi.nl_llproto2str

def nl_str2llproto(arg1):
    return _capi.nl_str2llproto(arg1)
nl_str2llproto = _capi.nl_str2llproto

def nl_ether_proto2str(arg1, buf):
    return _capi.nl_ether_proto2str(arg1, buf)
nl_ether_proto2str = _capi.nl_ether_proto2str

def nl_str2ether_proto(arg1):
    return _capi.nl_str2ether_proto(arg1)
nl_str2ether_proto = _capi.nl_str2ether_proto

def nl_ip_proto2str(arg1, buf):
    return _capi.nl_ip_proto2str(arg1, buf)
nl_ip_proto2str = _capi.nl_ip_proto2str

def nl_str2ip_proto(arg1):
    return _capi.nl_str2ip_proto(arg1)
nl_str2ip_proto = _capi.nl_str2ip_proto

def nl_new_line(arg1):
    return _capi.nl_new_line(arg1)
nl_new_line = _capi.nl_new_line

def nl_dump(arg1, arg2):
    return _capi.nl_dump(arg1, arg2)
nl_dump = _capi.nl_dump

def nl_dump_line(arg1, arg2):
    return _capi.nl_dump_line(arg1, arg2)
nl_dump_line = _capi.nl_dump_line

def nl_connect(arg1, arg2):
    return _capi.nl_connect(arg1, arg2)
nl_connect = _capi.nl_connect

def nl_close(arg1):
    return _capi.nl_close(arg1)
nl_close = _capi.nl_close

def nl_socket_alloc():
    return _capi.nl_socket_alloc()
nl_socket_alloc = _capi.nl_socket_alloc

def nl_socket_alloc_cb(arg1):
    return _capi.nl_socket_alloc_cb(arg1)
nl_socket_alloc_cb = _capi.nl_socket_alloc_cb

def nl_socket_free(arg1):
    return _capi.nl_socket_free(arg1)
nl_socket_free = _capi.nl_socket_free

def nl_socket_get_local_port(arg1):
    return _capi.nl_socket_get_local_port(arg1)
nl_socket_get_local_port = _capi.nl_socket_get_local_port

def nl_socket_set_local_port(arg1, arg2):
    return _capi.nl_socket_set_local_port(arg1, arg2)
nl_socket_set_local_port = _capi.nl_socket_set_local_port

def nl_socket_get_peer_port(arg1):
    return _capi.nl_socket_get_peer_port(arg1)
nl_socket_get_peer_port = _capi.nl_socket_get_peer_port

def nl_socket_set_peer_port(arg1, arg2):
    return _capi.nl_socket_set_peer_port(arg1, arg2)
nl_socket_set_peer_port = _capi.nl_socket_set_peer_port

def nl_socket_get_peer_groups(sk):
    return _capi.nl_socket_get_peer_groups(sk)
nl_socket_get_peer_groups = _capi.nl_socket_get_peer_groups

def nl_socket_set_peer_groups(sk, groups):
    return _capi.nl_socket_set_peer_groups(sk, groups)
nl_socket_set_peer_groups = _capi.nl_socket_set_peer_groups

def nl_socket_set_buffer_size(arg1, arg2, arg3):
    return _capi.nl_socket_set_buffer_size(arg1, arg2, arg3)
nl_socket_set_buffer_size = _capi.nl_socket_set_buffer_size

def nl_socket_set_cb(arg1, arg2):
    return _capi.nl_socket_set_cb(arg1, arg2)
nl_socket_set_cb = _capi.nl_socket_set_cb

def nl_socket_add_membership(arg1, arg2):
    return _capi.nl_socket_add_membership(arg1, arg2)
nl_socket_add_membership = _capi.nl_socket_add_membership

def nl_socket_drop_membership(arg1, arg2):
    return _capi.nl_socket_drop_membership(arg1, arg2)
nl_socket_drop_membership = _capi.nl_socket_drop_membership

def nl_send_auto_complete(arg1, arg2):
    return _capi.nl_send_auto_complete(arg1, arg2)
nl_send_auto_complete = _capi.nl_send_auto_complete

def nl_recvmsgs(arg1, arg2):
    return _capi.nl_recvmsgs(arg1, arg2)
nl_recvmsgs = _capi.nl_recvmsgs

def nlmsg_size(arg1):
    return _capi.nlmsg_size(arg1)
nlmsg_size = _capi.nlmsg_size

def nlmsg_total_size(arg1):
    return _capi.nlmsg_total_size(arg1)
nlmsg_total_size = _capi.nlmsg_total_size

def nlmsg_padlen(arg1):
    return _capi.nlmsg_padlen(arg1)
nlmsg_padlen = _capi.nlmsg_padlen

def nlmsg_data(arg1):
    return _capi.nlmsg_data(arg1)
nlmsg_data = _capi.nlmsg_data

def nlmsg_datalen(arg1):
    return _capi.nlmsg_datalen(arg1)
nlmsg_datalen = _capi.nlmsg_datalen

def nlmsg_tail(arg1):
    return _capi.nlmsg_tail(arg1)
nlmsg_tail = _capi.nlmsg_tail

def nlmsg_attrdata(arg1, arg2):
    return _capi.nlmsg_attrdata(arg1, arg2)
nlmsg_attrdata = _capi.nlmsg_attrdata

def nlmsg_attrlen(arg1, arg2):
    return _capi.nlmsg_attrlen(arg1, arg2)
nlmsg_attrlen = _capi.nlmsg_attrlen

def nlmsg_valid_hdr(arg1, arg2):
    return _capi.nlmsg_valid_hdr(arg1, arg2)
nlmsg_valid_hdr = _capi.nlmsg_valid_hdr

def nlmsg_ok(arg1, arg2):
    return _capi.nlmsg_ok(arg1, arg2)
nlmsg_ok = _capi.nlmsg_ok

def nlmsg_next(arg1, arg2):
    return _capi.nlmsg_next(arg1, arg2)
nlmsg_next = _capi.nlmsg_next

def nlmsg_parse(arg1, arg2, arg3, arg4, arg5):
    return _capi.nlmsg_parse(arg1, arg2, arg3, arg4, arg5)
nlmsg_parse = _capi.nlmsg_parse

def nlmsg_find_attr(arg1, arg2, arg3):
    return _capi.nlmsg_find_attr(arg1, arg2, arg3)
nlmsg_find_attr = _capi.nlmsg_find_attr

def nlmsg_validate(arg1, arg2, arg3, arg4):
    return _capi.nlmsg_validate(arg1, arg2, arg3, arg4)
nlmsg_validate = _capi.nlmsg_validate

def nlmsg_alloc():
    return _capi.nlmsg_alloc()
nlmsg_alloc = _capi.nlmsg_alloc

def nlmsg_alloc_size(arg1):
    return _capi.nlmsg_alloc_size(arg1)
nlmsg_alloc_size = _capi.nlmsg_alloc_size

def nlmsg_alloc_simple(arg1, arg2):
    return _capi.nlmsg_alloc_simple(arg1, arg2)
nlmsg_alloc_simple = _capi.nlmsg_alloc_simple

def nlmsg_set_default_size(arg1):
    return _capi.nlmsg_set_default_size(arg1)
nlmsg_set_default_size = _capi.nlmsg_set_default_size

def nlmsg_inherit(arg1):
    return _capi.nlmsg_inherit(arg1)
nlmsg_inherit = _capi.nlmsg_inherit

def nlmsg_convert(arg1):
    return _capi.nlmsg_convert(arg1)
nlmsg_convert = _capi.nlmsg_convert

def nlmsg_reserve(arg1, arg2, arg3):
    return _capi.nlmsg_reserve(arg1, arg2, arg3)
nlmsg_reserve = _capi.nlmsg_reserve

def nlmsg_append(arg1, arg2, arg3, arg4):
    return _capi.nlmsg_append(arg1, arg2, arg3, arg4)
nlmsg_append = _capi.nlmsg_append

def nlmsg_expand(arg1, arg2):
    return _capi.nlmsg_expand(arg1, arg2)
nlmsg_expand = _capi.nlmsg_expand

def nlmsg_put(arg1, arg2, arg3, arg4, arg5, arg6):
    return _capi.nlmsg_put(arg1, arg2, arg3, arg4, arg5, arg6)
nlmsg_put = _capi.nlmsg_put

def nlmsg_hdr(arg1):
    return _capi.nlmsg_hdr(arg1)
nlmsg_hdr = _capi.nlmsg_hdr

def nlmsg_get(arg1):
    return _capi.nlmsg_get(arg1)
nlmsg_get = _capi.nlmsg_get

def nlmsg_free(arg1):
    return _capi.nlmsg_free(arg1)
nlmsg_free = _capi.nlmsg_free

def nlmsg_set_proto(arg1, arg2):
    return _capi.nlmsg_set_proto(arg1, arg2)
nlmsg_set_proto = _capi.nlmsg_set_proto

def nlmsg_get_proto(arg1):
    return _capi.nlmsg_get_proto(arg1)
nlmsg_get_proto = _capi.nlmsg_get_proto

def nlmsg_get_max_size(arg1):
    return _capi.nlmsg_get_max_size(arg1)
nlmsg_get_max_size = _capi.nlmsg_get_max_size

def nlmsg_set_src(arg1, arg2):
    return _capi.nlmsg_set_src(arg1, arg2)
nlmsg_set_src = _capi.nlmsg_set_src

def nlmsg_get_src(arg1):
    return _capi.nlmsg_get_src(arg1)
nlmsg_get_src = _capi.nlmsg_get_src

def nlmsg_set_dst(arg1, arg2):
    return _capi.nlmsg_set_dst(arg1, arg2)
nlmsg_set_dst = _capi.nlmsg_set_dst

def nlmsg_get_dst(arg1):
    return _capi.nlmsg_get_dst(arg1)
nlmsg_get_dst = _capi.nlmsg_get_dst

def nlmsg_set_creds(arg1, arg2):
    return _capi.nlmsg_set_creds(arg1, arg2)
nlmsg_set_creds = _capi.nlmsg_set_creds

def nlmsg_get_creds(arg1):
    return _capi.nlmsg_get_creds(arg1)
nlmsg_get_creds = _capi.nlmsg_get_creds

def nl_nlmsgtype2str(arg1, arg2, arg3):
    return _capi.nl_nlmsgtype2str(arg1, arg2, arg3)
nl_nlmsgtype2str = _capi.nl_nlmsgtype2str

def nl_str2nlmsgtype(arg1):
    return _capi.nl_str2nlmsgtype(arg1)
nl_str2nlmsgtype = _capi.nl_str2nlmsgtype

def nl_nlmsg_flags2str(arg1, arg2, arg3):
    return _capi.nl_nlmsg_flags2str(arg1, arg2, arg3)
nl_nlmsg_flags2str = _capi.nl_nlmsg_flags2str

def nl_msg_parse(arg1, cb, arg3):
    return _capi.nl_msg_parse(arg1, cb, arg3)
nl_msg_parse = _capi.nl_msg_parse

def nl_msg_dump(arg1, arg2):
    return _capi.nl_msg_dump(arg1, arg2)
nl_msg_dump = _capi.nl_msg_dump

def cast_obj(obj):
    return _capi.cast_obj(obj)
cast_obj = _capi.cast_obj

def object_alloc_name(name):
    return _capi.object_alloc_name(name)
object_alloc_name = _capi.object_alloc_name

def nl_object_alloc(arg1):
    return _capi.nl_object_alloc(arg1)
nl_object_alloc = _capi.nl_object_alloc

def nl_object_free(arg1):
    return _capi.nl_object_free(arg1)
nl_object_free = _capi.nl_object_free

def nl_object_clone(arg1):
    return _capi.nl_object_clone(arg1)
nl_object_clone = _capi.nl_object_clone

def nl_object_get(arg1):
    return _capi.nl_object_get(arg1)
nl_object_get = _capi.nl_object_get

def nl_object_put(arg1):
    return _capi.nl_object_put(arg1)
nl_object_put = _capi.nl_object_put

def nl_object_shared(arg1):
    return _capi.nl_object_shared(arg1)
nl_object_shared = _capi.nl_object_shared

def nl_object_dump_buf(arg1, buf):
    return _capi.nl_object_dump_buf(arg1, buf)
nl_object_dump_buf = _capi.nl_object_dump_buf

def nl_object_dump(arg1, arg2):
    return _capi.nl_object_dump(arg1, arg2)
nl_object_dump = _capi.nl_object_dump

def nl_object_identical(arg1, arg2):
    return _capi.nl_object_identical(arg1, arg2)
nl_object_identical = _capi.nl_object_identical

def nl_object_diff(arg1, arg2):
    return _capi.nl_object_diff(arg1, arg2)
nl_object_diff = _capi.nl_object_diff

def nl_object_match_filter(arg1, arg2):
    return _capi.nl_object_match_filter(arg1, arg2)
nl_object_match_filter = _capi.nl_object_match_filter

def nl_object_attrs2str(arg1, arg2, buf):
    return _capi.nl_object_attrs2str(arg1, arg2, buf)
nl_object_attrs2str = _capi.nl_object_attrs2str

def nl_object_attr_list(arg1, buf):
    return _capi.nl_object_attr_list(arg1, buf)
nl_object_attr_list = _capi.nl_object_attr_list

def nl_object_mark(arg1):
    return _capi.nl_object_mark(arg1)
nl_object_mark = _capi.nl_object_mark

def nl_object_unmark(arg1):
    return _capi.nl_object_unmark(arg1)
nl_object_unmark = _capi.nl_object_unmark

def nl_object_is_marked(arg1):
    return _capi.nl_object_is_marked(arg1)
nl_object_is_marked = _capi.nl_object_is_marked

def nl_object_get_refcnt(arg1):
    return _capi.nl_object_get_refcnt(arg1)
nl_object_get_refcnt = _capi.nl_object_get_refcnt

def alloc_cache_name(name):
    return _capi.alloc_cache_name(name)
alloc_cache_name = _capi.alloc_cache_name

def alloc_cache_mngr(sock, protocol, flags):
    return _capi.alloc_cache_mngr(sock, protocol, flags)
alloc_cache_mngr = _capi.alloc_cache_mngr

def cache_mngr_add(mngr, name, func, arg):
    return _capi.cache_mngr_add(mngr, name, func, arg)
cache_mngr_add = _capi.cache_mngr_add

def nl_cache_nitems(arg1):
    return _capi.nl_cache_nitems(arg1)
nl_cache_nitems = _capi.nl_cache_nitems

def nl_cache_nitems_filter(arg1, arg2):
    return _capi.nl_cache_nitems_filter(arg1, arg2)
nl_cache_nitems_filter = _capi.nl_cache_nitems_filter

def nl_cache_get_ops(arg1):
    return _capi.nl_cache_get_ops(arg1)
nl_cache_get_ops = _capi.nl_cache_get_ops

def nl_cache_get_first(arg1):
    return _capi.nl_cache_get_first(arg1)
nl_cache_get_first = _capi.nl_cache_get_first

def nl_cache_get_last(arg1):
    return _capi.nl_cache_get_last(arg1)
nl_cache_get_last = _capi.nl_cache_get_last

def nl_cache_get_next(arg1):
    return _capi.nl_cache_get_next(arg1)
nl_cache_get_next = _capi.nl_cache_get_next

def nl_cache_get_prev(arg1):
    return _capi.nl_cache_get_prev(arg1)
nl_cache_get_prev = _capi.nl_cache_get_prev

def nl_cache_alloc(arg1):
    return _capi.nl_cache_alloc(arg1)
nl_cache_alloc = _capi.nl_cache_alloc

def nl_cache_subset(arg1, arg2):
    return _capi.nl_cache_subset(arg1, arg2)
nl_cache_subset = _capi.nl_cache_subset

def nl_cache_clear(arg1):
    return _capi.nl_cache_clear(arg1)
nl_cache_clear = _capi.nl_cache_clear

def nl_cache_free(arg1):
    return _capi.nl_cache_free(arg1)
nl_cache_free = _capi.nl_cache_free

def nl_cache_add(arg1, arg2):
    return _capi.nl_cache_add(arg1, arg2)
nl_cache_add = _capi.nl_cache_add

def nl_cache_parse_and_add(arg1, arg2):
    return _capi.nl_cache_parse_and_add(arg1, arg2)
nl_cache_parse_and_add = _capi.nl_cache_parse_and_add

def nl_cache_remove(arg1):
    return _capi.nl_cache_remove(arg1)
nl_cache_remove = _capi.nl_cache_remove

def nl_cache_refill(arg1, arg2):
    return _capi.nl_cache_refill(arg1, arg2)
nl_cache_refill = _capi.nl_cache_refill

def nl_cache_pickup(arg1, arg2):
    return _capi.nl_cache_pickup(arg1, arg2)
nl_cache_pickup = _capi.nl_cache_pickup

def nl_cache_resync(arg1, arg2, arg3, arg4):
    return _capi.nl_cache_resync(arg1, arg2, arg3, arg4)
nl_cache_resync = _capi.nl_cache_resync

def nl_cache_include(arg1, arg2, arg3, arg4):
    return _capi.nl_cache_include(arg1, arg2, arg3, arg4)
nl_cache_include = _capi.nl_cache_include

def nl_cache_set_arg1(arg1, arg2):
    return _capi.nl_cache_set_arg1(arg1, arg2)
nl_cache_set_arg1 = _capi.nl_cache_set_arg1

def nl_cache_set_arg2(arg1, arg2):
    return _capi.nl_cache_set_arg2(arg1, arg2)
nl_cache_set_arg2 = _capi.nl_cache_set_arg2

def nl_cache_is_empty(arg1):
    return _capi.nl_cache_is_empty(arg1)
nl_cache_is_empty = _capi.nl_cache_is_empty

def nl_cache_search(arg1, arg2):
    return _capi.nl_cache_search(arg1, arg2)
nl_cache_search = _capi.nl_cache_search

def nl_cache_mark_all(arg1):
    return _capi.nl_cache_mark_all(arg1)
nl_cache_mark_all = _capi.nl_cache_mark_all

def nl_cache_dump(arg1, arg2):
    return _capi.nl_cache_dump(arg1, arg2)
nl_cache_dump = _capi.nl_cache_dump

def nl_cache_dump_filter(arg1, arg2, arg3):
    return _capi.nl_cache_dump_filter(arg1, arg2, arg3)
nl_cache_dump_filter = _capi.nl_cache_dump_filter

def nl_cache_foreach(arg1, cb, arg):
    return _capi.nl_cache_foreach(arg1, cb, arg)
nl_cache_foreach = _capi.nl_cache_foreach

def nl_cache_foreach_filter(arg1, arg2, cb, arg):
    return _capi.nl_cache_foreach_filter(arg1, arg2, cb, arg)
nl_cache_foreach_filter = _capi.nl_cache_foreach_filter

def nl_cache_ops_lookup(arg1):
    return _capi.nl_cache_ops_lookup(arg1)
nl_cache_ops_lookup = _capi.nl_cache_ops_lookup

def nl_cache_ops_associate(arg1, arg2):
    return _capi.nl_cache_ops_associate(arg1, arg2)
nl_cache_ops_associate = _capi.nl_cache_ops_associate

def nl_msgtype_lookup(arg1, arg2):
    return _capi.nl_msgtype_lookup(arg1, arg2)
nl_msgtype_lookup = _capi.nl_msgtype_lookup

def nl_cache_ops_foreach(cb, arg2):
    return _capi.nl_cache_ops_foreach(cb, arg2)
nl_cache_ops_foreach = _capi.nl_cache_ops_foreach

def nl_cache_mngt_register(arg1):
    return _capi.nl_cache_mngt_register(arg1)
nl_cache_mngt_register = _capi.nl_cache_mngt_register

def nl_cache_mngt_unregister(arg1):
    return _capi.nl_cache_mngt_unregister(arg1)
nl_cache_mngt_unregister = _capi.nl_cache_mngt_unregister

def nl_cache_mngt_provide(arg1):
    return _capi.nl_cache_mngt_provide(arg1)
nl_cache_mngt_provide = _capi.nl_cache_mngt_provide

def nl_cache_mngt_unprovide(arg1):
    return _capi.nl_cache_mngt_unprovide(arg1)
nl_cache_mngt_unprovide = _capi.nl_cache_mngt_unprovide

def nl_cache_mngt_require(arg1):
    return _capi.nl_cache_mngt_require(arg1)
nl_cache_mngt_require = _capi.nl_cache_mngt_require
NL_AUTO_PROVIDE = _capi.NL_AUTO_PROVIDE

def nl_cache_mngr_get_fd(arg1):
    return _capi.nl_cache_mngr_get_fd(arg1)
nl_cache_mngr_get_fd = _capi.nl_cache_mngr_get_fd

def nl_cache_mngr_poll(arg1, arg2):
    return _capi.nl_cache_mngr_poll(arg1, arg2)
nl_cache_mngr_poll = _capi.nl_cache_mngr_poll

def nl_cache_mngr_data_ready(arg1):
    return _capi.nl_cache_mngr_data_ready(arg1)
nl_cache_mngr_data_ready = _capi.nl_cache_mngr_data_ready

def nl_cache_mngr_free(arg1):
    return _capi.nl_cache_mngr_free(arg1)
nl_cache_mngr_free = _capi.nl_cache_mngr_free

def addr_parse(addr, guess):
    return _capi.addr_parse(addr, guess)
addr_parse = _capi.addr_parse

def nl_addr_alloc(arg1):
    return _capi.nl_addr_alloc(arg1)
nl_addr_alloc = _capi.nl_addr_alloc

def nl_addr_alloc_attr(arg1, arg2):
    return _capi.nl_addr_alloc_attr(arg1, arg2)
nl_addr_alloc_attr = _capi.nl_addr_alloc_attr

def nl_addr_build(arg1, arg2, arg3):
    return _capi.nl_addr_build(arg1, arg2, arg3)
nl_addr_build = _capi.nl_addr_build

def nl_addr_clone(arg1):
    return _capi.nl_addr_clone(arg1)
nl_addr_clone = _capi.nl_addr_clone

def nl_addr_get(arg1):
    return _capi.nl_addr_get(arg1)
nl_addr_get = _capi.nl_addr_get

def nl_addr_put(arg1):
    return _capi.nl_addr_put(arg1)
nl_addr_put = _capi.nl_addr_put

def nl_addr_shared(arg1):
    return _capi.nl_addr_shared(arg1)
nl_addr_shared = _capi.nl_addr_shared

def nl_addr_cmp(arg1, arg2):
    return _capi.nl_addr_cmp(arg1, arg2)
nl_addr_cmp = _capi.nl_addr_cmp

def nl_addr_cmp_prefix(arg1, arg2):
    return _capi.nl_addr_cmp_prefix(arg1, arg2)
nl_addr_cmp_prefix = _capi.nl_addr_cmp_prefix

def nl_addr_iszero(arg1):
    return _capi.nl_addr_iszero(arg1)
nl_addr_iszero = _capi.nl_addr_iszero

def nl_addr_valid(arg1, arg2):
    return _capi.nl_addr_valid(arg1, arg2)
nl_addr_valid = _capi.nl_addr_valid

def nl_addr_guess_family(arg1):
    return _capi.nl_addr_guess_family(arg1)
nl_addr_guess_family = _capi.nl_addr_guess_family

def nl_addr_fill_sockaddr(arg1, arg2, arg3):
    return _capi.nl_addr_fill_sockaddr(arg1, arg2, arg3)
nl_addr_fill_sockaddr = _capi.nl_addr_fill_sockaddr

def nl_addr_info(arg1, arg2):
    return _capi.nl_addr_info(arg1, arg2)
nl_addr_info = _capi.nl_addr_info

def nl_addr_resolve(addr, host, hostlen):
    return _capi.nl_addr_resolve(addr, host, hostlen)
nl_addr_resolve = _capi.nl_addr_resolve

def nl_addr_set_family(arg1, arg2):
    return _capi.nl_addr_set_family(arg1, arg2)
nl_addr_set_family = _capi.nl_addr_set_family

def nl_addr_get_family(arg1):
    return _capi.nl_addr_get_family(arg1)
nl_addr_get_family = _capi.nl_addr_get_family

def nl_addr_set_binary_addr(arg1, arg2, arg3):
    return _capi.nl_addr_set_binary_addr(arg1, arg2, arg3)
nl_addr_set_binary_addr = _capi.nl_addr_set_binary_addr

def nl_addr_get_binary_addr(arg1):
    return _capi.nl_addr_get_binary_addr(arg1)
nl_addr_get_binary_addr = _capi.nl_addr_get_binary_addr

def nl_addr_get_len(arg1):
    return _capi.nl_addr_get_len(arg1)
nl_addr_get_len = _capi.nl_addr_get_len

def nl_addr_set_prefixlen(arg1, arg2):
    return _capi.nl_addr_set_prefixlen(arg1, arg2)
nl_addr_set_prefixlen = _capi.nl_addr_set_prefixlen

def nl_addr_get_prefixlen(arg1):
    return _capi.nl_addr_get_prefixlen(arg1)
nl_addr_get_prefixlen = _capi.nl_addr_get_prefixlen

def nl_af2str(arg1, buf):
    return _capi.nl_af2str(arg1, buf)
nl_af2str = _capi.nl_af2str

def nl_str2af(arg1):
    return _capi.nl_str2af(arg1)
nl_str2af = _capi.nl_str2af

def nl_addr2str(arg1, buf):
    return _capi.nl_addr2str(arg1, buf)
nl_addr2str = _capi.nl_addr2str
NL_OK = _capi.NL_OK
NL_SKIP = _capi.NL_SKIP
NL_STOP = _capi.NL_STOP
NL_CB_DEFAULT = _capi.NL_CB_DEFAULT
NL_CB_VERBOSE = _capi.NL_CB_VERBOSE
NL_CB_DEBUG = _capi.NL_CB_DEBUG
NL_CB_CUSTOM = _capi.NL_CB_CUSTOM
__NL_CB_KIND_MAX = _capi.__NL_CB_KIND_MAX
NL_CB_VALID = _capi.NL_CB_VALID
NL_CB_FINISH = _capi.NL_CB_FINISH
NL_CB_OVERRUN = _capi.NL_CB_OVERRUN
NL_CB_SKIPPED = _capi.NL_CB_SKIPPED
NL_CB_ACK = _capi.NL_CB_ACK
NL_CB_MSG_IN = _capi.NL_CB_MSG_IN
NL_CB_MSG_OUT = _capi.NL_CB_MSG_OUT
NL_CB_INVALID = _capi.NL_CB_INVALID
NL_CB_SEQ_CHECK = _capi.NL_CB_SEQ_CHECK
NL_CB_SEND_ACK = _capi.NL_CB_SEND_ACK
NL_CB_DUMP_INTR = _capi.NL_CB_DUMP_INTR
__NL_CB_TYPE_MAX = _capi.__NL_CB_TYPE_MAX

def nl_cb_alloc(arg1):
    return _capi.nl_cb_alloc(arg1)
nl_cb_alloc = _capi.nl_cb_alloc

def nl_cb_clone(arg1):
    return _capi.nl_cb_clone(arg1)
nl_cb_clone = _capi.nl_cb_clone
class nlmsgerr(object):
    thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr
    error = _swig_property(_capi.nlmsgerr_error_get, _capi.nlmsgerr_error_set)
    __swig_destroy__ = _capi.delete_nlmsgerr
nlmsgerr_swigregister = _capi.nlmsgerr_swigregister
nlmsgerr_swigregister(nlmsgerr)


def py_nl_cb_clone(cb):
    return _capi.py_nl_cb_clone(cb)
py_nl_cb_clone = _capi.py_nl_cb_clone

def py_nl_cb_put(cb):
    return _capi.py_nl_cb_put(cb)
py_nl_cb_put = _capi.py_nl_cb_put

def py_nl_cb_set(cb, t, k, func, a):
    return _capi.py_nl_cb_set(cb, t, k, func, a)
py_nl_cb_set = _capi.py_nl_cb_set

def py_nl_cb_set_all(cb, k, func, a):
    return _capi.py_nl_cb_set_all(cb, k, func, a)
py_nl_cb_set_all = _capi.py_nl_cb_set_all

def py_nl_cb_err(cb, k, func, a):
    return _capi.py_nl_cb_err(cb, k, func, a)
py_nl_cb_err = _capi.py_nl_cb_err

def nla_data(arg1):
    return _capi.nla_data(arg1)
nla_data = _capi.nla_data

def nla_type(arg1):
    return _capi.nla_type(arg1)
nla_type = _capi.nla_type

def nla_put(arg1, arg2, arg3):
    return _capi.nla_put(arg1, arg2, arg3)
nla_put = _capi.nla_put

def nla_get_u8(arg1):
    return _capi.nla_get_u8(arg1)
nla_get_u8 = _capi.nla_get_u8

def nla_put_u8(arg1, arg2, arg3):
    return _capi.nla_put_u8(arg1, arg2, arg3)
nla_put_u8 = _capi.nla_put_u8

def nla_get_u16(arg1):
    return _capi.nla_get_u16(arg1)
nla_get_u16 = _capi.nla_get_u16

def nla_put_u16(arg1, arg2, arg3):
    return _capi.nla_put_u16(arg1, arg2, arg3)
nla_put_u16 = _capi.nla_put_u16

def nla_get_u32(arg1):
    return _capi.nla_get_u32(arg1)
nla_get_u32 = _capi.nla_get_u32

def nla_put_u32(arg1, arg2, arg3):
    return _capi.nla_put_u32(arg1, arg2, arg3)
nla_put_u32 = _capi.nla_put_u32

def nla_get_u64(arg1):
    return _capi.nla_get_u64(arg1)
nla_get_u64 = _capi.nla_get_u64

def nla_put_u64(arg1, arg2, arg3):
    return _capi.nla_put_u64(arg1, arg2, arg3)
nla_put_u64 = _capi.nla_put_u64

def nla_get_string(arg1):
    return _capi.nla_get_string(arg1)
nla_get_string = _capi.nla_get_string

def nla_strdup(arg1):
    return _capi.nla_strdup(arg1)
nla_strdup = _capi.nla_strdup

def nla_put_string(arg1, arg2, arg3):
    return _capi.nla_put_string(arg1, arg2, arg3)
nla_put_string = _capi.nla_put_string

def nla_get_flag(arg1):
    return _capi.nla_get_flag(arg1)
nla_get_flag = _capi.nla_get_flag

def nla_put_flag(arg1, arg2):
    return _capi.nla_put_flag(arg1, arg2)
nla_put_flag = _capi.nla_put_flag

def nla_get_msecs(arg1):
    return _capi.nla_get_msecs(arg1)
nla_get_msecs = _capi.nla_get_msecs

def nla_put_msecs(arg1, arg2, arg3):
    return _capi.nla_put_msecs(arg1, arg2, arg3)
nla_put_msecs = _capi.nla_put_msecs

def nla_put_nested(arg1, arg2, arg3):
    return _capi.nla_put_nested(arg1, arg2, arg3)
nla_put_nested = _capi.nla_put_nested

def nla_nest_start(arg1, arg2):
    return _capi.nla_nest_start(arg1, arg2)
nla_nest_start = _capi.nla_nest_start

def nla_nest_end(arg1, arg2):
    return _capi.nla_nest_end(arg1, arg2)
nla_nest_end = _capi.nla_nest_end

def py_nla_parse_nested(max, nest_attr, p):
    return _capi.py_nla_parse_nested(max, nest_attr, p)
py_nla_parse_nested = _capi.py_nla_parse_nested

def nla_get_nested(nest_attr):
    return _capi.nla_get_nested(nest_attr)
nla_get_nested = _capi.nla_get_nested
NLA_UNSPEC = _capi.NLA_UNSPEC
NLA_U8 = _capi.NLA_U8
NLA_U16 = _capi.NLA_U16
NLA_U32 = _capi.NLA_U32
NLA_U64 = _capi.NLA_U64
NLA_STRING = _capi.NLA_STRING
NLA_FLAG = _capi.NLA_FLAG
NLA_MSECS = _capi.NLA_MSECS
NLA_NESTED = _capi.NLA_NESTED
__NLA_TYPE_MAX = _capi.__NLA_TYPE_MAX
class nla_policy(object):
    thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr
    type = _swig_property(_capi.nla_policy_type_get, _capi.nla_policy_type_set)
    minlen = _swig_property(_capi.nla_policy_minlen_get, _capi.nla_policy_minlen_set)
    maxlen = _swig_property(_capi.nla_policy_maxlen_get, _capi.nla_policy_maxlen_set)
    __swig_destroy__ = _capi.delete_nla_policy
nla_policy_swigregister = _capi.nla_policy_swigregister
nla_policy_swigregister(nla_policy)


def nla_policy_array(n_items):
    return _capi.nla_policy_array(n_items)
nla_policy_array = _capi.nla_policy_array


