| 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; | |