Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Man page updates for ipcalc(1) | David Cantrell | 2009-05-04 | 1 | -1/+2 |
| | | | | | Make sure the ipcalc man page explains the -c, -4, and -6 options. Update some other things. Shamelessly add my name. | ||||
* | Add a address check capability for IPv4 and IPv6 addresses. (#464268) | David Cantrell | 2009-05-04 | 1 | -0/+42 |
| | | | | | | | | | | | | | Add the -c, --check argument which enables address validation. The ipcalc program will exit with 0 if the address is valid or 1 if it is invalid, for the specified family. Add the -4, --ipv4 argument to specify the IPv4 address family. Add the -6, --ipv6 argument to specify the IPv6 address family. Ensure that the IPv6 family argument is invalid with the IPv4-only show arguments (broadcast, network, netmask, prefix). | ||||
* | Use asprintf() rather than malloc() and sprintf(). | David Cantrell | 2009-05-04 | 1 | -3/+6 |
| | | | | | Use asprintf() for conversion and abort on memory allocation failures. | ||||
* | Use inet_ntop() and inet_pton() | David Cantrell | 2009-05-04 | 1 | -5/+27 |
| | | | | | The inet_ntoa() and inet_aton() functions are deprecated and limited to AF_INET only. | ||||
* | Use 'struct in_addr' for IPv4 addresses. | David Cantrell | 2009-05-04 | 1 | -44/+54 |
| | | | | | Change from using uint32_t to struct in_addr for IPv4 addresses. Get rid of the IPBITS and IPBYTES macros. | ||||
* | Whitespace cleanups for src/ipcalc.c | David Cantrell | 2009-05-04 | 1 | -135/+130 |
| | | | | Consistently use 4 spaces for indentation throughout ipcalc.c | ||||
* | be more explicit | Bill Nottingham | 2004-05-05 | 1 | -13/+13 |
| | |||||
* | ip addresses are ints, not longs (#122479) | Bill Nottingham | 2004-05-05 | 1 | -13/+13 |
| | |||||
* | fix some memory handling (#85478, <miked@ed.ac.uk>) | Bill Nottingham | 2003-09-04 | 1 | -2/+3 |
| | |||||
* | copyright tweakage | Bill Nottingham | 2003-01-14 | 1 | -1/+1 |
| | |||||
* | fix calculation of /32 addresses (#76646) | Bill Nottingham | 2003-01-14 | 1 | -1/+1 |
| | |||||
* | some minor ipcalc cleanups (#58410) | Bill Nottingham | 2002-04-12 | 1 | -7/+26 |
| | |||||
* | quit stripping binaries | Bill Nottingham | 2002-04-12 | 1 | -1/+6 |
| | |||||
* | fix 64-bit brokeness | Bill Nottingham | 2001-06-27 | 1 | -2/+3 |
| | |||||
* | allow building with older popt | Bill Nottingham | 2001-06-20 | 1 | -1/+1 |
| | |||||
* | simple fix for -p | Preston Brown | 2001-05-02 | 1 | -1/+1 |
| | |||||
* | --prefix fixups | Preston Brown | 2001-04-30 | 1 | -4/+12 |
| | |||||
* | understands CIDR prefixes, operates more cleanly. | Preston Brown | 2001-04-30 | 1 | -50/+256 |
| | |||||
* | change hostnames to all lowercase (#9579) | Bill Nottingham | 2001-01-30 | 1 | -0/+5 |
| | |||||
* | added help/usage messages | Erik Troan | 1999-08-10 | 1 | -5/+11 |
| | |||||
* | added --netmask argument | Erik Troan | 1998-03-22 | 1 | -1/+12 |
| | |||||
* | added --hostname option | Erik Troan | 1998-03-10 | 1 | -14/+44 |
| | |||||
* | added ipcalc | Erik Troan | 1998-03-10 | 1 | -0/+69 |