<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/lib/libnetgraph/msg.c, branch release/7.3.0_cvs</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F7.3.0_cvs</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F7.3.0_cvs'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2010-03-21T01:30:13Z</updated>
<entry>
<title>Copy releng/7.3 to release/7.3.0 to mark 7.3-RELEASE.</title>
<updated>2010-03-21T01:30:13Z</updated>
<author>
<name>Ken Smith</name>
<email>kensmith@FreeBSD.org</email>
</author>
<published>2010-03-21T01:30:13Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=9c4d1c1956ecb0a222fb2f4579c320391fb67f06'/>
<id>urn:sha1:9c4d1c1956ecb0a222fb2f4579c320391fb67f06</id>
<content type='text'>
Approved by:	re (implicit)

This commit was manufactured to restore the state of the 7.3-RELEASE image.
</content>
</entry>
<entry>
<title>Replace select() by poll() to avoid problems with big</title>
<updated>2007-05-14T14:18:41Z</updated>
<author>
<name>Alexander Motin</name>
<email>mav@FreeBSD.org</email>
</author>
<published>2007-05-14T14:18:41Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=82a35b739ab487714efe6001ecb1d5789d83074c'/>
<id>urn:sha1:82a35b739ab487714efe6001ecb1d5789d83074c</id>
<content type='text'>
descriptor number.

Approved by:	glebius (mentor)
</content>
</entry>
<entry>
<title>Include sys/socket.h to know about sa_family_t.</title>
<updated>2006-10-17T16:56:29Z</updated>
<author>
<name>Gleb Smirnoff</name>
<email>glebius@FreeBSD.org</email>
</author>
<published>2006-10-17T16:56:29Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=bbf889ededbfd1adae1823372c3041d465f1e029'/>
<id>urn:sha1:bbf889ededbfd1adae1823372c3041d465f1e029</id>
<content type='text'>
</content>
</entry>
<entry>
<title>In the splnet(9) times netgraph(4) was synchronous and if a message</title>
<updated>2006-01-12T19:14:40Z</updated>
<author>
<name>Gleb Smirnoff</name>
<email>glebius@FreeBSD.org</email>
</author>
<published>2006-01-12T19:14:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=2df050ad10cde5237970359fd21baf0c0d33b83c'/>
<id>urn:sha1:2df050ad10cde5237970359fd21baf0c0d33b83c</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>Make this compile with GCC4 by fixing a few signedness related warnings.</title>
<updated>2005-04-26T14:25:11Z</updated>
<author>
<name>Maxime Henrion</name>
<email>mux@FreeBSD.org</email>
</author>
<published>2005-04-26T14:25:11Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=b92367948a1777de80dd7ee31a15a90df0b727bf'/>
<id>urn:sha1:b92367948a1777de80dd7ee31a15a90df0b727bf</id>
<content type='text'>
Reviewed by:	md5(1)
</content>
</entry>
<entry>
<title>When we have converted an ASCII message to binary, set its version in</title>
<updated>2005-02-04T21:36:10Z</updated>
<author>
<name>Gleb Smirnoff</name>
<email>glebius@FreeBSD.org</email>
</author>
<published>2005-02-04T21:36:10Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=e551a1c3c28a1bbe9e994eb002f01dc0f2d75b99'/>
<id>urn:sha1:e551a1c3c28a1bbe9e994eb002f01dc0f2d75b99</id>
<content type='text'>
the header. Otherwise we will send a message with zero version.

MFC after:	3 days
</content>
</entry>
<entry>
<title>- Added three new interfaces, NgAllocRecvMsg(), NgAllocRecvAsciiMsg(),</title>
<updated>2004-01-27T20:25:14Z</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@FreeBSD.org</email>
</author>
<published>2004-01-27T20:25:14Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=d15ff417789ca1926d26a34db3d6c0137178cda6'/>
<id>urn:sha1:d15ff417789ca1926d26a34db3d6c0137178cda6</id>
<content type='text'>
  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
</content>
</entry>
<entry>
<title>Fixed memory leak in NgSendAsciiMsg().</title>
<updated>2004-01-27T18:38:22Z</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@FreeBSD.org</email>
</author>
<published>2004-01-27T18:38:22Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=430b8c1b05e98d6f5e10ab17afafe2f68ed56278'/>
<id>urn:sha1:430b8c1b05e98d6f5e10ab17afafe2f68ed56278</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use the new defines that include the trailing '\0' in the code.</title>
<updated>2003-11-14T08:09:01Z</updated>
<author>
<name>Hartmut Brandt</name>
<email>harti@FreeBSD.org</email>
</author>
<published>2003-11-14T08:09:01Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=54e33116437439f86e3276c90d07c0bd5724dfef'/>
<id>urn:sha1:54e33116437439f86e3276c90d07c0bd5724dfef</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>Fix bugs in NgSendMsg() and NgSendAsciiMsg() where the wrong token</title>
<updated>2001-10-25T04:02:25Z</updated>
<author>
<name>Archie Cobbs</name>
<email>archie@FreeBSD.org</email>
</author>
<published>2001-10-25T04:02:25Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=0fb56449d624bb1b809cc2fdc3b9870c3bb88f37'/>
<id>urn:sha1:0fb56449d624bb1b809cc2fdc3b9870c3bb88f37</id>
<content type='text'>
value could be returned when the debug level was non-zero.

Submitted by:	Harti Brandt &lt;brandt@fokus.gmd.de&gt;
MFC after:	5 days
</content>
</entry>
</feed>
