Module rsyscall.linux.rtnetlink

#include <linux/rtnetlink.h>

Expand source code Browse git
"`#include <linux/rtnetlink.h>`"
import pyroute2.netlink.rtnl as rtnl
import enum

__all__ = [
    "RTMGRP",
]

class RTMGRP(enum.IntFlag):
    NONE = rtnl.RTMGRP_NONE
    LINK = rtnl.RTMGRP_LINK
    NOTIFY = rtnl.RTMGRP_NOTIFY
    NEIGH = rtnl.RTMGRP_NEIGH
    TC = rtnl.RTMGRP_TC
    IPV4_IFADDR = rtnl.RTMGRP_IPV4_IFADDR
    IPV4_MROUTE = rtnl.RTMGRP_IPV4_MROUTE
    IPV4_ROUTE = rtnl.RTMGRP_IPV4_ROUTE
    IPV4_RULE = rtnl.RTMGRP_IPV4_RULE
    IPV6_IFADDR = rtnl.RTMGRP_IPV6_IFADDR
    IPV6_MROUTE = rtnl.RTMGRP_IPV6_MROUTE
    IPV6_ROUTE = rtnl.RTMGRP_IPV6_ROUTE
    IPV6_IFINFO = rtnl.RTMGRP_IPV6_IFINFO
    DECnet_IFADDR = rtnl.RTMGRP_DECnet_IFADDR
    NOP2 = rtnl.RTMGRP_NOP2
    DECnet_ROUTE = rtnl.RTMGRP_DECnet_ROUTE
    DECnet_RULE = rtnl.RTMGRP_DECnet_RULE
    NOP4 = rtnl.RTMGRP_NOP4
    IPV6_PREFIX = rtnl.RTMGRP_IPV6_PREFIX
    IPV6_RULE = rtnl.RTMGRP_IPV6_RULE
    MPLS_ROUTE = rtnl.RTMGRP_MPLS_ROUTE

Classes

class RTMGRP (value, names=None, *, module=None, qualname=None, type=None, start=1)

An enumeration.

Expand source code Browse git
class RTMGRP(enum.IntFlag):
    NONE = rtnl.RTMGRP_NONE
    LINK = rtnl.RTMGRP_LINK
    NOTIFY = rtnl.RTMGRP_NOTIFY
    NEIGH = rtnl.RTMGRP_NEIGH
    TC = rtnl.RTMGRP_TC
    IPV4_IFADDR = rtnl.RTMGRP_IPV4_IFADDR
    IPV4_MROUTE = rtnl.RTMGRP_IPV4_MROUTE
    IPV4_ROUTE = rtnl.RTMGRP_IPV4_ROUTE
    IPV4_RULE = rtnl.RTMGRP_IPV4_RULE
    IPV6_IFADDR = rtnl.RTMGRP_IPV6_IFADDR
    IPV6_MROUTE = rtnl.RTMGRP_IPV6_MROUTE
    IPV6_ROUTE = rtnl.RTMGRP_IPV6_ROUTE
    IPV6_IFINFO = rtnl.RTMGRP_IPV6_IFINFO
    DECnet_IFADDR = rtnl.RTMGRP_DECnet_IFADDR
    NOP2 = rtnl.RTMGRP_NOP2
    DECnet_ROUTE = rtnl.RTMGRP_DECnet_ROUTE
    DECnet_RULE = rtnl.RTMGRP_DECnet_RULE
    NOP4 = rtnl.RTMGRP_NOP4
    IPV6_PREFIX = rtnl.RTMGRP_IPV6_PREFIX
    IPV6_RULE = rtnl.RTMGRP_IPV6_RULE
    MPLS_ROUTE = rtnl.RTMGRP_MPLS_ROUTE

Ancestors

  • enum.IntFlag
  • builtins.int
  • enum.Flag
  • enum.Enum

Class variables

var NONE
var NOTIFY
var NEIGH
var TC
var IPV4_IFADDR
var IPV4_MROUTE
var IPV4_ROUTE
var IPV4_RULE
var IPV6_IFADDR
var IPV6_MROUTE
var IPV6_ROUTE
var IPV6_IFINFO
var DECnet_IFADDR
var NOP2
var DECnet_ROUTE
var DECnet_RULE
var NOP4
var IPV6_PREFIX
var IPV6_RULE
var MPLS_ROUTE