/freebsd/share/man/man4/ |
H A D | rtnetlink.4 | diff 25c2dd2f2c6c6144d59d463c95f0471301d6efaa Thu Feb 09 15:53:44 CET 2023 Alexander V. Chernikov <melifaro@FreeBSD.org> netlink: return optional metadata with the operation result.
Some operations like interface creation may need to return metadata - in this case, interface name - back to the caller if the operation is successful. This change implements attaching an `NLMSGERR_ATTR_COOKIE` nla to the operation reply message via `nlmsg_report_cookie()`. Additionally, on successful interface creation, interface index and interface name are returned in the `IFLA_NEW_IFINDEX` and `IFLA_IFNAME TLVs, encapsulated in the `NLMSGERR_ATTR_COOKIE`.
Reviewed By: pauamma Differential Revision: https://reviews.freebsd.org/D38283 MFC after: 1 week
|
H A D | netlink.4 | diff 25c2dd2f2c6c6144d59d463c95f0471301d6efaa Thu Feb 09 15:53:44 CET 2023 Alexander V. Chernikov <melifaro@FreeBSD.org> netlink: return optional metadata with the operation result.
Some operations like interface creation may need to return metadata - in this case, interface name - back to the caller if the operation is successful. This change implements attaching an `NLMSGERR_ATTR_COOKIE` nla to the operation reply message via `nlmsg_report_cookie()`. Additionally, on successful interface creation, interface index and interface name are returned in the `IFLA_NEW_IFINDEX` and `IFLA_IFNAME TLVs, encapsulated in the `NLMSGERR_ATTR_COOKIE`.
Reviewed By: pauamma Differential Revision: https://reviews.freebsd.org/D38283 MFC after: 1 week
|
/freebsd/tests/sys/netlink/ |
H A D | test_rtnl_iface.py | diff 25c2dd2f2c6c6144d59d463c95f0471301d6efaa Thu Feb 09 15:53:44 CET 2023 Alexander V. Chernikov <melifaro@FreeBSD.org> netlink: return optional metadata with the operation result.
Some operations like interface creation may need to return metadata - in this case, interface name - back to the caller if the operation is successful. This change implements attaching an `NLMSGERR_ATTR_COOKIE` nla to the operation reply message via `nlmsg_report_cookie()`. Additionally, on successful interface creation, interface index and interface name are returned in the `IFLA_NEW_IFINDEX` and `IFLA_IFNAME TLVs, encapsulated in the `NLMSGERR_ATTR_COOKIE`.
Reviewed By: pauamma Differential Revision: https://reviews.freebsd.org/D38283 MFC after: 1 week
|
/freebsd/sys/netlink/route/ |
H A D | iface_drivers.c | diff 25c2dd2f2c6c6144d59d463c95f0471301d6efaa Thu Feb 09 15:53:44 CET 2023 Alexander V. Chernikov <melifaro@FreeBSD.org> netlink: return optional metadata with the operation result.
Some operations like interface creation may need to return metadata - in this case, interface name - back to the caller if the operation is successful. This change implements attaching an `NLMSGERR_ATTR_COOKIE` nla to the operation reply message via `nlmsg_report_cookie()`. Additionally, on successful interface creation, interface index and interface name are returned in the `IFLA_NEW_IFINDEX` and `IFLA_IFNAME TLVs, encapsulated in the `NLMSGERR_ATTR_COOKIE`.
Reviewed By: pauamma Differential Revision: https://reviews.freebsd.org/D38283 MFC after: 1 week
|
/freebsd/sys/netlink/ |
H A D | netlink_message_parser.c | diff 25c2dd2f2c6c6144d59d463c95f0471301d6efaa Thu Feb 09 15:53:44 CET 2023 Alexander V. Chernikov <melifaro@FreeBSD.org> netlink: return optional metadata with the operation result.
Some operations like interface creation may need to return metadata - in this case, interface name - back to the caller if the operation is successful. This change implements attaching an `NLMSGERR_ATTR_COOKIE` nla to the operation reply message via `nlmsg_report_cookie()`. Additionally, on successful interface creation, interface index and interface name are returned in the `IFLA_NEW_IFINDEX` and `IFLA_IFNAME TLVs, encapsulated in the `NLMSGERR_ATTR_COOKIE`.
Reviewed By: pauamma Differential Revision: https://reviews.freebsd.org/D38283 MFC after: 1 week
|
H A D | netlink_message_parser.h | diff 25c2dd2f2c6c6144d59d463c95f0471301d6efaa Thu Feb 09 15:53:44 CET 2023 Alexander V. Chernikov <melifaro@FreeBSD.org> netlink: return optional metadata with the operation result.
Some operations like interface creation may need to return metadata - in this case, interface name - back to the caller if the operation is successful. This change implements attaching an `NLMSGERR_ATTR_COOKIE` nla to the operation reply message via `nlmsg_report_cookie()`. Additionally, on successful interface creation, interface index and interface name are returned in the `IFLA_NEW_IFINDEX` and `IFLA_IFNAME TLVs, encapsulated in the `NLMSGERR_ATTR_COOKIE`.
Reviewed By: pauamma Differential Revision: https://reviews.freebsd.org/D38283 MFC after: 1 week
|
H A D | netlink_message_writer.h | diff 25c2dd2f2c6c6144d59d463c95f0471301d6efaa Thu Feb 09 15:53:44 CET 2023 Alexander V. Chernikov <melifaro@FreeBSD.org> netlink: return optional metadata with the operation result.
Some operations like interface creation may need to return metadata - in this case, interface name - back to the caller if the operation is successful. This change implements attaching an `NLMSGERR_ATTR_COOKIE` nla to the operation reply message via `nlmsg_report_cookie()`. Additionally, on successful interface creation, interface index and interface name are returned in the `IFLA_NEW_IFINDEX` and `IFLA_IFNAME TLVs, encapsulated in the `NLMSGERR_ATTR_COOKIE`.
Reviewed By: pauamma Differential Revision: https://reviews.freebsd.org/D38283 MFC after: 1 week
|
H A D | netlink_message_writer.c | diff 25c2dd2f2c6c6144d59d463c95f0471301d6efaa Thu Feb 09 15:53:44 CET 2023 Alexander V. Chernikov <melifaro@FreeBSD.org> netlink: return optional metadata with the operation result.
Some operations like interface creation may need to return metadata - in this case, interface name - back to the caller if the operation is successful. This change implements attaching an `NLMSGERR_ATTR_COOKIE` nla to the operation reply message via `nlmsg_report_cookie()`. Additionally, on successful interface creation, interface index and interface name are returned in the `IFLA_NEW_IFINDEX` and `IFLA_IFNAME TLVs, encapsulated in the `NLMSGERR_ATTR_COOKIE`.
Reviewed By: pauamma Differential Revision: https://reviews.freebsd.org/D38283 MFC after: 1 week
|