Mike Barcroft
2815c1fd80
Don't mangle vendor ids to put them in __RCSID. Just ifdef all vendor
...
id cruft.
Submitted by: bde
2001-10-09 16:40:04 +00:00
Mike Barcroft
b5c9f90bf5
Include <string.h> to prototype strcpy(3). While I'm here, make use
...
of the new RCSID macros.
MFC after: 3 days
2001-10-04 04:42:03 +00:00
Hajimu UMEMOTO
1e09a8ab6c
- cope with sa_len < sizeof(struct sockaddr).
...
From: Patrik Lindergren <patrik@datacom.nu>
- delint (pointer cast issue). from netbsd-current
Obtained from: KAME
MFC after: 1 week
2001-10-02 13:51:29 +00:00
Ruslan Ermilov
32eef9aeb1
mdoc(7) police: Use the new .In macro for #include statements.
2001-10-01 16:09:29 +00:00
Ruslan Ermilov
81a3cb97a5
Add manpage for inet_net_ntop(3) and inet_net_pton(3).
...
Obtained from: NetBSD
2001-08-31 10:54:44 +00:00
Ruslan Ermilov
d6002fef6f
Use ``.Rv -std'' wherever possible.
...
Submitted by: yar
2001-08-31 09:57:38 +00:00
Mike Barcroft
03516cfeb0
o Remove some GCCisms in src/powerpc/include/endian.h.
...
o Unify <machine/endian.h>'s across all architectures.
o Make bswapXX() functions use a different spelling of u_int16_t and
friends to reduce namespace pollution. The bswapXX() functions
don't actually exist, but we'll probably import these at some
point. Atleast one driver (if_de) depends on bswapXX() for big
endian cases.
o Deprecate byteorder(3) prototypes from <sys/types.h>, these are
now prototyped indirectly in <arpa/inet.h>.
o Deprecate in_addr_t and in_port_t typedefs in <sys/types.h>, these
are now typedef'd in <arpa/inet.h>.
o Change byteorder(3) prototypes to use standards compliant uint32_t
(spelled __uint32_t to reduce namespace pollution).
o Document new preferred headers and standards compliance.
Discussed with: bde
PR: 29946
Reviewed by: bmilekic
2001-08-30 00:04:19 +00:00
Kris Kennaway
6dac8ac9e5
Mark some functions as __printflike() and/or taking const char * arguments
...
instead of char *.
MFC after: 2 weeks
2001-08-20 12:53:36 +00:00
Ruslan Ermilov
e822b43712
mdoc(7) police: collapse multiple spaces.
2001-08-17 15:25:55 +00:00
Ruslan Ermilov
ed2879a5cf
mdoc(7) police: s;BSD/OS;.Bsx; where appropriate.
2001-08-13 17:07:40 +00:00
Ruslan Ermilov
8af1452cf8
Removed duplicate VCS ID tags, as per style(9).
2001-08-13 14:06:34 +00:00
Hajimu UMEMOTO
8e67a60053
Fill _res.sort_list with harmless entry. sortlist for IPv6/IPv4
...
is stored in _res_ext.sort_list, and sortlist for IPv4 is stored in
_res.sort_list for backward compatibility. However, both sort_list's
are maintaind by just one index _res.nsort. So, when IPv6 address is
specified to sortlist, empty entry was created in _res.sort_list. It
broke sortlist facility of gethostbyname().
Discussed on users@jp.ipv6.org .
2001-08-11 15:01:12 +00:00
Ruslan Ermilov
94ba280c59
mdoc(7) police: join split punctuation to macro calls.
2001-08-10 17:35:21 +00:00
Ruslan Ermilov
3bc371d25d
Urge the reader to start using getaddrinfo(3) and getnameinfo(3)
...
protocol-independant functions that don't use static memory area.
Suggested by: nik
Liked by: ume, brian
2001-08-08 11:05:47 +00:00
Ruslan Ermilov
c4d9468ea0
mdoc(7) police:
...
Avoid using parenthesis enclosure macros (.Pq and .Po/.Pc) with plain text.
Not only this slows down the mdoc(7) processing significantly, but it also
has an undesired (in this case) effect of disabling hyphenation within the
entire enclosed block.
2001-08-07 15:48:51 +00:00
Mark Peek
545d32087b
Only pull in the MD files if they exist. This allows for progressive
...
implementation and compilation when bringing up a new architecture.
2001-07-31 16:34:52 +00:00
Kris Kennaway
5e2aa25bcf
Oops, commit the version which actually works
...
Obtained from: NetBSD
MFC After: 1 week
2001-07-16 04:04:22 +00:00
Kris Kennaway
bcef131fb8
Avoid a compile-time format string warning
...
Obtained from: NetBSD
MFC After: 1 week
2001-07-16 03:55:47 +00:00
Dima Dorfman
7ebcc426ef
Remove whitespace at EOL.
2001-07-15 07:53:42 +00:00
Ruslan Ermilov
a307d59838
mdoc(7) police: removed HISTORY info from the .Os call.
2001-07-10 13:41:46 +00:00
Anton Berezin
b5b2871f9d
Document more resolver(3) routines: dn_skip() from resolv.h, and
...
ns_get16(), ns_get32(), ns_put16(), and ns_put32() from arpa/nameser.h.
Markup by: ru
OK'ed by: markm
2001-07-09 20:46:00 +00:00
Dima Dorfman
70d51341bf
mdoc(7) police: remove extraneous .Pp before and/or after .Sh.
2001-07-09 09:54:33 +00:00
Ruslan Ermilov
5521ff5a4d
mdoc(7) police: sort SEE ALSO xrefs (sort -b -f +2 -3 +1 -2).
2001-07-06 16:46:48 +00:00
Ruslan Ermilov
c155ff5cdd
mdoc(7) police: print some example text with literal font.
2001-07-04 10:59:30 +00:00
Jonathan Lemon
4dd2af159e
Bring in fix from rev 1.32 that got lost during the conversion to kqueue.
...
This prevents an indefinte timeout in case the kevent call is interrupted
for some reason.
PR: 26665
MFC in: 2 weeks
2001-06-23 06:54:28 +00:00
Hajimu UMEMOTO
ce6282db3b
Implement EDNS0 support, as EDNS0 support will be made mandatory for
...
IPv6 transport-ready resolvers/DNS servers. Need careful configuration
when enable it. (default config is not affected).
See manpage for details.
XXX visible symbol __res_opt() is added, however, it is not supposed to be
called from outside, libc minor is not bumped.
Obtained from: KAME/NetBSD
2001-06-10 20:25:24 +00:00
Ruslan Ermilov
7125977be7
s/format/byte order/ (for clarity).
2001-06-07 15:15:38 +00:00
Hajimu UMEMOTO
1022dd3dcc
Correct error message of an example.
...
Obtained from: KAME
2001-05-21 10:05:36 +00:00
Ruslan Ermilov
a289e937e3
mdoc(7) police: sort xrefs.
2001-05-15 15:57:05 +00:00
Alexander Langer
bda3261e9b
gethostbyname2() can't do AF_INET6 lookups over NIS.
...
getaddrinfo(3) must be used.
Submitted by: ume
2001-05-08 11:21:15 +00:00
Archie Cobbs
1fed00197f
Add getaddrinfo(3) to the "SEE ALSO" list.
2001-04-27 18:18:12 +00:00
Ruslan Ermilov
33dfeb89df
mdoc(7) police: update referenced standard name.
2001-04-18 16:01:43 +00:00
Kris Kennaway
4b7369ea64
Correct a typo; prefered -> preferred.
2001-04-17 08:01:54 +00:00
Ruslan Ermilov
4a558355e5
MAN[1-9] -> MAN.
2001-03-27 17:27:19 +00:00
Hajimu UMEMOTO
2da24fa6e9
IPv4 address is not unsigned int. This change introduces in_addr_t.
...
PR: 9982
Adviced by: des
Reviewed by: -alpha and -net (no objection)
Obtained from: OpenBSD
2001-03-23 18:59:31 +00:00
Hajimu UMEMOTO
69b58b037c
Nuke non-standard EAI_RESNULL.
2001-03-17 14:25:23 +00:00
Dima Dorfman
438821dfc9
Document the rest of the possible return codes.
...
PR: 25188
Approved by: nik
2001-03-13 01:08:36 +00:00
Ruslan Ermilov
95b2071c56
.St -p1003.1g -> .St -p1003.1g-2000.
2001-03-12 17:28:01 +00:00
David E. O'Brien
ca740c1f47
Fix style that got corrupted.
2001-03-05 10:39:03 +00:00
David E. O'Brien
b373451cbe
Fix FreeBSD id style breakage from rev 1.17
2001-03-05 10:30:12 +00:00
Ruslan Ermilov
c2d03ea879
Eliminate mdocNG warnings caused by misplaced or extraneous macro calls.
2001-02-28 17:38:53 +00:00
Jonathan Lemon
079a79149a
Use the new EV_SET macro to insure that all fields in struct kevent
...
are correctly initialized before use. This should fix the problem
with DNS.
Pointy hat to: me
2001-02-28 15:47:47 +00:00
Ruslan Ermilov
2fba8dcd52
Use ``.St -p1003.1g''.
2001-02-26 16:08:15 +00:00
Hajimu UMEMOTO
928268064f
Enable AI_ADDRCONFIG as a valid flag of getaddrinfo(3). Some
...
applications specify AI_ADDRCONFIG and fail to run under FreeBSD.
Latest mews is known. Now, getaddrinfo(3) behaves according to
AI_ADDRCONFIG.
2001-02-19 13:13:51 +00:00
Hajimu UMEMOTO
ad9fdc8f4d
Correct 2nd argument of getnameinfo(3) to socklen_t.
...
Reviewed by: itojun
2001-02-15 10:35:55 +00:00
Ruslan Ermilov
c634427cd5
mdoc(7) police: polishing.
2001-02-10 10:51:39 +00:00
Nik Clayton
3ad2681f52
Improve language and code examples.
...
PR: docs/24961
Submmitted by: Tony Finch <dot@dotat.at>
2001-02-10 07:48:01 +00:00
Nik Clayton
4460a589ec
Describe the arguments to gethostbyaddr.
...
PR: docs/24225
Submitted by: Joakim Henriksson <jurduth@ludd.luth.se>
Patch from: ben
2001-02-09 19:06:25 +00:00
Ruslan Ermilov
46eea498da
mdoc(7) police: Change -filled displays (which just happen
...
to be the same as -ragged in the current implementation) to
-ragged. With mdocNG, -filled displays produce the correct
output, formatted and justified to both margins.
2001-02-07 13:45:30 +00:00
Jeroen Ruigrok van der Werven
a3573c6679
Fix typo: compatability -> compatibility.
...
Compatability is not an existing english word.
Add $FreeBSD$.
2001-02-06 12:04:54 +00:00