delphij
a524a21406
Fix build for !YP case.
...
BTW. Shall we change these fields to have yp_ prefix? That will make the
code easier to read.
2005-04-17 15:10:30 +00:00
ume
04a684b008
libc-internal interfaces should have two underscores in front
...
of their names.
Pointed out by: das
2005-04-17 14:42:52 +00:00
delphij
ba35b6aa76
Wrong working directory, sorry. The previous patch was what I have
...
seen in NetBSD's tree, and this one is what I have submitted for review.
Pointy hat to: me
2005-04-17 04:00:55 +00:00
delphij
90a7ec34ec
Remove a check about whether sa->sa_len is equal to salen from
...
getnameinfo(3). POSIX standard does not require a sa_len field
in sockaddr struct, hence such requirement will cause problem
for portability.
PR: standards/80008
Requested by: Xin Liu <lx@knight.6test.edu.cn>
Reviewed by: freebsd-standards (das)
MFC After: 2 weeks
2005-04-17 03:56:07 +00:00
ume
aedac4ef3a
Now, our getservbyname(3) is thread-safe. So, we don't need
...
to protect it with mutex lock.
2005-04-15 18:15:12 +00:00
ume
0e0eae8d50
- add getserv{byname,byport,ent}_r for internal use within libc.
...
- make getserv{byname,byport,ent} thread-safe.
Reviewed by: gnn
2005-04-15 18:09:39 +00:00
ume
b8a79c699c
hostalias() is not thread-safe. So, introduce _res_hostalias()
...
and use it.
Obtained from: BIND9
2005-04-15 14:42:29 +00:00
ume
61d715cfa6
remove needless res_init() call.
...
Inspired by: NetBSD
2005-04-14 11:44:43 +00:00
ume
1b9c36cc46
unbreak build without YP defined.
...
Submitted by: Andrea Campi <andrea+freebsd_cvs_at_webcom.it>
2005-04-09 14:20:18 +00:00
stefanf
d1df2201c0
Remove unused variables and assignments.
2005-04-08 21:24:23 +00:00
ume
aa9bf872c4
- we are no longer shareing any resources to be locked between
...
getaddrinfo(3) and getipnodeby*(3).
- use definitions in reentrant.h.
- remove obsolete comment.
2005-04-06 15:36:34 +00:00
ume
38e722e1a8
separate gai_strerror(3) from getaddrinfo.c.
...
Requested by: phantom
2005-04-06 12:45:51 +00:00
ume
b0c9c2a388
make yp stuff re-entrant.
...
Obtained from: NetBSD
2005-04-05 18:25:23 +00:00
ume
b24803b06b
add missing mutex unlock.
2005-04-05 17:13:28 +00:00
ume
cb0b5ed63a
make _files_getaddrinfo() re-entrant.
...
Obtained from: NetBSD
2005-04-04 19:45:27 +00:00
ume
420c834c87
nuke the logic for AF_UNSPEC and simplify. once, it was introduced
...
to improve getaddrinfo(3). but, it is not needed for a long time
since getaddrinfo(3) became providing its own res_*N() functions.
2005-04-02 08:18:33 +00:00
simon
1ffec0c271
Add byteorder(9) to SEE ALSO.
...
MFC after: 3 days
2005-03-20 17:27:57 +00:00
stefanf
3681db07f4
- Use socklen_t.
...
- No need for two instances of 'num'.
2005-02-14 17:51:45 +00:00
stefanf
03a2de3818
Fix most cases where the address of an int is passed to a function expecting a
...
socklen_t * argument.
2005-02-14 17:42:58 +00:00
phantom
eb29a7bac4
. Convert return type of gai_strerror() to 'const char *' as POSIX requires.
...
. Convert ai_errlist[] to simple 'char *' array, and appropriately
optimize gai_strerror()
2005-02-14 11:33:12 +00:00
phantom
4548946acd
EAI_ADDRFAMILY and EAI_NODATA are obsoleted, and not definined anymore,
...
so do not export these definitions via manual page
2005-02-14 11:24:58 +00:00
ru
1541af42f1
Expand *n't contractions.
2005-02-13 22:25:33 +00:00
ru
114ea39c76
Fixed the misplaced $FreeBSD$.
2005-02-09 18:07:17 +00:00
ume
306734fccb
use strdup().
...
Obtained from: KAME
MFC after: 1 week
2005-01-28 19:35:42 +00:00
ume
bf4b229d7b
make _getipnodebyname_multi() static.
2005-01-27 15:01:05 +00:00
ume
4a4e55c7dd
implement AI_NUMERICSERV (as defined in RFC3493).
...
Obtained from: KAME
MFC after: 1 week
2005-01-27 14:45:11 +00:00
ume
1f1fe48dc9
fill ai_canonname field for numeric hostname, by the given hostname.
...
follow new recommendation in RFC3493.
Obtained from: KAME
MFC after: 1 week
2005-01-27 14:41:56 +00:00
ume
9958feca82
query A RR before AAAA RR.
...
MFC after: 1 week
2005-01-27 08:03:46 +00:00
ru
9797bcb293
Markup and grammar fixes.
2005-01-24 18:14:18 +00:00
gnn
8c574cb51c
Update man pages to be in line with guidelines for IPv6 in FreeBSD.
...
FreeBSD currently implements the most up to date IPv6 APIs for
option and route header parsing. This checkin marks the older APIs
as deprecated and points the reader to the newer pages.
Reviewed by: Jun-ichiro Itojun
Approved by: rwatson (mentor)
2005-01-24 11:23:14 +00:00
gnn
c51ffe001a
Fix a dangling MKLINK from my last commit.
...
Approved by: rwatson (mentor)
2005-01-24 01:40:16 +00:00
gnn
c6bc06c657
Submitted by: George V. Neville-Neil (gnn at freebsd dot org)
...
Reviewed by: Kame Project (including Itojun-san, Jinmei-san and Suzuki-san)
Approved by: Robert Watson (robert at freebsd dot org)
Obtained from: Kame Project and OpenBSD
Replace manual pages that may have violated the IETF's Copyright.
All come from the Kame tree.
Several were from OpenBSD except for ip6.4, and the inet6* pages which were
rewritten by me.
All of the text is new and drawn from reading the code and
documentation.
2005-01-23 16:02:48 +00:00
gnn
2231fe9f4d
Submitted by: George V. Neville-Neil (gnn at freebsd dot org)
...
Approved by: Robert Watson (robert at freebsd dot org)
Remove files in preparation for replacement with totally new versions
of the manual pages.
Update the Makefile to handle the new file to be added.
2005-01-23 15:41:10 +00:00
ru
ed72feddcb
Sort sections.
2005-01-20 09:17:07 +00:00
ru
d26afd541d
Eliminate macro calls inside literal displays.
2005-01-15 12:28:01 +00:00
ru
5384a04b6a
Scheduled mdoc(7) sweep.
2005-01-11 20:50:51 +00:00
sobomax
742d1c9a2d
Don't ignore the last line of config file (/etc/hosts, /etc/services, etc)
...
which doesn't end in \n, since it may be very confusing. Also this should
increase consistency, since most other config files work just fine regardless
of the presence of traling \n in the last line.
MFC After: 2 weeks
2005-01-03 11:07:45 +00:00
trhodes
769923c308
Various markup and spelling fixes.
...
PR: 75574
Submitted by: Nobuyuki Koganemaru <n-kogane@syd.odn.ne.jp> (original version)
2004-12-29 02:18:24 +00:00
bz
4b83c5852a
Add knob NO_NIS (fka NO_YP_LIBC) and make world compileable when set.
...
If turned on no NIS support and related programs will be built.
Lost parts rediscovered by: Danny Braniss <danny at cs.huji.ac.il>
PR: bin/68303
No objections: des, gshapiro, nectar
Reviewed by: ru
Approved by: rwatson (mentor)
MFC after: 2 weeks
2004-11-13 20:40:32 +00:00
maxim
ac8a3b40c2
o Backout rev. 1.16, see 1.3 commit log for more info.
...
Requested by: bde
o Remove unneeded sys/types.h and netinet/in.h from the synopsis and
the example.
o We do have struct in_addr in arpa/inet.h, so no need for netinet/in.h.
o Mention where AF_* constants defined are.
Educated by: bde
2004-10-09 17:13:58 +00:00
maxim
53a9ecac89
Reflect the fact addr2ascii(3) and ascii2addr(3) need sys/socket.h
...
for AF_* constants.
Submitted by: Matthew George
MFC after: 2 weeks
2004-09-29 17:54:30 +00:00
yar
ab6f621526
Use the recently introduced RES_DFLRETRY parameter instead of a well-hidden
...
constant for the default number of retries.
2004-09-09 17:42:18 +00:00
roam
43c8fe8c3c
Bump the document date, since the content changed today.
...
Discussed with: ru
2004-08-06 15:29:54 +00:00
roam
b63a21fa86
Cross-reference getnameinfo(3), getaddrinfo(3), getipnodebyname(3) and
...
getipnodebyaddr(3).
PR: 54229
Submitted by: Samuel Tardieu <sam@inf.enst.fr>
MFC after: 2 weeks
2004-08-06 12:02:07 +00:00
ume
fc96a672a7
now e.f.f.3.ip6.arpa is delegated, we no longer need to query ip6.int
...
Obtained from: KAME
2004-07-21 17:26:40 +00:00
ru
94c32e06a7
Markup nits.
2004-07-07 20:15:31 +00:00
ru
408d450c6b
Markup fixes.
2004-07-05 07:21:55 +00:00
ru
57ce50860e
Eliminate double whitespace.
2004-07-03 22:30:10 +00:00
ru
01548ace15
Mechanically kill hard sentence breaks.
2004-07-02 23:52:20 +00:00
ru
95168a499a
Markup, grammar, and spelling fixes.
2004-06-30 20:09:10 +00:00