diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2023-08-03 17:19:48 +1000 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2023-08-04 01:28:16 +0200 |
commit | 282581ba8433b5d0be928b10b724fbe277d8a4c6 (patch) | |
tree | 4f565021bc2dc3a5e38735f9cd9df97d7efe5792 /util.c | |
parent | f62600b2df2c168cf0a4bb23730cbc23510cb53c (diff) | |
download | passt-282581ba8433b5d0be928b10b724fbe277d8a4c6.tar passt-282581ba8433b5d0be928b10b724fbe277d8a4c6.tar.gz passt-282581ba8433b5d0be928b10b724fbe277d8a4c6.tar.bz2 passt-282581ba8433b5d0be928b10b724fbe277d8a4c6.tar.lz passt-282581ba8433b5d0be928b10b724fbe277d8a4c6.tar.xz passt-282581ba8433b5d0be928b10b724fbe277d8a4c6.tar.zst passt-282581ba8433b5d0be928b10b724fbe277d8a4c6.zip |
netlink: Fill in netlink header fields from nl_req()
Currently netlink functions need to fill in a full netlink header, as well
as a payload then call nl_req() to submit that to the kernel. It makes
things a bit terser if we just give the relevant header fields as
parameters to nl_req() and have it complete the header.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'util.c')
0 files changed, 0 insertions, 0 deletions