line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# |
2
|
|
|
|
|
|
|
# Perl ARP Extension |
3
|
|
|
|
|
|
|
# |
4
|
|
|
|
|
|
|
# Programmed by Bastian Ballmann |
5
|
|
|
|
|
|
|
# Last update: 24.06.2013 |
6
|
|
|
|
|
|
|
# |
7
|
|
|
|
|
|
|
# This program is free software; you can redistribute |
8
|
|
|
|
|
|
|
# it and/or modify it under the terms of the |
9
|
|
|
|
|
|
|
# GNU General Public License version 2 as published |
10
|
|
|
|
|
|
|
# by the Free Software Foundation. |
11
|
|
|
|
|
|
|
# |
12
|
|
|
|
|
|
|
# This program is distributed in the hope that it will |
13
|
|
|
|
|
|
|
# be useful, but WITHOUT ANY WARRANTY; without even |
14
|
|
|
|
|
|
|
# the implied warranty of MERCHANTABILITY or FITNESS |
15
|
|
|
|
|
|
|
# FOR A PARTICULAR PURPOSE. |
16
|
|
|
|
|
|
|
# See the GNU General Public License for more details. |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
package Net::ARP; |
19
|
|
|
|
|
|
|
|
20
|
4
|
|
|
4
|
|
30263
|
use strict; |
|
4
|
|
|
|
|
6
|
|
|
4
|
|
|
|
|
139
|
|
21
|
4
|
|
|
4
|
|
20
|
use warnings; |
|
4
|
|
|
|
|
4
|
|
|
4
|
|
|
|
|
768
|
|
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
require Exporter; |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
our @ISA = qw(Exporter); |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
# Items to export into callers namespace by default. Note: do not export |
28
|
|
|
|
|
|
|
# names by default without a very good reason. Use EXPORT_OK instead. |
29
|
|
|
|
|
|
|
# Do not simply export all your public functions/methods/constants. |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
# This allows declaration use ARP ':all'; |
32
|
|
|
|
|
|
|
# If you do not need this, moving things directly into @EXPORT or @EXPORT_OK |
33
|
|
|
|
|
|
|
# will save memory. |
34
|
|
|
|
|
|
|
our %EXPORT_TAGS = ( 'all' => [ qw( |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
) ] ); |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
our @EXPORT_OK = ( @{ $EXPORT_TAGS{'all'} } ); |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
our @EXPORT = qw( |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
); |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
our $VERSION = '1.0.8'; |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
require XSLoader; |
47
|
|
|
|
|
|
|
XSLoader::load('Net::ARP', $VERSION); |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
# Preloaded methods go here. |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
1; |
52
|
|
|
|
|
|
|
__END__ |