Socket/Netlink/Route.pm

filter: Statementstmt 100% 14 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 100% 18 / 18 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Socket/Netlink/Route_const.pm ↑ Summary
1 # You may distribute under the terms of either the GNU General Public License
2 # or the Artistic License (the same terms as Perl itself)
3 #
4 # (C) Paul Evans, 2010 -- leonerd@leonerd.org.uk
5  
6 package Socket::Netlink::Route;
7  
8 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
9 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 1 our $VERSION = '0.05';
12  
13 1 ▶use Exporter 'import';
Subroutine BEGIN: called CC=1 SCAR=0.0
14  
15 1 ▶use Socket::Netlink::Route_const;
Subroutine BEGIN: called CC=1 SCAR=0.0
16  
17 =head1 NAME
18  
19 C<Socket::Netlink::Route> - interface to Linux's C<NETLINK_ROUTE> netlink
20 socket protocol
21  
22 =head1 DESCRIPTION
23  
24 This module contains the low-level constants and structure handling functions
25 required to use the C<NETLINK_ROUTE> protocol of Linux's C<PF_NETLINK> socket
26 family. It is suggested to use the high-level object interface to this
27 protocol instead; see L<IO::Socket::Netlink::Route>.
28  
29 For more information, see the Linux kernel documentation about the
30 C<NETLINK_ROUTE> protocol family in F<rtnetlink(7)>
31  
32 $ man 7 rtnetlink
33  
34 =cut
35  
36 =head1 SEE ALSO
37  
38 =over 4
39  
40 =item *
41  
42 L<Socket::Netlink> - interface to Linux's C<PF_NETLINK> socket family
43  
44 =item *
45  
46 L<IO::Socket::Netlink::Route> - Object interface to C<NETLINK_ROUTE> netlink
47 protocol sockets
48  
49 =back
50  
51 =head1 AUTHOR
52  
53 Paul Evans <leonerd@leonerd.org.uk>
54  
55 =cut
56  
57 1 0x55AA;
« Socket/Netlink/Route_const.pm ↑ Summary