opnsense-src/lib/libc/net
Ed Schouten b3608ae18f Replace index() and rindex() calls with strchr() and strrchr().
The index() and rindex() functions were marked LEGACY in the 2001
revision of POSIX and were subsequently removed from the 2008 revision.
The strchr() and strrchr() functions are part of the C standard.

This makes the source code a lot more consistent, as most of these C
files also call into other str*() routines. In fact, about a dozen
already perform strchr() calls.
2012-01-03 18:51:58 +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 Add and document ether_ntoa_r() and ether_aton_r() functions, which accept 2007-05-13 13:57:45 +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 Fix incorrect usage of 'assure' and 'insure'. 2010-08-28 16:32:01 +00:00
eui64.c Add Aerospace Corporation copyrights to EUI64 support files. 2004-06-01 19:30:13 +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 - forgot to bump a date 2009-01-06 13:10:15 +00:00
getaddrinfo.c Query DNS only once per an address family. 2009-03-29 17:55:11 +00:00
gethostbydns.c Correct the return code from _dns_gethostby*() to correspond 2010-08-15 16:28:08 +00:00
gethostbyht.c - When there is no room for returning the result, nss backend 2010-08-13 06:39:54 +00:00
gethostbyname.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +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 Fixed the misplaced $FreeBSD$. 2005-02-09 18:07:17 +00:00
getifaddrs.c A major overhaul of the CARP implementation. The ip_carp.c was started 2011-12-16 12:16:56 +00:00
getifmaddrs.3 Sort sections. 2005-01-20 09:17:07 +00:00
getifmaddrs.c Remove unused variables and assignments. 2005-04-08 21:24:23 +00:00
getipnodebyname.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
getnameinfo.3 Document the AF_LINK extension which was imported from NetBSD. 2007-02-28 21:28:33 +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 - When there is no room for returning the result, nss backend 2010-08-13 06:39:54 +00:00
getnetbynis.c Replace index() and rindex() calls with strchr() and strrchr(). 2012-01-03 18:51:58 +00:00
getnetent.3 mdoc: drop redundant .Pp and .LP calls 2010-10-08 12:40:16 +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 mdoc: drop redundant .Pp and .LP calls 2010-10-08 12:40:16 +00:00
getprotoent.c When no protocol entry is found, getproto*_r(3) should 2010-10-05 15:40:59 +00:00
getprotoname.c When no protocol entry is found, getproto*_r(3) should 2010-10-05 15:40:59 +00:00
getservent.3 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
getservent.c Use the stored length value instead of calculating it by strlen(). 2010-04-06 12:33:05 +00:00
hesiod.3 Sort sections. 2005-01-20 09:17:07 +00:00
hesiod.c Fix struct FILE * leak on error (in disabled by default hesiod support code). 2011-01-08 10:56:58 +00:00
if_indextoname.3 Add missing includes. 2005-11-23 10:49:07 +00:00
if_indextoname.c Use BSDi derived if_nametoindex(), if_indextoname(), if_nameindex() 2002-07-15 19:58:56 +00:00
if_nameindex.c Use BSDi derived if_nametoindex(), if_indextoname(), if_nameindex() 2002-07-15 19:58:56 +00:00
if_nametoindex.c Back out the `hiding' of strlcpy and strlcat. Several people 2003-05-01 19:03:14 +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 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
ip6opt.c ANSIfy. 2009-11-11 15:21:06 +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 Fix bad rule and bad dependency for nsparser.h that can 2007-11-15 22:39:15 +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 - Getipnodebyname() and getipnodebyaddr() reimplemented through 2007-07-31 16:09:41 +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 Use _kevent() instead of kevent(). 2006-12-04 17:08:43 +00:00
nsdispatch.3 mdoc: drop redundant .Pp and .LP calls 2010-10-08 12:40:16 +00:00
nsdispatch.c Fix a problem whereby a corrupt DNS record can cause named to crash. [11:06] 2011-12-23 15:00:37 +00:00
nslexer.l Clang related fixes: 2010-10-13 16:57:06 +00:00
nsparser.y fix memory leak from reading nsswitch.conf 2007-05-17 03:33:23 +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 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +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 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +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 Miscellaneous mdoc, spelling and inconsistency fixes. 2010-01-12 21:45:03 +00:00
sctp_connectx.3 Miscellaneous mdoc, spelling and inconsistency fixes. 2010-01-12 21:45:03 +00:00
sctp_freepaddrs.3 Major cleanup: mdoc macros, style, typos etc. 2007-06-18 10:20:32 +00:00
sctp_getaddrlen.3 Spelling fixes. 2010-08-02 16:01:45 +00:00
sctp_getassocid.3 Miscellaneous mdoc, spelling and inconsistency fixes. 2010-01-12 21:45:03 +00:00
sctp_getpaddrs.3 Miscellaneous mdoc, spelling and inconsistency fixes. 2010-01-12 21:45:03 +00:00
sctp_opt_info.3 Document the latest changes to sctp_opt_info() in the code. 2011-06-18 10:36:05 +00:00
sctp_recvmsg.3 Fix typos and spelling mistakes. 2010-08-06 14:33:42 +00:00
sctp_send.3 Revert changes of 'assure' to 'ensure' made in r211936. 2010-09-11 10:49:56 +00:00
sctp_sendmsg.3 Revert changes of 'assure' to 'ensure' made in r211936. 2010-09-11 10:49:56 +00:00
sctp_sys_calls.c Address warnings found by clang. 2011-12-17 14:55:19 +00:00
send.c Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +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 Considerably improve the wording of this man page. 2009-03-04 01:59:14 +00:00
sourcefilter.c Fix an obvious bug in getsourcefilter()'s use of struct __msfilterreq; 2009-04-29 09:58:31 +00:00
Symbol.map Fix whitespace inconsistencies found in homegrown Symbol.maps. 2011-10-07 15:05:24 +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