1NetPacket::IPX(3)     User Contributed Perl Documentation    NetPacket::IPX(3)
2
3
4

NAME

6       NetPacket::IPX - Assemble and disassemble IPX packets
7

VERSION

9       version 1.7.2
10

SYNOPSIS

12         use NetPacket::IPX;
13
14         my $ipx = NetPacket::IPX->decode($raw_pkt);
15
16         my $raw_pkt = $ipx->encode();
17
18         my $ipx = NetPacket::IPX->new(
19                 tc   => 0,
20                 type => 1,
21
22                 dest_network => "00:00:00:01",
23                 dest_node    => "FF:FF:FF:FF:FF:FF",
24                 dest_socket  => 1234,
25
26                 src_network => "00:00:00:01",
27                 src_node    => "12:34:56:78:90:AB",
28                 src_socket  => 5678,
29
30                 data => "...",
31         );
32

DESCRIPTION

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

METHODS

38   decode($raw_pkt)
39       Decode a packet and return a "NetPacket::IPX" instance.
40
41   encode()
42       Return the encoded form of a "NetPacket::IPX" instance.
43
44   new(%options)
45       Construct a "NetPacket::IPX" instance with arbitrary contents. All
46       arguments listed in the SYNOPSIS are mandatory.
47
48       Throws an exception on missing/invalid arguments.
49

INSTANCE DATA

51       The following fields are available in a "NetPacket::IPX" instance:
52
53       tc  Traffic Control field, the number of routers an IPX packet has
54           passed through.
55
56       type
57           Type field.
58
59       dest_network
60           Destination network number, in the format "XX:XX:XX:XX".
61
62       dest_node
63           Destination node number, in the format "XX:XX:XX:XX:XX:XX".
64
65       dest_socket
66           Destination socket number.
67
68       src_network
69           Source network number, in the format "XX:XX:XX:XX".
70
71       dest_node
72           Source node number, in the format "XX:XX:XX:XX:XX:XX".
73
74       dest_socket
75           Source socket number.
76
77       data
78           Packet payload.
79
81       Copyright (C) 2014 Daniel Collins
82
83       This module is free software. You can redistribute it and/or modify it
84       under the same terms as Perl itself.
85

AUTHOR

87       Daniel Collins <solemnwarning@solemnwarning.net>
88
89
90
91perl v5.36.0                      2022-07-22                 NetPacket::IPX(3)
Impressum