netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH iproute2-next 0/2] ip: Support IP address protocol
@ 2023-03-27 16:12 Petr Machata
  2023-03-30 16:00 ` patchwork-bot+netdevbpf
  0 siblings, 1 reply; 2+ messages in thread
From: Petr Machata @ 2023-03-27 16:12 UTC (permalink / raw)
  To: netdev, dsahern, stephen; +Cc: Petr Machata

IPv4 and IPv6 addresses can be assigned a protocol value that indicates the
provenance of the IP address. The attribute is modeled after ip route
protocols, and essentially allows the administrator or userspace stack to
tag addresses in some way that makes sense to the actor in question.
Support for this feature was merged with commit 47f0bd503210 ("net: Add new
protocol attribute to IP addresses"), for kernel 5.18.

In this patchset, add support for setting the protocol attribute at IP
address addition, replacement, and listing requests.

In patch #1, the code is added. The commit message at the patch lists an
example session including JSON output. In patch #2, add the corresponding
man page coverage.

Petr Machata (2):
  ip: Support IP address protocol
  man: man8: Add man page coverage for "ip address add ... proto"

 include/rt_names.h       |  2 ++
 ip/ip_common.h           |  2 ++
 ip/ipaddress.c           | 34 ++++++++++++++++++++--
 lib/rt_names.c           | 62 ++++++++++++++++++++++++++++++++++++++++
 man/man8/ip-address.8.in | 49 +++++++++++++++++++++++++++++--
 5 files changed, 145 insertions(+), 4 deletions(-)

-- 
2.39.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH iproute2-next 0/2] ip: Support IP address protocol
  2023-03-27 16:12 [PATCH iproute2-next 0/2] ip: Support IP address protocol Petr Machata
@ 2023-03-30 16:00 ` patchwork-bot+netdevbpf
  0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2023-03-30 16:00 UTC (permalink / raw)
  To: Petr Machata; +Cc: netdev, dsahern, stephen

Hello:

This series was applied to iproute2/iproute2-next.git (main)
by David Ahern <dsahern@kernel.org>:

On Mon, 27 Mar 2023 18:12:04 +0200 you wrote:
> IPv4 and IPv6 addresses can be assigned a protocol value that indicates the
> provenance of the IP address. The attribute is modeled after ip route
> protocols, and essentially allows the administrator or userspace stack to
> tag addresses in some way that makes sense to the actor in question.
> Support for this feature was merged with commit 47f0bd503210 ("net: Add new
> protocol attribute to IP addresses"), for kernel 5.18.
> 
> [...]

Here is the summary with links:
  - [iproute2-next,1/2] ip: Support IP address protocol
    https://git.kernel.org/pub/scm/network/iproute2/iproute2-next.git/commit/?id=bdb8d8549ed9
  - [iproute2-next,2/2] man: man8: Add man page coverage for "ip address add ... proto"
    https://git.kernel.org/pub/scm/network/iproute2/iproute2-next.git/commit/?id=1fbb61058d34

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-03-30 16:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-27 16:12 [PATCH iproute2-next 0/2] ip: Support IP address protocol Petr Machata
2023-03-30 16:00 ` patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).