Home
last modified time | relevance | path

Searched refs:hw_entry (Results 1 – 1 of 1) sorted by relevance

/linux-6.12.1/net/core/
Ddrop_monitor.c327 const struct net_dm_hw_entry *hw_entry) in net_dm_hw_entry_put() argument
335 if (nla_put_string(msg, NET_DM_ATTR_HW_TRAP_NAME, hw_entry->trap_name)) in net_dm_hw_entry_put()
338 if (nla_put_u32(msg, NET_DM_ATTR_HW_TRAP_COUNT, hw_entry->count)) in net_dm_hw_entry_put()
444 struct net_dm_hw_entry *hw_entry; in net_dm_hw_trap_summary_probe() local
460 hw_entry = &hw_entries->entries[i]; in net_dm_hw_trap_summary_probe()
461 if (!strncmp(hw_entry->trap_name, metadata->trap_name, in net_dm_hw_trap_summary_probe()
463 hw_entry->count++; in net_dm_hw_trap_summary_probe()
470 hw_entry = &hw_entries->entries[hw_entries->num_entries]; in net_dm_hw_trap_summary_probe()
471 strscpy(hw_entry->trap_name, metadata->trap_name, in net_dm_hw_trap_summary_probe()
473 hw_entry->count = 1; in net_dm_hw_trap_summary_probe()