NetPacket::IPX(3pm)

NetPacket::IPX3pm

Assemble and disassemble ipx packets

Usage

  use NetPacket::IPX;
  
  my $ipx = NetPacket::IPX->decode($raw_pkt);
  
  my $raw_pkt = $ipx->encode();
  
  my $ipx = NetPacket::IPX->new(
          tc   => 0,
          type => 1,
          
          dest_network => "00:00:00:01",
          dest_node    => "FF:FF:FF:FF:FF:FF",
          dest_socket  => 1234,
          
          src_network => "00:00:00:01",
          src_node    => "12:34:56:78:90:AB",
          src_socket  => 5678,
          
          data => "...",
  );

Version

version 1.7.2

Overview

"NetPacket::IPX" is a "NetPacket" class for encoding and decoding IPX packets.

Methods

decode($raw_pkt)

Decode a packet and return a "NetPacket::IPX" instance.

encode()

Return the encoded form of a "NetPacket::IPX" instance.

new(%options)

Construct a "NetPacket::IPX" instance with arbitrary contents. All arguments listed in the SYNOPSIS are mandatory.

Throws an exception on missing/invalid arguments.

Instance data

The following fields are available in a "NetPacket::IPX" instance:

tc

Traffic Control field, the number of routers an IPX packet has passed through.

type

Type field.

dest_network

Destination network number, in the format "XX:XX:XX:XX".

dest_node

Destination node number, in the format "XX:XX:XX:XX:XX:XX".

dest_socket

Destination socket number.

src_network

Source network number, in the format "XX:XX:XX:XX".

dest_node

Source node number, in the format "XX:XX:XX:XX:XX:XX".

dest_socket

Source socket number.

data

Packet payload.

Releases

6 releases since Debian 8 (Jessie); the text changed 4 times.

  1. 8
  2. 9
  3. 10
  4. 11
  5. 12–13

Author

Daniel Collins <[email protected]>

From libnetpacket-perl 1.7.2-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.