summaryrefslogtreecommitdiff
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorMinxi Hou <houminxi@gmail.com>2026-05-22 20:41:54 +0300
committerJakub Kicinski <kuba@kernel.org>2026-05-27 03:17:42 +0300
commitb74e71b6a986650ea04d99ef443c6b3b18da52c5 (patch)
treed9255d248791078ae70f38017e5f42b12d7aea34 /include/uapi/linux
parentb82bfddc46e20d3ebb57c23bc8b8c831b7ca9f88 (diff)
downloadlinux-b74e71b6a986650ea04d99ef443c6b3b18da52c5.tar.xz
tools: ynl: add unicast notification receive support
Add ntf_bind() method to YnlFamily for binding the netlink socket without joining a multicast group. This enables receiving unicast notifications through the existing poll_ntf/check_ntf path. The OVS packet family sends MISS and ACTION upcalls via genlmsg_unicast() to a per-vport PID rather than through a multicast group. The existing ntf_subscribe() couples bind() with setsockopt(ADD_MEMBERSHIP), which does not fit the unicast case. ntf_bind() provides the bind-only alternative, with the address defaulting to (0, 0) but exposed as an explicit argument. Signed-off-by: Minxi Hou <houminxi@gmail.com> Link: https://patch.msgid.link/20260522174154.720293-3-houminxi@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions