Wireshark-commits: [Wireshark-commits] master 0add542: netlink: add helper for dissecting an array
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=0add542dbfc6d0467d14ebb2abbde0ebd1427ce1
Submitter: Michael Mann (mmann78@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
0add542 by Peter Wu (peter@xxxxxxxxxxxxx):
netlink: add helper for dissecting an array of attributes
From https://wiki.linuxfoundation.org/networking/generic_netlink_howto
"Arrays can be represented by using a single nested attribute as a
container with several of the same attribute type inside each
representing a spot in the array."
This patch adds a helper function to dissect such a type (it will be
used by Generic Netlink for CTRL_ATTR_OPS and CTRL_ATTR_MCAST_GROUPS).
Change-Id: I60537712f7fb0f9d4fb8850c6c8eef590635f49f
Reviewed-on: https://code.wireshark.org/review/20903
Petri-Dish: Jaap Keuter <jaap.keuter@xxxxxxxxx>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx>
Actions performed:
from 802479d Update symbol lists.
adds 0add542 netlink: add helper for dissecting an array of attributes
Summary of changes:
epan/dissectors/packet-netlink.c | 78 +++++++++++++++++++++++++++-----------
epan/dissectors/packet-netlink.h | 8 ++++
2 files changed, 63 insertions(+), 23 deletions(-)