Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix for quite a special case when userland emulates a netgraph node, and | glebius | 2013-03-11 | 1 | -1/+1 |
| | | | | | | | | userland can reply to a message with NGM_HASREPLY bit set. In this case we should not wait for a response to a responce. PR: 176771 Submitted by: Keith Reynolds <keith.reynolds tidalscale.com> | ||||
* | Fix socket calls on error post-r243965. | kevlo | 2012-12-21 | 1 | -2/+2 |
| | | | | Submitted by: Garrett Cooper | ||||
* | bring the NGM_IPFW_COOKIE back into ng_ipfw.h, libnetgraph expects | luigi | 2009-12-28 | 1 | -2/+0 |
| | | | | | to find it there. Unfortunately this reintroduces the dependency on ip_fw_pfil.c | ||||
* | this file is also affected by the ipfw changes | luigi | 2009-12-28 | 1 | -0/+2 |
| | |||||
* | Bump the version of all non-symbol-versioned shared libraries in | kensmith | 2009-07-19 | 1 | -1/+1 |
| | | | | | | | | 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) | ||||
* | Bump library versions in preparation for 7.0. | deischen | 2007-05-21 | 1 | -1/+1 |
| | | | | Ok'd by: kan | ||||
* | Replace select() by poll() to avoid problems with big | mav | 2007-05-14 | 2 | -6/+7 |
| | | | | | | descriptor number. Approved by: glebius (mentor) | ||||
* | Include sys/socket.h to know about sa_family_t. | glebius | 2006-10-17 | 2 | -0/+2 |
| | |||||
* | In the splnet(9) times netgraph(4) was synchronous and if a message | glebius | 2006-01-12 | 1 | -0/+16 |
| | | | | | | | | | | | | | | | | | | 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. | ||||
* | Recognize all current standard node types. | ru | 2005-10-25 | 1 | -4/+42 |
| | |||||
* | Bump the shared library version number of all libraries that have not | kensmith | 2005-07-22 | 1 | -1/+1 |
| | | | | | | | been bumped since RELENG_5. Reviewed by: ru Approved by: re (not needed for commit check but in principle...) | ||||
* | Make this compile with GCC4 by fixing a few signedness related warnings. | mux | 2005-04-26 | 3 | -6/+7 |
| | | | | Reviewed by: md5(1) | ||||
* | When we have converted an ASCII message to binary, set its version in | glebius | 2005-02-04 | 1 | -0/+1 |
| | | | | | | the header. Otherwise we will send a message with zero version. MFC after: 3 days | ||||
* | Prefer C99's __func__ over GCC's __FUNCTION__. | stefanf | 2004-09-22 | 1 | -1/+1 |
| | |||||
* | Yes, NgRecvAsciiMsg has the same results as NgRecvAsciiMsg, but it's | jmallett | 2004-07-04 | 1 | -1/+1 |
| | | | | | 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. | ||||
* | Mechanically kill hard sentence breaks. | ru | 2004-07-02 | 1 | -1/+1 |
| | |||||
* | Increment WARNS. | ru | 2004-01-28 | 1 | -1/+1 |
| | |||||
* | - Added three new interfaces, NgAllocRecvMsg(), NgAllocRecvAsciiMsg(), | ru | 2004-01-27 | 5 | -9/+109 |
| | | | | | | | | | | | 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 | ||||
* | mdoc(7) cleanup. | ru | 2004-01-27 | 1 | -39/+72 |
| | |||||
* | Fixed memory leak in NgSendAsciiMsg(). | ru | 2004-01-27 | 1 | -1/+4 |
| | |||||
* | Use the new defines that include the trailing '\0' in the code. | harti | 2003-11-14 | 4 | -21/+27 |
| | | | | | | | 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. | ||||
* | The .Fn function | charnier | 2003-06-08 | 1 | -18/+33 |
| | |||||
* | Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup, | schweikh | 2003-01-01 | 1 | -1/+1 |
| | | | | especially in troff files. | ||||
* | english(4) police. | schweikh | 2002-12-27 | 1 | -1/+1 |
| | |||||
* | Zap now-unused SHLIB_MINOR | peter | 2002-09-28 | 1 | -1/+0 |
| | |||||
* | Fix bugs in NgSendMsg() and NgSendAsciiMsg() where the wrong token | archie | 2001-10-25 | 1 | -2/+2 |
| | | | | | | | value could be returned when the debug level was non-zero. Submitted by: Harti Brandt <brandt@fokus.gmd.de> MFC after: 5 days | ||||
* | mdoc(7) police: Use the new .In macro for #include statements. | ru | 2001-10-01 | 1 | -1/+1 |
| | |||||
* | Add __FBSDID()s to libnetgraph | dillon | 2001-09-30 | 3 | -6/+9 |
| | |||||
* | mdoc(7) police: markup nits. | ru | 2001-08-27 | 1 | -1/+2 |
| | |||||
* | Rename the DIAGNOSTICS section to RETURN VALUES and describe the | brian | 2001-08-24 | 1 | -4/+10 |
| | | | | | | | | 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 | ||||
* | Explain what the return value from NgRecvMsg() and NgRecvData() means, | brian | 2001-08-24 | 1 | -0/+6 |
| | | | | specifically that 0 means the socket has been closed. | ||||
* | Mark some functions as __printflike() and/or taking const char * arguments | kris | 2001-08-20 | 1 | -2/+2 |
| | | | | | | instead of char *. MFC after: 2 weeks | ||||
* | Remove whitespace at EOL. | dd | 2001-07-15 | 1 | -2/+2 |
| | |||||
* | Set WARNS=2 on libraries that compile cleanly with it. | dd | 2001-07-15 | 1 | -2/+1 |
| | | | | Submitted by: Mike Barcroft <mike@q9media.com> | ||||
* | mdoc(7) police: removed HISTORY info from the .Os call. | ru | 2001-07-10 | 1 | -1/+1 |
| | |||||
* | mdoc(7) police: sort SEE ALSO xrefs (sort -b -f +2 -3 +1 -2). | ru | 2001-07-06 | 1 | -3/+3 |
| | |||||
* | Correct cross-references: | sobomax | 2001-06-05 | 1 | -2/+2 |
| | | | | | | | | | | | | 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 | ||||
* | MAN[1-9] -> MAN. | ru | 2001-03-27 | 1 | -1/+1 |
| | |||||
* | mdoc(7) police: removed history info from the .Os FreeBSD call. | ru | 2000-12-14 | 1 | -1/+1 |
| | |||||
* | - Make sure the message token returned by NgSendMsg() is non-negative | archie | 2000-06-21 | 3 | -4/+28 |
| | | | | | | - 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) | ||||
* | Fix buffer overflow bug in NgSendAsciiMsg(). | archie | 2000-06-02 | 1 | -1/+1 |
| | |||||
* | Move netgraph node type man pages from section 8 to section 4. | archie | 2000-05-04 | 1 | -3/+3 |
| | |||||
* | Fix a bug handling the debug level when displaying control messages | archie | 2000-04-28 | 1 | -9/+15 |
| | | | | in their ASCII forms at debug levels >= 3. | ||||
* | Introduce .Lb macro to netgraph library manpage | phantom | 2000-04-22 | 1 | -0/+2 |
| | |||||
* | Have NgMkSockNode() load the socket node type KLD if it's not | archie | 2000-01-28 | 3 | -2/+24 |
| | | | | already loaded (indicated by EPROTONOSUPPORT from socket(2)). | ||||
* | Replace beforeinstall target with new variables used by .mk system. | rgrimes | 2000-01-14 | 1 | -4/+1 |
| | | | | Reviewed by: marcel, and make world | ||||
* | Remove -g compiler flag. | marcel | 2000-01-03 | 1 | -1/+1 |
| | |||||
* | Manual page style work. | julian | 1999-12-21 | 1 | -16/+37 |
| | | | | | Submitted by: Alexey Zelkin <phantom@FreeBSD.org> thanks! | ||||
* | Missed part of previous commit. | archie | 1999-12-03 | 1 | -0/+4 |
| | |||||
* | Recognize NGM_BPF_COOKIE. | archie | 1999-12-03 | 1 | -0/+1 |
| |