Home
last modified time | relevance | path

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

/linux/net/core/
H A Ddrop_monitor.c326 const struct net_dm_hw_entry *hw_entry) in net_dm_hw_entry_put() argument
334 if (nla_put_string(msg, NET_DM_ATTR_HW_TRAP_NAME, hw_entry->trap_name)) in net_dm_hw_entry_put()
337 if (nla_put_u32(msg, NET_DM_ATTR_HW_TRAP_COUNT, hw_entry->count)) in net_dm_hw_entry_put()
443 struct net_dm_hw_entry *hw_entry; in net_dm_hw_trap_summary_probe() local
459 hw_entry = &hw_entries->entries[i]; in net_dm_hw_trap_summary_probe()
460 if (!strncmp(hw_entry->trap_name, metadata->trap_name, in net_dm_hw_trap_summary_probe()
462 hw_entry->count++; in net_dm_hw_trap_summary_probe()
469 hw_entry = &hw_entries->entries[hw_entries->num_entries]; in net_dm_hw_trap_summary_probe()
470 strscpy(hw_entry->trap_name, metadata->trap_name, in net_dm_hw_trap_summary_probe()
472 hw_entry->count = 1; in net_dm_hw_trap_summary_probe()