kensmith
1f1979ea2c
Insta-MFC of the shared library version bump. All shared libraries
...
whose version has not already been bumped since RELENG_5 are being
bumped.
Revisions of files being MFC-ed:
> Path Revision
> src/gnu/lib/libdialog/Makefile 1.43
> src/gnu/lib/libg2c/Makefile 1.16
> src/gnu/lib/libobjc/Makefile 1.27
> src/gnu/lib/libreadline/Makefile.inc 1.12
> src/gnu/lib/libregex/Makefile 1.32
> src/gnu/lib/libstdc++/Makefile 1.56
> src/kerberos5/lib/Makefile.inc 1.7
> src/lib/Makefile.inc 1.3
> src/lib/libalias/Makefile 1.31
> src/lib/libarchive/Makefile 1.37
> src/lib/libbegemot/Makefile 1.3
> src/lib/libbluetooth/Makefile 1.2
> src/lib/libbsnmp/Makefile.inc 1.6
> src/lib/libbz2/Makefile 1.6
> src/lib/libc_r/Makefile 1.42
> src/lib/libcrypt/Makefile 1.36
> src/lib/libdevstat/Makefile 1.15
> src/lib/libdevstat/devstat.h 1.11
> src/lib/libedit/Makefile 1.29
> src/lib/libexpat/Makefile 1.5
> src/lib/libfetch/Makefile 1.45
> src/lib/libftpio/Makefile 1.14
> src/lib/libgpib/Makefile 1.2
> src/lib/libipsec/Makefile 1.17
> src/lib/libkiconv/Makefile 1.3
> src/lib/libmagic/Makefile 1.7
> src/lib/libmp/Makefile 1.10
> src/lib/libncp/Makefile 1.6
> src/lib/libncurses/Makefile 1.79
> src/lib/libnetgraph/Makefile 1.11
> src/lib/libngatm/Makefile 1.6
> src/lib/libopie/Makefile 1.21
> src/lib/libpam/Makefile.inc 1.17
> src/lib/libpthread/Makefile 1.54
> src/lib/libradius/Makefile 1.12
> src/lib/libsdp/Makefile 1.4
> src/lib/libsmb/Makefile 1.8
> src/lib/libtacplus/Makefile 1.7
> src/lib/libthr/Makefile 1.14
> src/lib/libthread_db/Makefile 1.6
> src/lib/libugidfw/Makefile 1.7
> src/lib/libusbhid/Makefile 1.10
> src/lib/libutil/Makefile 1.57
> src/lib/libvgl/Makefile 1.11
> src/lib/libwrap/Makefile 1.17
> src/lib/libypclnt/Makefile 1.13
> src/lib/msun/Makefile 1.72
> src/secure/lib/libcrypto/Makefile 1.74
> src/secure/lib/libssh/Makefile 1.35
> src/secure/lib/libssl/Makefile 1.22
> src/usr.sbin/bsnmpd/modules/Makefile.inc 1.10
Reviewed by: ru
Approved by: re (scottl)
2005-07-22 17:29:10 +00:00
mux
97a7651af8
Make this compile with GCC4 by fixing a few signedness related warnings.
...
Reviewed by: md5(1)
2005-04-26 14:25:11 +00:00
glebius
e7fd5fd51e
When we have converted an ASCII message to binary, set its version in
...
the header. Otherwise we will send a message with zero version.
MFC after: 3 days
2005-02-04 21:36:10 +00:00
stefanf
5b6654bdf6
Prefer C99's __func__ over GCC's __FUNCTION__.
2004-09-22 16:56:49 +00:00
jmallett
7c4554894b
Yes, NgRecvAsciiMsg has the same results as NgRecvAsciiMsg, but it's
...
much more apt to note that it has the same result as NgRecvMsg. Make
the manual page less circular in its reference to this fact.
2004-07-04 04:03:37 +00:00
ru
01548ace15
Mechanically kill hard sentence breaks.
2004-07-02 23:52:20 +00:00
ru
6b5c75aa87
Increment WARNS.
2004-01-28 00:11:42 +00:00
ru
adc82a1e80
- Added three new interfaces, NgAllocRecvMsg(), NgAllocRecvAsciiMsg(),
...
and NgAllocRecvData(), that dynamically allocate buffer for a binary
message, an ascii message, and a data packet, respectively. The size
of the allocated buffer is equal to the socket's receive buffer size
to guarantee that a message or a data packet is not truncated.
- Get rid of the static size buffer in NgSendAsciiMsg().
OK'ed by: archie, julian
2004-01-27 20:25:14 +00:00
ru
ab992db8fa
mdoc(7) cleanup.
2004-01-27 19:24:53 +00:00
ru
89536c60f8
Fixed memory leak in NgSendAsciiMsg().
2004-01-27 18:38:22 +00:00
harti
5afef437ec
Use the new defines that include the trailing '\0' in the code.
...
Replace occurences of the magic constant 2 with an offsetof macro
call that computes the size of the leading members of the sockaddr.
Use strlcpy instead of sprintf where appropriate. Document the new changes
in the man page.
2003-11-14 08:09:01 +00:00
charnier
1fa69e8989
The .Fn function
2003-06-08 10:34:00 +00:00
schweikh
d3367c5f5d
Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup,
...
especially in troff files.
2003-01-01 18:49:04 +00:00
schweikh
fec6546e12
english(4) police.
2002-12-27 12:15:40 +00:00
peter
0a7f0ba37e
Zap now-unused SHLIB_MINOR
2002-09-28 00:25:32 +00:00
archie
8d7368cdb8
Fix bugs in NgSendMsg() and NgSendAsciiMsg() where the wrong token
...
value could be returned when the debug level was non-zero.
Submitted by: Harti Brandt <brandt@fokus.gmd.de>
MFC after: 5 days
2001-10-25 04:02:25 +00:00
ru
623da62a5a
mdoc(7) police: Use the new .In macro for #include statements.
2001-10-01 16:09:29 +00:00
dillon
d73daa7317
Add __FBSDID()s to libnetgraph
2001-09-30 22:03:54 +00:00
ru
571547c023
mdoc(7) police: markup nits.
2001-08-27 08:01:01 +00:00
brian
c6694b94db
Rename the DIAGNOSTICS section to RETURN VALUES and describe the
...
return values a little more. Specifically, mention that a return
of 0 from NgRecvData() and NgRecvMsg() means the socket has been
closed.
Suggested by: jkh
2001-08-24 21:39:27 +00:00
brian
94dfd084a9
Explain what the return value from NgRecvMsg() and NgRecvData() means,
...
specifically that 0 means the socket has been closed.
2001-08-24 14:52:05 +00:00
kris
110fc843a0
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
dd
a145482cf6
Remove whitespace at EOL.
2001-07-15 07:53:42 +00:00
dd
7dc7a926d0
Set WARNS=2 on libraries that compile cleanly with it.
...
Submitted by: Mike Barcroft <mike@q9media.com>
2001-07-15 06:46:02 +00:00
ru
317b7d8e37
mdoc(7) police: removed HISTORY info from the .Os call.
2001-07-10 13:41:46 +00:00
ru
05e503d80a
mdoc(7) police: sort SEE ALSO xrefs (sort -b -f +2 -3 +1 -2).
2001-07-06 16:46:48 +00:00
sobomax
0c29f662fa
Correct cross-references:
...
ng_bpf.8 --> ng_bpf.4
ng_ether.8 --> ng_ether.4
ng_iface.8 --> ng_iface.4
ng_pppoe.8 --> ng_pppoe.4
ng_socket.8 --> ng_socket.4
ng_tty.8 --> ng_tty.4
ng_{type}.4 --> /dev/null
MFC after: 1 week
2001-06-05 12:40:03 +00:00
ru
25ef23ac1c
MAN[1-9] -> MAN.
2001-03-27 17:27:19 +00:00
ru
c23c39b3a4
mdoc(7) police: removed history info from the .Os FreeBSD call.
2000-12-14 11:52:05 +00:00
archie
8bd069edd6
- Make sure the message token returned by NgSendMsg() is non-negative
...
- Have NgSendAsciiMsg() return the same token as NgSendMsg()
- Document that NgSendMsg() and NgSendAsciiMsg() return the token
- Add MLINKS for the functions defined in netgraph(3)
2000-06-21 23:01:07 +00:00
archie
9f245c92a7
Fix buffer overflow bug in NgSendAsciiMsg().
2000-06-02 21:51:36 +00:00
archie
fc8fd5b5fc
Move netgraph node type man pages from section 8 to section 4.
2000-05-04 17:40:13 +00:00
archie
faccef08ea
Fix a bug handling the debug level when displaying control messages
...
in their ASCII forms at debug levels >= 3.
2000-04-28 18:41:21 +00:00
phantom
ea053cc248
Introduce .Lb macro to netgraph library manpage
2000-04-22 16:12:13 +00:00
archie
f31600a453
Have NgMkSockNode() load the socket node type KLD if it's not
...
already loaded (indicated by EPROTONOSUPPORT from socket(2)).
2000-01-28 00:48:27 +00:00
rgrimes
c127d0e61e
Replace beforeinstall target with new variables used by .mk system.
...
Reviewed by: marcel, and make world
2000-01-14 07:57:47 +00:00
marcel
5ed0012e79
Remove -g compiler flag.
2000-01-03 12:01:30 +00:00
julian
443430016e
Manual page style work.
...
Submitted by: Alexey Zelkin <phantom@FreeBSD.org>
thanks!
1999-12-21 01:25:21 +00:00
archie
26c759c431
Missed part of previous commit.
1999-12-03 23:15:33 +00:00
archie
32595af070
Recognize NGM_BPF_COOKIE.
1999-12-03 23:12:41 +00:00
archie
81fceb37a9
Add two new generic control messages, NGM_ASCII2BINARY and
...
NGM_BINARY2ASCII, which convert control messages to ASCII and back.
This allows control messages to be sent and received in ASCII form
using ngctl(8), which makes ngctl a lot more useful.
This also allows all the type-specific debugging code in libnetgraph
to go away -- instead, we just ask the node itself to do the ASCII
translation for us.
Currently, all generic control messages are supported, as well as
messages associated with the following node types: async, cisco,
ksocket, and ppp.
See /usr/share/examples/netgraph/ngctl for an example of using this.
Also give ngctl(8) the ability to print out incoming data and
control messages at any time. Eventually nghook(8) may be subsumed.
Several other misc. bug fixes.
Reviewed by: julian
1999-11-30 02:45:32 +00:00
roberto
01553f893e
The "acfcomp" field is not in the structure anymore. There may be a better
...
way to do that but it fixes buildworld.
World broken by: archie :-)
1999-11-19 10:51:16 +00:00
julian
c5c63975d5
Whistle's Netgraph link-layer (sometimes more) networking infrastructure.
...
Been in production for 3 years now. Gives Instant Frame relay to if_sr
and if_ar drivers, and PPPOE support soon. See:
ftp://ftp.whistle.com/pub/archie/netgraph/index.html
for on-line manual pages.
Reviewed by: Doug Rabson (dfr@freebsd.org )
Obtained from: Whistle CVS tree
1999-10-21 09:06:11 +00:00