|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | 03-May-2022 | - |
| build_stuff/ | H | 03-May-2022 | - | 250 | 165 |
| hints/ | H | 23-Sep-2016 | - | 3 | 1 |
| inst/ | H | 23-Sep-2016 | - | 838 | 604 |
| lib/Net/Interface/ | H | 23-Sep-2016 | - | 462 | 4 |
| t/ | H | 23-Sep-2016 | - | 1,220 | 1,083 |
| Artistic | H A D | 12-Feb-2009 | 6 KiB | 132 | 99 |
| Changes | H A D | 23-Sep-2016 | 6.6 KiB | 219 | 155 |
| Copying | H A D | 12-Feb-2009 | 17.6 KiB | 340 | 281 |
| Interface.pm | H A D | 23-Sep-2016 | 28.5 KiB | 1,143 | 248 |
| Interface.xs | H A D | 21-Sep-2016 | 26.5 KiB | 1,048 | 828 |
| MANIFEST | H A D | 21-Sep-2016 | 1,010 | 64 | 63 |
| MANIFEST.SKIP | H A D | 25-Feb-2009 | 364 | 32 | 30 |
| META.yml | H A D | 23-Sep-2016 | 416 | 15 | 14 |
| Makefile.PL | H A D | 23-Sep-2016 | 4.8 KiB | 188 | 126 |
| README | H A D | 22-Feb-2009 | 1.6 KiB | 53 | 36 |
| config.guess | H A D | 12-Feb-2009 | 43.9 KiB | 1,527 | 1,315 |
| config.h.in | H A D | 25-Feb-2009 | 14 KiB | 610 | 412 |
| config.sub | H A D | 12-Feb-2009 | 33 KiB | 1,678 | 1,533 |
| configure | H A D | 07-Mar-2009 | 448.3 KiB | 18,021 | 14,971 |
| configure.ac | H A D | 07-Mar-2009 | 18.5 KiB | 574 | 532 |
| defaults.h | H A D | 25-Feb-2009 | 6.4 KiB | 305 | 257 |
| file_definitions | H A D | 12-Feb-2009 | 2.2 KiB | 41 | 38 |
| inet_aton.c | H A D | 12-Feb-2009 | 2 KiB | 62 | 23 |
| install-sh | H A D | 12-Feb-2009 | 0 | | |
| localconf.h | H A D | 07-Mar-2009 | 3.2 KiB | 117 | 51 |
| miniSocketXS.c | H A D | 25-Feb-2009 | 5 KiB | 131 | 122 |
| ni_SMI-NUMBERS.c | H A D | 12-Feb-2009 | 5.3 KiB | 262 | 252 |
| ni_af_inetcommon.c | H A D | 27-Feb-2009 | 9.3 KiB | 308 | 188 |
| ni_fallbackhwaddr.c | H A D | 12-Feb-2009 | 6.6 KiB | 228 | 163 |
| ni_fixups.h | H A D | 25-Feb-2009 | 10 KiB | 342 | 208 |
| ni_funct.h | H A D | 07-Mar-2009 | 15.4 KiB | 495 | 213 |
| ni_get_set.c | H A D | 23-Feb-2009 | 4.3 KiB | 154 | 80 |
| ni_getifaddrs.c | H A D | 19-Feb-2009 | 11.5 KiB | 384 | 226 |
| ni_ifreq.c | H A D | 07-Mar-2009 | 6.7 KiB | 264 | 191 |
| ni_in6_classify.c | H A D | 12-Feb-2009 | 11.9 KiB | 313 | 115 |
| ni_in6_ifreq.c | H A D | 07-Mar-2009 | 12 KiB | 425 | 320 |
| ni_lifreq.c | H A D | 07-Mar-2009 | 10.5 KiB | 394 | 297 |
| ni_linuxproc.c | H A D | 09-Mar-2009 | 10.5 KiB | 415 | 311 |
| ni_malloc.c | H A D | 19-Feb-2009 | 2.2 KiB | 84 | 34 |
| ni_memcmp.c | H A D | 12-Feb-2009 | 2.4 KiB | 79 | 17 |
| ni_memcmp.h | H A D | 12-Feb-2009 | 1.6 KiB | 45 | 4 |
| ni_strlcpy.c | H A D | 12-Feb-2009 | 2.9 KiB | 92 | 25 |
| ni_strlcpy.h | H A D | 12-Feb-2009 | 1.6 KiB | 46 | 3 |
| ni_util.c | H A D | 25-Feb-2009 | 8.1 KiB | 323 | 189 |
| ppport.h | H A D | 12-Feb-2009 | 7.6 KiB | 287 | 112 |
| test.pl.developer | H A D | 27-Nov-2009 | 2.4 KiB | 143 | 95 |
| typemap | H A D | 12-Feb-2009 | 26 | 3 | 2 |
README
1
2README for Net::Interface version 1.xx
3
4Net::Interface is a module that allows access to the host
5network interfaces in a manner similar to ifconfig(8).
6Version 1.00 is a complete re-write and includes support
7for IPV6 as well as the traditional IPV4.
8
9Creating and deleting interfaces is not yet supported
10although the documentation says otherwise. Give it some
11time.
12
13Net::Interface 1.0x works on more platforms and supports
14all the operations of the previous version with the addition
15of ipV6 support as well as numerous new methods and functions.
16
17Hackers welcome, see Net::Interface::Developer.
18
19There are revisions to the API, see the section titled:
20
21 WARNING - API CHANGES
22
23In most instances this will not make a difference since previous
24versions of Net::Interface had no support for multiple addresses
25on the same interface and no support for a variety of platforms
26where the difference would be noticed.
27
28NOT YET SUPPORTED:
29
30 $if->delete
31 $if->new(%iface_spec) (create or update)
32 $if->hwaddr($new_mac) (change MAC addr)
33
34If something except the three items above does not work on your
35platform, please let me know. I have limited availability OS's
36with which to develop and a development account on a foreign host
37with a different OS would be very useful.
38
39UN-TESTED CODE
40
41Code to retrieve the MAC address using:
42
43 #ifdef HAVE_NIT_IF_H (sun OS, not solaris)
44 or
45 #ifdef HAVE_NETIO_H (win32, not yet supported)
46 or
47 "style 1" DLPI (...ooold solaris)
48
49is implemented but untested. If you have a platform to test this,
50your assistance would be appreciated.
51
52Enjoy: Michael Robinton <michael@bizsystems.com>
53