<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/include/net/netlink.h, branch v2.6.19</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/include/net/netlink.h?h=v2.6.19</id>
<link rel='self' href='https://git.amat.us/linux/atom/include/net/netlink.h?h=v2.6.19'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2006-09-29T00:54:14Z</updated>
<entry>
<title>[IPV4]: introduce nla_get_be32()/NLA_PUT_BE32()</title>
<updated>2006-09-29T00:54:14Z</updated>
<author>
<name>Al Viro</name>
<email>viro@zeniv.linux.org.uk</email>
</author>
<published>2006-09-27T05:14:41Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=00012e5bb9527022cbc843c5d372b282dbe6c4af'/>
<id>urn:sha1:00012e5bb9527022cbc843c5d372b282dbe6c4af</id>
<content type='text'>
net-endian counterparts of nla_get_u32()/NLA_PUT_U32()

Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[Netlink]: add nla_validate_nested()</title>
<updated>2006-09-25T22:54:03Z</updated>
<author>
<name>Paul Moore</name>
<email>paul.moore@hp.com</email>
</author>
<published>2006-09-25T22:54:03Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=4fe5d5c07ab615a52fd1b0ceba5aeed7c612821a'/>
<id>urn:sha1:4fe5d5c07ab615a52fd1b0ceba5aeed7c612821a</id>
<content type='text'>
Add a new function, nla_validate_nested(), to validate nested Netlink
attributes.

Signed-off-by: Paul Moore &lt;paul.moore@hp.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[NETLINK]: add nla_for_each_nested() to the interface list</title>
<updated>2006-09-25T22:53:37Z</updated>
<author>
<name>Paul Moore</name>
<email>paul.moore@hp.com</email>
</author>
<published>2006-09-25T22:53:37Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=22acb19a91d2b551ea37647747972e5286284b22'/>
<id>urn:sha1:22acb19a91d2b551ea37647747972e5286284b22</id>
<content type='text'>
At the top of include/net/netlink.h is a list of Netlink interfaces, however,
the nla_for_each_nested() macro was not listed.  This patch adds this interface
to the list at the top of the header file.

Signed-off-by: Paul Moore &lt;paul.moore@hp.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[NETLINK]: Improve string attribute validation</title>
<updated>2006-09-22T22:18:24Z</updated>
<author>
<name>Thomas Graf</name>
<email>tgraf@suug.ch</email>
</author>
<published>2006-08-27T03:11:47Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=a5531a5d852008be40811496029012f4ad3093d1'/>
<id>urn:sha1:a5531a5d852008be40811496029012f4ad3093d1</id>
<content type='text'>
Introduces a new attribute type NLA_NUL_STRING to support NUL
terminated strings. Attributes of this kind require to carry
a terminating NUL within the maximum specified in the policy.

