<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/NetworkManager.git/src/platform/nm-platform.c, branch th/cli-strsplit</title>
<subtitle>gitlab.freedesktop.org: NetworkManager/NetworkManager.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/'/>
<entry>
<title>platform: fix TC to-string/hash/cmp functions to include the action</title>
<updated>2017-12-11T10:08:41+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2017-12-10T11:52:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=fe3d7209e70944ec218d133cd66aa946e28c5a94'/>
<id>fe3d7209e70944ec218d133cd66aa946e28c5a94</id>
<content type='text'>
Also add a define NM_PLATFORM_ACTION_KIND_SIMPLE. It makes the
uses of "simple" grepable.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also add a define NM_PLATFORM_ACTION_KIND_SIMPLE. It makes the
uses of "simple" grepable.
</pre>
</div>
</content>
</entry>
<entry>
<title>platform: add support for traffic filters</title>
<updated>2017-12-11T10:08:41+00:00</updated>
<author>
<name>Lubomir Rintel</name>
<email>lkundrak@v3.sk</email>
</author>
<published>2017-11-15T19:36:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=b0fd3ecbaf800c7c70104f0809b0f1e2fb18e1f8'/>
<id>b0fd3ecbaf800c7c70104f0809b0f1e2fb18e1f8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>platform: add support for queueing disciplines</title>
<updated>2017-12-11T09:52:22+00:00</updated>
<author>
<name>Lubomir Rintel</name>
<email>lkundrak@v3.sk</email>
</author>
<published>2017-11-15T19:36:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=ff9f27eb1231a8a6cb6e0ca5f172da61da136e96'/>
<id>ff9f27eb1231a8a6cb6e0ca5f172da61da136e96</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>platform: merge nm_platform_*_delete() delete functions</title>
<updated>2017-12-11T09:30:26+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2017-11-29T12:10:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=7573594a2182d141e85b5fc1cb376b7e78a40853'/>
<id>7573594a2182d141e85b5fc1cb376b7e78a40853</id>
<content type='text'>
It only makes sense to call delete() with NMPObjects that
we obtained from the platform cache. Otherwise, if we didn't
get it from the cache in the first place, we wouldn't know
what to delete.

Hence, the input argument is (almost) always an NMPObject
in the first place. That is different from add(), where
we might create a new specific NMPlatform* instance on the
stack. For add() it makes slightly more sense to have different
functions depending on the type. For delete(), it doesn't.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It only makes sense to call delete() with NMPObjects that
we obtained from the platform cache. Otherwise, if we didn't
get it from the cache in the first place, we wouldn't know
what to delete.

Hence, the input argument is (almost) always an NMPObject
in the first place. That is different from add(), where
we might create a new specific NMPlatform* instance on the
stack. For add() it makes slightly more sense to have different
functions depending on the type. For delete(), it doesn't.
</pre>
</div>
</content>
</entry>
<entry>
<title>platform/trivial: s/ADDRROUTE/OBJECT/ for the cache lookup</title>
<updated>2017-12-11T09:30:26+00:00</updated>
<author>
<name>Lubomir Rintel</name>
<email>lkundrak@v3.sk</email>
</author>
<published>2017-11-23T14:41:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=93ac0e455b35269df8a053a86ca2a43cafa4d3ee'/>
<id>93ac0e455b35269df8a053a86ca2a43cafa4d3ee</id>
<content type='text'>
It's going to be useful for other objects that have a type (of course)
and an ifindex.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It's going to be useful for other objects that have a type (of course)
and an ifindex.
</pre>
</div>
</content>
</entry>
<entry>
<title>platform: preserve errno in nm_platform_sysctl_get_int_checked()</title>
<updated>2017-11-24T16:06:42+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2017-11-22T21:07:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=653aab70ac0a5dfa3e078a1cbbf6ab361eb242f3'/>
<id>653aab70ac0a5dfa3e078a1cbbf6ab361eb242f3</id>
<content type='text'>
It's not clear whether free() changes errno. Be sure about it.

https://bugzilla.gnome.org/show_bug.cgi?id=790726
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It's not clear whether free() changes errno. Be sure about it.

https://bugzilla.gnome.org/show_bug.cgi?id=790726
</pre>
</div>
</content>
</entry>
<entry>
<title>all: use nm_direct_hash() instead of g_direct_hash()</title>
<updated>2017-11-16T10:49:52+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2017-11-15T15:06:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=93adadbdcbbccfeafb8523b129f103bb5b23f7d5'/>
<id>93adadbdcbbccfeafb8523b129f103bb5b23f7d5</id>
<content type='text'>
We also do this for libnm, where it causes visible changes
in behavior. But if somebody would rely on the hashing implementation
for hash tables, it would be seriously flawed.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We also do this for libnm, where it causes visible changes
in behavior. But if somebody would rely on the hashing implementation
for hash tables, it would be seriously flawed.
</pre>
</div>
</content>
</entry>
<entry>
<title>all: don't use g_direct_equal() for hash table equality function</title>
<updated>2017-11-16T10:49:51+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2017-11-15T15:03:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=b58481b31ec5785d208a7b11df5b05fc50c158e2'/>
<id>b58481b31ec5785d208a7b11df5b05fc50c158e2</id>
<content type='text'>
GHashTable optimizes a NULL equality function to use direct pointer
comparison. That saves the overhead of calling g_direct_equal().
This is also documented behavior for g_hash_table_new().

While at it, also don't pass g_direct_hash() but use the default
of %NULL. The behavior is the same, but consistently don't use
g_direct_hash().
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
GHashTable optimizes a NULL equality function to use direct pointer
comparison. That saves the overhead of calling g_direct_equal().
This is also documented behavior for g_hash_table_new().

While at it, also don't pass g_direct_hash() but use the default
of %NULL. The behavior is the same, but consistently don't use
g_direct_hash().
</pre>
</div>
</content>
</entry>
<entry>
<title>platform: consider RTNH_F_ONLINK onlink flag for IPv4 routes</title>
<updated>2017-11-13T10:35:44+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2017-11-07T15:26:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=88a40f960c5d1546f1966ff2223d28f87e2f054b'/>
<id>88a40f960c5d1546f1966ff2223d28f87e2f054b</id>
<content type='text'>
The "onlink" flag for IPv4 routes is part of the route ID.
Consider it in nm_platform_ip4_route_cmp().

Also, allow configuring the flag when adding a route.

Note that for IPv6, the onlink flag is still ignored.
Pretty much like kernel does.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The "onlink" flag for IPv4 routes is part of the route ID.
Consider it in nm_platform_ip4_route_cmp().

Also, allow configuring the flag when adding a route.

Note that for IPv6, the onlink flag is still ignored.
Pretty much like kernel does.
</pre>
</div>
</content>
</entry>
<entry>
<title>platform: track all rtm_flags for routes</title>
<updated>2017-11-13T10:35:44+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2017-11-07T14:32:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=81778f59f2f11fad74fce355561618e6da129939'/>
<id>81778f59f2f11fad74fce355561618e6da129939</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
