### Home Classes Methods

### In Files

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

### Methods

- #ipv6_calc_len
- #ipv6_class
- #ipv6_class=
- #ipv6_daddr
- #ipv6_daddr=
- #ipv6_dst
- #ipv6_dst=
- #ipv6_dst_readable
- #ipv6_hop
- #ipv6_hop=
- #ipv6_label
- #ipv6_label=
- #ipv6_len
- #ipv6_len=
- #ipv6_next
- #ipv6_next=
- #ipv6_recalc
- #ipv6_saddr
- #ipv6_saddr=
- #ipv6_src
- #ipv6_src=
- #ipv6_src_readable
- #ipv6_v
- #ipv6_v=

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

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

### Public Instance Methods

ipv6_calc_len() click to toggle source

    # File lib/packetfu/protos/ipv6/mixin.rb, line 22
    def ipv6_calc_len; self.ipv6_header.ipv6_calc_len; end

ipv6_class() click to toggle source

    # File lib/packetfu/protos/ipv6/mixin.rb, line 9
    def ipv6_class; self.ipv6_header.ipv6_class; end

ipv6_class=(v) click to toggle source

    # File lib/packetfu/protos/ipv6/mixin.rb, line 8
    def ipv6_class=(v); self.ipv6_header.ipv6_class= v; end

ipv6_daddr() click to toggle source

    # File lib/packetfu/protos/ipv6/mixin.rb, line 26
    def ipv6_daddr; self.ipv6_header.ipv6_daddr; end

ipv6_daddr=(v) click to toggle source

    # File lib/packetfu/protos/ipv6/mixin.rb, line 27
    def ipv6_daddr=(v); self.ipv6_header.ipv6_daddr= v; end

ipv6_dst() click to toggle source

    # File lib/packetfu/protos/ipv6/mixin.rb, line 21
    def ipv6_dst; self.ipv6_header.ipv6_dst; end

ipv6_dst=(v) click to toggle source

    # File lib/packetfu/protos/ipv6/mixin.rb, line 20
    def ipv6_dst=(v); self.ipv6_header.ipv6_dst= v; end

ipv6_dst_readable() click to toggle source

    # File lib/packetfu/protos/ipv6/mixin.rb, line 29
    def ipv6_dst_readable; self.ipv6_header.ipv6_dst_readable; end

ipv6_hop() click to toggle source

    # File lib/packetfu/protos/ipv6/mixin.rb, line 17
    def ipv6_hop; self.ipv6_header.ipv6_hop; end

ipv6_hop=(v) click to toggle source

    # File lib/packetfu/protos/ipv6/mixin.rb, line 16
    def ipv6_hop=(v); self.ipv6_header.ipv6_hop= v; end

ipv6_label() click to toggle source

    # File lib/packetfu/protos/ipv6/mixin.rb, line 11
    def ipv6_label; self.ipv6_header.ipv6_label; end

ipv6_label=(v) click to toggle source

    # File lib/packetfu/protos/ipv6/mixin.rb, line 10
    def ipv6_label=(v); self.ipv6_header.ipv6_label= v; end

ipv6_len() click to toggle source

    # File lib/packetfu/protos/ipv6/mixin.rb, line 13
    def ipv6_len; self.ipv6_header.ipv6_len; end

ipv6_len=(v) click to toggle source

    # File lib/packetfu/protos/ipv6/mixin.rb, line 12
    def ipv6_len=(v); self.ipv6_header.ipv6_len= v; end

ipv6_next() click to toggle source

    # File lib/packetfu/protos/ipv6/mixin.rb, line 15
    def ipv6_next; self.ipv6_header.ipv6_next; end

ipv6_next=(v) click to toggle source

    # File lib/packetfu/protos/ipv6/mixin.rb, line 14
    def ipv6_next=(v); self.ipv6_header.ipv6_next= v; end

ipv6_recalc(*v) click to toggle source

    # File lib/packetfu/protos/ipv6/mixin.rb, line 23
    def ipv6_recalc(*v); self.ipv6_header.ipv6_recalc(*v); end

ipv6_saddr() click to toggle source

    # File lib/packetfu/protos/ipv6/mixin.rb, line 24
    def ipv6_saddr; self.ipv6_header.ipv6_saddr; end

ipv6_saddr=(v) click to toggle source

    # File lib/packetfu/protos/ipv6/mixin.rb, line 25
    def ipv6_saddr=(v); self.ipv6_header.ipv6_saddr= v; end

ipv6_src() click to toggle source

    # File lib/packetfu/protos/ipv6/mixin.rb, line 19
    def ipv6_src; self.ipv6_header.ipv6_src; end

ipv6_src=(v) click to toggle source

    # File lib/packetfu/protos/ipv6/mixin.rb, line 18
    def ipv6_src=(v); self.ipv6_header.ipv6_src= v; end

ipv6_src_readable() click to toggle source

    # File lib/packetfu/protos/ipv6/mixin.rb, line 28
    def ipv6_src_readable; self.ipv6_header.ipv6_src_readable; end

ipv6_v() click to toggle source

    # File lib/packetfu/protos/ipv6/mixin.rb, line 7
    def ipv6_v; self.ipv6_header.ipv6_v; end

ipv6_v=(v) click to toggle source

    # File lib/packetfu/protos/ipv6/mixin.rb, line 6
    def ipv6_v=(v); self.ipv6_header.ipv6_v= v; end

[Validate]

Generated with the Darkfish Rdoc Generator 2.