The `old' NLA_STRING which is not required to be NUL terminated
is extended to provide means to specify a maximum length of the
string.

Aims at easing the pain with using nla_strlcpy() on temporary
buffers.

Signed-off-by: Thomas Graf &lt;tgraf@suug.ch&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[NETLINK]: remove third bogus argument from NLA_PUT_FLAG</title>
<updated>2006-09-22T22:18:18Z</updated>
<author>
<name>Johannes Berg</name>
<email>johannes@sipsolutions.net</email>
</author>
<published>2006-08-27T02:17:53Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=ff5dfe736dd9f6c74b206aa77c0465dfd503bdb9'/>
<id>urn:sha1:ff5dfe736dd9f6c74b206aa77c0465dfd503bdb9</id>
<content type='text'>
This patch removes the 'value' argument from NLA_PUT_FLAG which is
unused anyway. The documentation comment was already correct so it
doesn't need an update :)

Signed-off-by: Johannes Berg &lt;johannes@sipsolutions.net&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[IPv4]: FIB configuration using struct fib_config</title>
<updated>2006-09-22T21:55:04Z</updated>
<author>
<name>Thomas Graf</name>
<email>tgraf@suug.ch</email>
</author>
<published>2006-08-18T01:14:52Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=4e902c57417c4c285b98ba2722468d1c3ed83d1b'/>
<id>urn:sha1:4e902c57417c4c285b98ba2722468d1c3ed83d1b</id>
<content type='text'>
Introduces struct fib_config replacing the ugly struct kern_rta
prone to ordering issues. Avoids creating faked netlink messages
for auto generated routes or requests via ioctl.

A new interface net/nexthop.h is added to help navigate through
nexthop configuration arrays.

A new struct nl_info will be used to carry the necessary netlink
information to be used for notifications later on.

Signed-off-by: Thomas Graf &lt;tgraf@suug.ch&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[RTNETLINK]: Add rtnetlink notification interface</title>
<updated>2006-09-22T21:54:50Z</updated>
<author>
<name>Thomas Graf</name>
<email>tgraf@suug.ch</email>
</author>
<published>2006-08-15T07:31:41Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=97676b6b5538b3e059d33b8338e7d5cc41c5f1f1'/>
<id>urn:sha1:97676b6b5538b3e059d33b8338e7d5cc41c5f1f1</id>
<content type='text'>
Adds rtnl_notify() to send rtnetlink notification messages and
rtnl_set_sk_err() to report notification errors as socket
errors in order to indicate the need of a resync due to loss
of events.

nlmsg_report() is added to properly document the meaning of
NLM_F_ECHO.

Signed-off-by: Thomas Graf &lt;tgraf@suug.ch&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[NETLINK]: Add notification message sending interface</title>
<updated>2006-09-22T21:54:49Z</updated>
<author>
<name>Thomas Graf</name>
<email>tgraf@suug.ch</email>
</author>
<published>2006-08-15T07:31:06Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=d387f6ad10764fc2174373b4a1cca443adee36e3'/>
<id>urn:sha1:d387f6ad10764fc2174373b4a1cca443adee36e3</id>
<content type='text'>
Adds nlmsg_notify() implementing proper notification logic. The
message is multicasted to all listeners in the group. The
applications the requests orignates from can request a unicast
back report in which case said socket will be excluded from the
multicast to avoid duplicated notifications.

nlmsg_multicast() is extended to take allocation flags to
allow notification in atomic contexts.

Signed-off-by: Thomas Graf &lt;tgraf@suug.ch&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[NETLINK]: Extend netlink messaging interface</title>
<updated>2006-09-22T21:53:43Z</updated>
<author>
<name>Thomas Graf</name>
<email>tgraf@suug.ch</email>
</author>
<published>2006-08-05T06:03:05Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=fe4944e59c357f945f81bc67edb7ed1392e875ad'/>
<id>urn:sha1:fe4944e59c357f945f81bc67edb7ed1392e875ad</id>
<content type='text'>
Adds:
 nlmsg_get_pos()                 return current position in message
 nlmsg_trim()                    trim part of message
 nla_reserve_nohdr(skb, len)     reserve room for an attribute w/o hdr
 nla_put_nohdr(skb, len, data)   add attribute w/o hdr
 nla_find_nested()               find attribute in nested attributes

Fixes nlmsg_new() to take allocation flags and consider size.

Signed-off-by: Thomas Graf &lt;tgraf@suug.ch&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[NETLINK]: Generic netlink receive queue processor</title>
<updated>2005-11-10T01:26:40Z</updated>
<author>
<name>Thomas Graf</name>
<email>tgraf@suug.ch</email>
</author>
<published>2005-11-10T01:25:53Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=82ace47a7256fd39d370a6442e0649f75961b831'/>
<id>urn:sha1:82ace47a7256fd39d370a6442e0649f75961b831</id>
<content type='text'>
Introduces netlink_run_queue() to handle the receive queue of
a netlink socket in a generic way. Processes as much as there
was in the queue upon entry and invokes a callback function
for each netlink message found. The callback function may
refuse a message by returning a negative error code but setting
the error pointer to 0 in which case netlink_run_queue() will
return with a qlen != 0.

Signed-off-by: Thomas Graf &lt;tgraf@suug.ch&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
</feed>
