On Thu, Jul 10, 2025 at 9:28 AM Eelco Chaudron via dev <ovs-dev@openvswitch.org> wrote: > > This commit adds the ovs_dump_nla GDB command, which allows > dumping Netlink attributes. Here are some examples: > > (gdb) ovs_dump_nla 0x7f10e35d8858 172 ovs_check_pkt_len_attr > (struct nlattr *) 0x7f10e35d8858:[OVS_CHECK_PKT_LEN_ATTR_PKT_... > (struct nlattr *) 0x7f10e35d8860:[OVS_CHECK_PKT_LEN_ATTR_... > (struct nlattr *) 0x7f10e35d88b0:[OVS_CHECK_PKT_LEN_ATTR_... > > (gdb) ovs_dump_nla 0x7f10e35d8858 172 > (struct nlattr *) 0x7f10e35d8858: {nla_len = 6, nla_type ... > (struct nlattr *) 0x7f10e35d8860: {nla_len = 80, nla_type ... > ...len = 80, nla_type = 3}, nl_attr_get() = 0x7f10e35d88b4 > > (gdb) ovs_dump_nla 0x7f10e35d88b4 80 ovs_action_attr dump > ... nla_type = 19}, nl_attr_get() = 0x7f10e35d88b8: 3f 01 00 00 > ... > > Signed-off-by: Eelco Chaudron <echau...@redhat.com> > ---
Thanks Eelco Acked-by: Mike Pattrick <m...@redhat.com> _______________________________________________ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev