### Home Classes Methods

### In Files

- lib/packetfu/protos/lldp/mixin.rb

### Methods

- #lldp_address
- #lldp_address=
- #lldp_address_type
- #lldp_address_type=
- #lldp_capabilty
- #lldp_capabilty=
- #lldp_chassis_id
- #lldp_chassis_id=
- #lldp_chassis_id_type
- #lldp_chassis_id_type=
- #lldp_enabled_capability
- #lldp_enabled_capability=
- #lldp_interface
- #lldp_interface=
- #lldp_interface_type
- #lldp_interface_type=
- #lldp_oid
- #lldp_oid=
- #lldp_port_description
- #lldp_port_description=
- #lldp_port_id
- #lldp_port_id=
- #lldp_port_id_type
- #lldp_port_id_type=
- #lldp_saddr_ip
- #lldp_saddr_ip=
- #lldp_saddr_mac
- #lldp_saddr_mac=
- #lldp_system_description
- #lldp_system_description=
- #lldp_system_name
- #lldp_system_name=
- #lldp_ttl
- #lldp_ttl=

### Files

- .document
- README.rdoc

### Class/Module Index

Quicksearch

- PacketFu
- PacketFu::ARPHeader
- PacketFu::ARPHeaderMixin
- PacketFu::ARPPacket
- PacketFu::AddrIpv6
- PacketFu::Capture
- PacketFu::Config
- PacketFu::EthHeader
- PacketFu::EthHeaderMixin
- PacketFu::EthMac
- PacketFu::EthNic
- PacketFu::EthOui
- PacketFu::EthPacket
- PacketFu::HSRPHeader
- PacketFu::HSRPHeaderMixin
- PacketFu::HSRPPacket
- PacketFu::ICMPHeader
- PacketFu::ICMPHeaderMixin
- PacketFu::ICMPPacket
- PacketFu::IPHeader
- PacketFu::IPHeaderMixin
- PacketFu::IPPacket
- PacketFu::IPv6Header
- PacketFu::IPv6HeaderMixin
- PacketFu::IPv6Packet
- PacketFu::Inject
- PacketFu::InvalidHeader
- PacketFu::InvalidPacket
- PacketFu::LLDPHeader
- PacketFu::LLDPHeaderMixin
- PacketFu::LLDPPacket
- PacketFu::Octets
- PacketFu::Packet
- PacketFu::PcapFile
- PacketFu::PcapHeader
- PacketFu::PcapPacket
- PacketFu::PcapPackets
- PacketFu::Read
- PacketFu::TCPHeader
- PacketFu::TCPHeaderMixin
- PacketFu::TCPPacket
- PacketFu::TcpEcn
- PacketFu::TcpFlags
- PacketFu::TcpHlen
- PacketFu::TcpOption
- PacketFu::TcpOption::ECHO
- PacketFu::TcpOption::ECHOREPLY
- PacketFu::TcpOption::EOL
- PacketFu::TcpOption::MSS
- PacketFu::TcpOption::NOP
- PacketFu::TcpOption::SACK
- PacketFu::TcpOption::SACKOK
- PacketFu::TcpOption::TS
- PacketFu::TcpOption::WS
- PacketFu::TcpOptions
- PacketFu::TcpReserved
- PacketFu::Timestamp
- PacketFu::UDPHeader
- PacketFu::UDPHeaderMixin
- PacketFu::UDPPacket
- PacketFu::Utils
- PacketFu::Write
- StructFu
- StructFu::Int
- StructFu::Int16
- StructFu::Int16be
- StructFu::Int16le
- StructFu::Int32
- StructFu::Int32be
- StructFu::Int32le
- StructFu::Int8
- StructFu::IntString
- StructFu::String
- Struct

No matching classes.

# PacketFu::LLDPHeaderMixin

This Mixin simplifies access to the LLDPHeaders. Mix this in with your packet interface, and it will add methods that essentially delegate to the 'lldp_header' method (assuming that it is a LLDPHeader object)

### Public Instance Methods

lldp_address() click to toggle source

    # File lib/packetfu/protos/lldp/mixin.rb, line 38
    def lldp_address; self.lldp_header.lldp_saddr_ip(); end

lldp_address=(v) click to toggle source

    # File lib/packetfu/protos/lldp/mixin.rb, line 37
    def lldp_address=(v); self.lldp_header.lldp_saddr_ip= v; end

lldp_address_type() click to toggle source

    # File lib/packetfu/protos/lldp/mixin.rb, line 35
    def lldp_address_type; self.lldp_header.lldp_address_type; end

lldp_address_type=(v) click to toggle source

    # File lib/packetfu/protos/lldp/mixin.rb, line 34
    def lldp_address_type=(v); self.lldp_header.lldp_address_type= v; end

lldp_capabilty() click to toggle source

    # File lib/packetfu/protos/lldp/mixin.rb, line 29
    def lldp_capabilty; self.lldp_header.lldp_capabilty_readable(); end

lldp_capabilty=(v) click to toggle source

    # File lib/packetfu/protos/lldp/mixin.rb, line 28
    def lldp_capabilty=(v); self.lldp_header.lldp_capabilty= v; end

lldp_chassis_id() click to toggle source

    # File lib/packetfu/protos/lldp/mixin.rb, line 9
    def lldp_chassis_id; self.lldp_header.lldp_chassis_id_readable(); end

