PCS  0.4
Public Member Functions | Public Attributes | Static Public Attributes
pcs.packets.rtnetlink.NexthopField Class Reference
Inheritance diagram for pcs.packets.rtnetlink.NexthopField:
pcs.CompoundField

List of all members.

Public Member Functions

def __init__
def __repr__
def __str__
def __setattr__
def decode
def encode
def bounds
def __eq__
def __ne__
def default_compare

Public Attributes

 packet
 name
 len
 flags
 hops
 ifindex
 tlvs
 width

Static Public Attributes

tuple default_compare = staticmethod(default_compare)

Detailed Description

An RTnetlink nexthop field contains information about each
   candidate next-hop known to the forwarding plane for a given prefix.

Member Function Documentation

def pcs.packets.rtnetlink.NexthopField.__eq__ (   self,
  other 
)
Walk the entire field and pretty print the values of the fields.

References pcs.packets.netlink.nlmsghdr._flag_bits, pcs.packets.rtnetlink.NexthopField._flag_bits, pcs.Field.packet, pcs.packets.igmpv3.GroupRecordField.packet, pcs.StringField.packet, pcs.packets.rtnetlink.NexthopField.packet, pcs.LengthValueField.packet, pcs.TypeValueField.packet, pcs.TypeLengthValueField.packet, and pcs.OptionListField.packet.

def pcs.packets.rtnetlink.NexthopField.bounds (   self,
  value 
)
Check the bounds of this field.
def pcs.packets.rtnetlink.NexthopField.default_compare (   lp,
  lf,
  rp,
  rf 
)
Default comparison method.
def pcs.packets.rtnetlink.NexthopField.encode (   self,
  bytearray,
  value,
  byte,
  byteBR 
)
Encode a NexthopField.

The documentation for this class was generated from the following file: