Home
last modified time | relevance | path

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

/Linux-v6.6/net/core/
Ddrop_monitor.c325 const struct net_dm_hw_entry *hw_entry) in net_dm_hw_entry_put() argument
333 if (nla_put_string(msg, NET_DM_ATTR_HW_TRAP_NAME, hw_entry->trap_name)) in net_dm_hw_entry_put()
336 if (nla_put_u32(msg, NET_DM_ATTR_HW_TRAP_COUNT, hw_entry->count)) in net_dm_hw_entry_put()
442 struct net_dm_hw_entry *hw_entry; in net_dm_hw_trap_summary_probe() local
458 hw_entry = &hw_entries->entries[i]; in net_dm_hw_trap_summary_probe()
459 if (!strncmp(hw_entry->trap_name, metadata->trap_name, in net_dm_hw_trap_summary_probe()
461 hw_entry->count++; in net_dm_hw_trap_summary_probe()
468 hw_entry = &hw_entries->entries[hw_entries->num_entries]; in net_dm_hw_trap_summary_probe()
469 strscpy(hw_entry->trap_name, metadata->trap_name, in net_dm_hw_trap_summary_probe()
471 hw_entry->count = 1; in net_dm_hw_trap_summary_probe()