Make struct nla_policy and struct nlattr const
authorHauke Mehrtens <hauke@hauke-m.de>
Sun, 2 Apr 2023 00:38:04 +0000 (02:38 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 1 Jul 2023 10:03:05 +0000 (12:03 +0200)
commitd433990c00e804593f253cc709b8fe901492b530
tree73796365567897efdf189d4fcf75a5b9915d5158
parent11b7c5f0745af2637b48131287f28689bb80ed3e
Make struct nla_policy and struct nlattr const

Make the struct nla_policy and the struct nlattr const in many places
like it is done in full libnl. This brings our libnl-tiny closer to the
upstream version.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
attr.c
genl.c
include/netlink/attr.h
include/netlink/genl/genl.h
include/netlink/msg.h
msg.c