| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
| |
preparation for 8.0-RELEASE. Add the previous version of those
libraries to ObsoleteFiles.inc and bump __FreeBSD_Version.
Reviewed by: kib
Approved by: re (rwatson)
Notes:
svn path=/head/; revision=195767
|
| |
|
|
|
|
|
| |
Ok'd by: kan
Notes:
svn path=/head/; revision=169807
|
| |
|
|
|
|
|
|
|
| |
descriptor number.
Approved by: glebius (mentor)
Notes:
svn path=/head/; revision=169551
|
| |
|
|
| |
Notes:
svn path=/head/; revision=163469
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
had been replied, the reply was always delivered to the originator
synchronously.
With introduction of netgraph item callbacks and a wait channel with
mutex in ng_socket(4), we have fixed the problem with ngctl(8) returning
earlier than the command has been proceeded by target node. But still
ngctl(8) can return prior to the reply has arrived to its node.
To fix this:
- Introduce a new flag for netgraph(4) messages - NGM_HASREPLY.
This flag is or'ed with message like NGM_READONLY.
- In netgraph userland library if we have sent a message with
NGM_HASREPLY flag, then select(2) until reply comes.
- Mark appropriate generic commands with NGM_HASREPLY flag,
gathering them into one enum {}. Bump generic cookie.
Notes:
svn path=/head/; revision=154265
|
| |
|
|
| |
Notes:
svn path=/head/; revision=151677
|
| |
|
|
|
|
|
|
|
|
| |
been bumped since RELENG_5.
Reviewed by: ru
Approved by: re (not needed for commit check but in principle...)
Notes:
svn path=/head/; revision=148297
|
| |
|
|
|
|
|
| |
Reviewed by: md5(1)
Notes:
svn path=/head/; revision=145546
|
| |
|
|
|
|
|
|
|
| |
the header. Otherwise we will send a message with zero version.
MFC after: 3 days
Notes:
svn path=/head/; revision=141307
|
| |
|
|
| |
Notes:
svn path=/head/; revision=135576
|
| |
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=131548
|
| |
|
|
| |
Notes:
svn path=/head/; revision=131504
|
| |
|
|
| |
Notes:
svn path=/head/; revision=125122
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=125113
|
| |
|
|
| |
Notes:
svn path=/head/; revision=125106
|
| |
|
|
| |
Notes:
svn path=/head/; revision=125104
|
| |
|
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=122649
|
| |
|
|
| |
Notes:
svn path=/head/; revision=116028
|
| |
|
|
|
|
|
| |
especially in troff files.
Notes:
svn path=/head/; revision=108533
|
| |
|
|
| |
Notes:
svn path=/head/; revision=108317
|
| |
|
|
| |
Notes:
svn path=/head/; revision=104073
|
| |
|
|
|
|
|
|
|
|
| |
value could be returned when the debug level was non-zero.
Submitted by: Harti Brandt <brandt@fokus.gmd.de>
MFC after: 5 days
Notes:
svn path=/head/; revision=85456
|
| |
|
|
| |
Notes:
svn path=/head/; revision=84306
|
| |
|
|
| |
Notes:
svn path=/head/; revision=84215
|
| |
|
|
| |
Notes:
svn path=/head/; revision=82398
|
| |
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=82297
|
| |
|
|
|
|
|
| |
specifically that 0 means the socket has been closed.
Notes:
svn path=/head/; revision=82275
|
| |
|
|
|
|
|
|
|
| |
instead of char *.
MFC after: 2 weeks
Notes:
svn path=/head/; revision=81975
|
| |
|
|
| |
Notes:
svn path=/head/; revision=79754
|
| |
|
|
|
|
|
| |
Submitted by: Mike Barcroft <mike@q9media.com>
Notes:
svn path=/head/; revision=79752
|
| |
|
|
| |
Notes:
svn path=/head/; revision=79531
|
| |
|
|
| |
Notes:
svn path=/head/; revision=79366
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=77760
|
| |
|
|
| |
Notes:
svn path=/head/; revision=74870
|
| |
|
|
| |
Notes:
svn path=/head/; revision=70015
|
| |
|
|
|
|
|
|
|
| |
- 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)
Notes:
svn path=/head/; revision=61922
|
| |
|
|
| |
Notes:
svn path=/head/; revision=61188
|
| |
|
|
| |
Notes:
svn path=/head/; revision=59974
|
| |
|
|
|
|
|
| |
in their ASCII forms at debug levels >= 3.
Notes:
svn path=/head/; revision=59732
|
| |
|
|
| |
Notes:
svn path=/head/; revision=59513
|
| |
|
|
|
|
|
| |
already loaded (indicated by EPROTONOSUPPORT from socket(2)).
Notes:
svn path=/head/; revision=56708
|
| |
|
|
|
|
|
| |
Reviewed by: marcel, and make world
Notes:
svn path=/head/; revision=55955
|
| |
|
|
| |
Notes:
svn path=/head/; revision=55336
|
| |
|
|
|
|
|
|
| |
Submitted by: Alexey Zelkin <phantom@FreeBSD.org>
thanks!
Notes:
svn path=/head/; revision=54927
|
| |
|
|
| |
Notes:
svn path=/head/; revision=54100
|
| |
|
|
| |
Notes:
svn path=/head/; revision=54098
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=53913
|
| |
|
|
|
|
|
|
|
| |
way to do that but it fixes buildworld.
World broken by: archie :-)
Notes:
svn path=/head/; revision=53421
|
|
|
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
Notes:
svn path=/head/; revision=52419
|