opnsense-src/lib/libc/net
Julio Merino 76a1f42f3f Make ether_line really report an error when all input is invalid.
The previous code failed to return an error condition when the whole input
was invalid due to improper handling of the sscanf return value.  Actually,
this failure was properly being caught by a test in
tools/regression/lib/libc/net/test-ether.t but was not noticed because
these tests are never run.  (On my way to fixing that ;-)

The fix applied here resembles the implementation of ether_line in NetBSD
modulo the setting of an errno value (which is not documented as an
expectation in the manpage anyway).
2014-03-12 12:27:13 +00:00
..
base64.c Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
byteorder.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
ether_addr.c Make ether_line really report an error when all input is invalid. 2014-03-12 12:27:13 +00:00
ethers.3 Fix a pathname (s,netinet/if_ether.h,net/ethernet.h,). 2011-08-08 03:09:03 +00:00
eui64.3 eui64_aton and eui64_ntoa are actually the equivalent of ether_aton_r and 2012-02-08 11:30:13 +00:00
eui64.c libc: Make various internal file descriptors from fopen() close-on-exec. 2013-08-23 13:59:47 +00:00
gai_strerror.3 Markup fixes. 2006-09-17 21:27:35 +00:00
gai_strerror.c Add NLS catalogs support to gai_strerror(3). 2009-11-09 12:46:59 +00:00
getaddrinfo.3 Update references. 2013-07-09 08:23:43 +00:00
getaddrinfo.c libc: Use SOCK_CLOEXEC for various internal file descriptors. 2013-09-06 21:02:06 +00:00
gethostbydns.c Correct the return code from _dns_gethostby*() to correspond 2010-08-15 16:28:08 +00:00
gethostbyht.c libc: Make various internal file descriptors from fopen() close-on-exec. 2013-08-23 13:59:47 +00:00
gethostbyname.3 Consistently use 'af' as an argument name for address family. 2013-08-18 10:38:59 +00:00
gethostbynis.c Replace index() and rindex() calls with strchr() and strrchr(). 2012-01-03 18:51:58 +00:00
gethostnamadr.c - When there is no room for returning the result, nss backend 2010-08-13 06:39:54 +00:00
getifaddrs.3 Update manpages for r250887. 2013-05-21 21:39:18 +00:00
getifaddrs.c Switch getifaddrs(3) to the new API introduced in r231505. Also remove 2012-02-11 06:05:40 +00:00
getifmaddrs.3 Update manpages for r250887. 2013-05-21 21:39:18 +00:00
getifmaddrs.c Switch to 2-clause license and standard text 2013-06-06 21:09:27 +00:00
getipnodebyname.3 mdoc: correct .Bd/.Bl arguments. 2012-03-26 21:22:53 +00:00
getnameinfo.3 Update references. 2013-07-09 08:23:43 +00:00
getnameinfo.c Add missing IEEE1394 support dropped during merge from NetBSD. 2009-11-12 11:54:12 +00:00
getnetbydns.c - When there is no room for returning the result, nss backend 2010-08-13 06:39:54 +00:00
getnetbyht.c libc: Make various internal file descriptors from fopen() close-on-exec. 2013-08-23 13:59:47 +00:00
getnetbynis.c Replace index() and rindex() calls with strchr() and strrchr(). 2012-01-03 18:51:58 +00:00
getnetent.3 - the preferred way to write a NULL pointer constant is with NULL 2012-11-16 15:02:35 +00:00
getnetnamadr.c - When there is no room for returning the result, nss backend 2010-08-13 06:39:54 +00:00
getproto.c When no protocol entry is found, getproto*_r(3) should 2010-10-05 15:40:59 +00:00
getprotoent.3 - the preferred way to write a NULL pointer constant is with NULL 2012-11-16 15:02:35 +00:00
getprotoent.c libc: Make various internal file descriptors from fopen() close-on-exec. 2013-08-23 13:59:47 +00:00
getprotoname.c When no protocol entry is found, getproto*_r(3) should 2010-10-05 15:40:59 +00:00
getservent.3 - the preferred way to write a NULL pointer constant is with NULL 2012-11-16 15:02:35 +00:00
getservent.c libc: Make various internal file descriptors from fopen() close-on-exec. 2013-08-23 13:59:47 +00:00
hesiod.3 Sort sections. 2005-01-20 09:17:07 +00:00
hesiod.c libc: Make various internal file descriptors from fopen() close-on-exec. 2013-08-23 13:59:47 +00:00
if_indextoname.3 Add missing includes. 2005-11-23 10:49:07 +00:00
if_indextoname.c Use the LLINDEX macro to access the link-level I/F index. This makes 2012-05-19 02:39:43 +00:00
if_nameindex.c Use the LLINDEX macro to access the link-level I/F index. This makes 2012-05-19 02:39:43 +00:00
if_nametoindex.c libc: Use SOCK_CLOEXEC for various internal file descriptors. 2013-09-06 21:02:06 +00:00
inet.3 Require users to provide a length information for inet_ntoa_r, 2007-06-14 07:13:28 +00:00
inet6_opt_init.3 Fix inet6_opt_get_val() prototype. 2005-11-23 16:07:54 +00:00
inet6_option_space.3 Markup and grammar fixes. 2005-01-24 18:14:18 +00:00
inet6_rth_space.3 Fix typos, spelling, formatting and mdoc mistakes found by Nobuyuki while 2010-08-16 15:18:30 +00:00
inet6_rthdr_space.3 Markup and grammar fixes. 2005-01-24 18:14:18 +00:00
inet_net.3 Remove superfluous paragraph macro. 2012-03-25 12:13:24 +00:00
ip6opt.c libc/net: fix a portability issue 2014-02-05 02:00:31 +00:00
linkaddr.3 Nuke ascii2addr() and addr2ascii(). They have no consumers anywhere 2007-02-28 21:18:38 +00:00
linkaddr.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
Makefile.inc Replace use of ${.CURDIR} by ${LIBC_SRCTOP} and define ${LIBC_SRCTOP} 2014-03-04 02:19:39 +00:00
map_v4v6.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
name6.c libc: Use SOCK_CLOEXEC for various internal file descriptors. 2013-09-06 21:02:06 +00:00
netdb_private.h Fix gethostbyaddr() prototype to conform to IEEE Std 1003.1: 2006-05-12 15:37:23 +00:00
nscache.c - Correctly define CACHED_SOCKET_PATH as /var/run/nscd after cached to 2007-10-17 23:20:49 +00:00
nscachedcli.c libc: Use SOCK_CLOEXEC for various internal file descriptors. 2013-09-06 21:02:06 +00:00
nsdispatch.3 mdoc: avoid unterminated quoted strings. 2012-05-13 14:28:00 +00:00
nsdispatch.c libc: Make various internal file descriptors from fopen() close-on-exec. 2013-08-23 13:59:47 +00:00
nslexer.l Remove clause 3 and 4 from TNF licenses 2013-05-29 01:54:10 +00:00
nsparser.y Remove clause 3 and 4 from TNF licenses 2013-05-29 01:54:10 +00:00
nss_backends.h = Implement name service switch modules (NSS modules). NSS modules 2003-04-17 14:14:22 +00:00
nss_compat.c When a dynamic NSS module is built and linked against a thread 2004-03-30 15:56:15 +00:00
ntoh.c Instead of re-implementing hton[ls] and friends for each arch, add a new MI 2006-11-06 22:07:47 +00:00
rcmd.3 Add a missing .El. 2009-03-01 05:47:14 +00:00
rcmd.c libc: Make various internal file descriptors from fopen() close-on-exec. 2013-08-23 13:59:47 +00:00
rcmdsh.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
rcmdsh.c Eliminate 19 warnings in libc (at level WARNS=2) of the 2003-02-27 13:40:01 +00:00
recv.c Make recv() and send() cancellation points, as required by POSIX. 2013-06-09 14:31:59 +00:00
res_config.h Update the resolver in libc to BIND9's one. 2006-03-21 16:11:11 +00:00
resolver.3 Document how to enable strict RFC 1034 enforcements. 2009-05-29 07:55:44 +00:00
rthdr.c Make inet6_rth_* family of functions more compliant with RFC3542: 2007-04-19 15:48:16 +00:00
sctp_bindx.3 Remove the advertising clause from the Regents of the University of 2013-05-28 20:37:48 +00:00
sctp_connectx.3 Remove the advertising clause from the Regents of the University of 2013-05-28 20:37:48 +00:00
sctp_freepaddrs.3 Remove the advertising clause from the Regents of the University of 2013-05-28 20:37:48 +00:00
sctp_getaddrlen.3 Remove the advertising clause from the Regents of the University of 2013-05-28 20:37:48 +00:00
sctp_getassocid.3 Remove the advertising clause from the Regents of the University of 2013-05-28 20:37:48 +00:00
sctp_getpaddrs.3 Remove the advertising clause from the Regents of the University of 2013-05-28 20:37:48 +00:00
sctp_opt_info.3 Remove the advertising clause from the Regents of the University of 2013-05-28 20:37:48 +00:00
sctp_recvmsg.3 Remove the advertising clause from the Regents of the University of 2013-05-28 20:37:48 +00:00
sctp_send.3 Remove the advertising clause from the Regents of the University of 2013-05-28 20:37:48 +00:00
sctp_sendmsg.3 Remove the advertising clause from the Regents of the University of 2013-05-28 20:37:48 +00:00
sctp_sys_calls.c Fix several bugs in sctp_bindx(): 2014-01-04 11:39:59 +00:00
send.c Make recv() and send() cancellation points, as required by POSIX. 2013-06-09 14:31:59 +00:00
sockatmark.3 mdoc(7) police: "The .Fa argument.". 2002-12-19 09:40:28 +00:00
sockatmark.c Add an implementation of the POSIX.1 sockatmark(3). 2002-12-13 22:22:55 +00:00
sourcefilter.3 General mdoc(7) and typo fixes. 2012-05-11 20:06:46 +00:00
sourcefilter.c Use the LLINDEX macro to access the link-level I/F index. This makes 2012-05-19 02:39:43 +00:00
Symbol.map Move sctp_sendv and sctp_recvv to FBSD_1.3 as suggested by 2012-04-26 19:56:06 +00:00
vars.c just merged cosmetic changes from KAME to ease sync between KAME and FreeBSD. 2002-04-19 04:46:24 +00:00