lldp_chassis_id=(v) click to toggle source

    # File lib/packetfu/protos/lldp/mixin.rb, line 8
    def lldp_chassis_id=(v); self.lldp_header.lldp_chassis_id= v; end

lldp_chassis_id_type() click to toggle source

    # File lib/packetfu/protos/lldp/mixin.rb, line 7
    def lldp_chassis_id_type; self.lldp_header.lldp_chassis_id_type; end

lldp_chassis_id_type=(v) click to toggle source

    # File lib/packetfu/protos/lldp/mixin.rb, line 6
    def lldp_chassis_id_type=(v); self.lldp_header.lldp_chassis_id_type= v; end

lldp_enabled_capability() click to toggle source

    # File lib/packetfu/protos/lldp/mixin.rb, line 32
    def lldp_enabled_capability; self.lldp_header.lldp_enabled_capability_readable(); end

lldp_enabled_capability=(v) click to toggle source

    # File lib/packetfu/protos/lldp/mixin.rb, line 31
    def lldp_enabled_capability=(v); self.lldp_header.lldp_enabled_capability= v; end

lldp_interface() click to toggle source

    # File lib/packetfu/protos/lldp/mixin.rb, line 44
    def lldp_interface; self.lldp_header.lldp_interface; end

lldp_interface=(v) click to toggle source

    # File lib/packetfu/protos/lldp/mixin.rb, line 43
    def lldp_interface=(v); self.lldp_header.lldp_interface= v; end

lldp_interface_type() click to toggle source

    # File lib/packetfu/protos/lldp/mixin.rb, line 41
    def lldp_interface_type; self.lldp_header.lldp_interface_type; end

lldp_interface_type=(v) click to toggle source

    # File lib/packetfu/protos/lldp/mixin.rb, line 40
    def lldp_interface_type=(v); self.lldp_header.lldp_interface_type= v; end

lldp_oid() click to toggle source

    # File lib/packetfu/protos/lldp/mixin.rb, line 47
    def lldp_oid; self.lldp_header.lldp_oid; end

lldp_oid=(v) click to toggle source

    # File lib/packetfu/protos/lldp/mixin.rb, line 46
    def lldp_oid=(v); self.lldp_header.lldp_oid= v; end

lldp_port_description() click to toggle source

    # File lib/packetfu/protos/lldp/mixin.rb, line 20
    def lldp_port_description; self.lldp_header.lldp_port_description; end

lldp_port_description=(v) click to toggle source

    # File lib/packetfu/protos/lldp/mixin.rb, line 19
    def lldp_port_description=(v); self.lldp_header.lldp_port_description= v; end

lldp_port_id() click to toggle source

    # File lib/packetfu/protos/lldp/mixin.rb, line 14
    def lldp_port_id; self.lldp_header.lldp_port_id_readable(); end

lldp_port_id=(v) click to toggle source

    # File lib/packetfu/protos/lldp/mixin.rb, line 13
    def lldp_port_id=(v); self.lldp_header.lldp_port_id= v; end

lldp_port_id_type() click to toggle source

    # File lib/packetfu/protos/lldp/mixin.rb, line 12
    def lldp_port_id_type; self.lldp_header.lldp_port_id_type; end

lldp_port_id_type=(v) click to toggle source

    # File lib/packetfu/protos/lldp/mixin.rb, line 11
    def lldp_port_id_type=(v); self.lldp_header.lldp_port_id_type= v; end

lldp_saddr_ip() click to toggle source

    # File lib/packetfu/protos/lldp/mixin.rb, line 52
    def lldp_saddr_ip; self.lldp_header.lldp_saddr_ip(); end

lldp_saddr_ip=(v) click to toggle source

    # File lib/packetfu/protos/lldp/mixin.rb, line 51
    def lldp_saddr_ip=(v); self.lldp_header.lldp_saddr_ip= v; end

lldp_saddr_mac() click to toggle source

    # File lib/packetfu/protos/lldp/mixin.rb, line 50
    def lldp_saddr_mac; self.lldp_header.lldp_saddr_mac; end

lldp_saddr_mac=(v) click to toggle source

    # File lib/packetfu/protos/lldp/mixin.rb, line 49
    def lldp_saddr_mac=(v); self.lldp_header.lldp_saddr_mac= v; end

lldp_system_description() click to toggle source

    # File lib/packetfu/protos/lldp/mixin.rb, line 26
    def lldp_system_description; self.lldp_header.lldp_system_description; end

lldp_system_description=(v) click to toggle source

    # File lib/packetfu/protos/lldp/mixin.rb, line 25
    def lldp_system_description=(v); self.lldp_header.lldp_system_description= v; end

lldp_system_name() click to toggle source

    # File lib/packetfu/protos/lldp/mixin.rb, line 23
    def lldp_system_name; self.lldp_header.lldp_system_name; end

lldp_system_name=(v) click to toggle source

    # File lib/packetfu/protos/lldp/mixin.rb, line 22
    def lldp_system_name=(v); self.lldp_header.lldp_system_name= v; end

lldp_ttl() click to toggle source

    # File lib/packetfu/protos/lldp/mixin.rb, line 17
    def lldp_ttl; self.lldp_header.lldp_ttl; end

lldp_ttl=(v) click to toggle source

    # File lib/packetfu/protos/lldp/mixin.rb, line 16
    def lldp_ttl=(v); self.lldp_header.lldp_ttl= v; end

[Validate]

Generated with the Darkfish Rdoc Generator 2.