### Home Classes Methods

### In Files

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

### Methods

- #hsrp_addr
- #hsrp_addr=
- #hsrp_group
- #hsrp_group=
- #hsrp_hellotime
- #hsrp_hellotime=
- #hsrp_holdtime
- #hsrp_holdtime=
- #hsrp_opcode
- #hsrp_opcode=
- #hsrp_password
- #hsrp_password=
- #hsrp_password_readable
- #hsrp_priority
- #hsrp_priority=
- #hsrp_reserved
- #hsrp_reserved=
- #hsrp_state
- #hsrp_state=
- #hsrp_version
- #hsrp_version=
- #hsrp_vip
- #hsrp_vip=
- #hsrp_vip_readable

### 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::HSRPHeaderMixin

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

### Public Instance Methods

hsrp_addr() click to toggle source

    # File lib/packetfu/protos/hsrp/mixin.rb, line 23
    def hsrp_addr; self.hsrp_header.hsrp_addr; end

hsrp_addr=(v) click to toggle source

    # File lib/packetfu/protos/hsrp/mixin.rb, line 22
    def hsrp_addr=(v); self.hsrp_header.hsrp_addr= v; end

hsrp_group() click to toggle source

    # File lib/packetfu/protos/hsrp/mixin.rb, line 19
    def hsrp_group; self.hsrp_header.hsrp_group; end

hsrp_group=(v) click to toggle source

    # File lib/packetfu/protos/hsrp/mixin.rb, line 18
    def hsrp_group=(v); self.hsrp_header.hsrp_group= v; end

hsrp_hellotime() click to toggle source

    # File lib/packetfu/protos/hsrp/mixin.rb, line 13
    def hsrp_hellotime; self.hsrp_header.hsrp_hellotime; end

hsrp_hellotime=(v) click to toggle source

    # File lib/packetfu/protos/hsrp/mixin.rb, line 12
    def hsrp_hellotime=(v); self.hsrp_header.hsrp_hellotime= v; end

hsrp_holdtime() click to toggle source

    # File lib/packetfu/protos/hsrp/mixin.rb, line 15
    def hsrp_holdtime; self.hsrp_header.hsrp_holdtime; end

hsrp_holdtime=(v) click to toggle source

    # File lib/packetfu/protos/hsrp/mixin.rb, line 14
    def hsrp_holdtime=(v); self.hsrp_header.hsrp_holdtime= v; end

hsrp_opcode() click to toggle source

    # File lib/packetfu/protos/hsrp/mixin.rb, line 9
    def hsrp_opcode; self.hsrp_header.hsrp_opcode; end

hsrp_opcode=(v) click to toggle source

    # File lib/packetfu/protos/hsrp/mixin.rb, line 8
    def hsrp_opcode=(v); self.hsrp_header.hsrp_opcode= v; end

hsrp_password() click to toggle source

    # File lib/packetfu/protos/hsrp/mixin.rb, line 26
    def hsrp_password; self.hsrp_header.hsrp_password; end

hsrp_password=(v) click to toggle source

    # File lib/packetfu/protos/hsrp/mixin.rb, line 27
    def hsrp_password=(v); self.hsrp_header.hsrp_password= v; end

hsrp_password_readable() click to toggle source

    # File lib/packetfu/protos/hsrp/mixin.rb, line 25
    def hsrp_password_readable; self.hsrp_header.hsrp_password_readable; end

hsrp_priority() click to toggle source

    # File lib/packetfu/protos/hsrp/mixin.rb, line 17
    def hsrp_priority; self.hsrp_header.hsrp_priority; end

hsrp_priority=(v) click to toggle source

    # File lib/packetfu/protos/hsrp/mixin.rb, line 16
    def hsrp_priority=(v); self.hsrp_header.hsrp_priority= v; end

hsrp_reserved() click to toggle source

    # File lib/packetfu/protos/hsrp/mixin.rb, line 21
    def hsrp_reserved; self.hsrp_header.hsrp_reserved; end

hsrp_reserved=(v) click to toggle source

    # File lib/packetfu/protos/hsrp/mixin.rb, line 20
    def hsrp_reserved=(v); self.hsrp_header.hsrp_reserved= v; end

hsrp_state() click to toggle source

    # File lib/packetfu/protos/hsrp/mixin.rb, line 11
    def hsrp_state; self.hsrp_header.hsrp_state; end

hsrp_state=(v) click to toggle source

    # File lib/packetfu/protos/hsrp/mixin.rb, line 10
    def hsrp_state=(v); self.hsrp_header.hsrp_state= v; end

hsrp_version() click to toggle source

    # File lib/packetfu/protos/hsrp/mixin.rb, line 7
    def hsrp_version; self.hsrp_header.hsrp_version; end

hsrp_version=(v) click to toggle source

    # File lib/packetfu/protos/hsrp/mixin.rb, line 6
    def hsrp_version=(v); self.hsrp_header.hsrp_version= v; end

hsrp_vip() click to toggle source

    # File lib/packetfu/protos/hsrp/mixin.rb, line 28
    def hsrp_vip; self.hsrp_header.hsrp_vip; end

hsrp_vip=(v) click to toggle source

    # File lib/packetfu/protos/hsrp/mixin.rb, line 29
    def hsrp_vip=(v); self.hsrp_header.hsrp_vip= v; end

hsrp_vip_readable() click to toggle source

    # File lib/packetfu/protos/hsrp/mixin.rb, line 24
    def hsrp_vip_readable; self.hsrp_header.hsrp_vip_readable; end

[Validate]

Generated with the Darkfish Rdoc Generator 2.