Searched refs:hw_entry (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/net/core/ |
H A D | drop_monitor.c | 329 const struct net_dm_hw_entry *hw_entry) in net_dm_hw_entry_put() 337 if (nla_put_string(msg, NET_DM_ATTR_HW_TRAP_NAME, hw_entry->trap_name)) in net_dm_hw_entry_put() 340 if (nla_put_u32(msg, NET_DM_ATTR_HW_TRAP_COUNT, hw_entry->count)) in net_dm_hw_entry_put() 446 struct net_dm_hw_entry *hw_entry; in net_dm_hw_trap_summary_probe() local 462 hw_entry = &hw_entries->entries[i]; in net_dm_hw_trap_summary_probe() 463 if (!strncmp(hw_entry->trap_name, metadata->trap_name, in net_dm_hw_trap_summary_probe() 465 hw_entry->count++; in net_dm_hw_trap_summary_probe() 472 hw_entry = &hw_entries->entries[hw_entries->num_entries]; in net_dm_hw_trap_summary_probe() 473 strlcpy(hw_entry->trap_name, metadata->trap_name, in net_dm_hw_trap_summary_probe() 475 hw_entry in net_dm_hw_trap_summary_probe() 328 net_dm_hw_entry_put(struct sk_buff *msg, const struct net_dm_hw_entry *hw_entry) net_dm_hw_entry_put() argument [all...] |
/kernel/linux/linux-6.6/net/core/ |
H A D | drop_monitor.c | 325 const struct net_dm_hw_entry *hw_entry) in net_dm_hw_entry_put() 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 in net_dm_hw_trap_summary_probe() 324 net_dm_hw_entry_put(struct sk_buff *msg, const struct net_dm_hw_entry *hw_entry) net_dm_hw_entry_put() argument [all...] |
Completed in 4 milliseconds