Searched refs:pol_id (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_trap.c | 1860 u32 pol_id; in mlxsw_sp_trap_group_policer_hw_id_get() local 1866 pol_id = gr_item->group.init_policer_id; in mlxsw_sp_trap_group_policer_hw_id_get() 1867 if (!pol_id) { in mlxsw_sp_trap_group_policer_hw_id_get() 1872 pol_item = mlxsw_sp_trap_policer_item_lookup(mlxsw_sp, pol_id); in mlxsw_sp_trap_group_policer_hw_id_get()
|
/linux/net/xfrm/ |
H A D | xfrm_user.c | 3048 struct xfrm_userpolicy_id *pol_id; in build_migrate() local 3052 nlh = nlmsg_put(skb, 0, 0, XFRM_MSG_MIGRATE, sizeof(*pol_id), 0); in build_migrate() 3056 pol_id = nlmsg_data(nlh); in build_migrate() 3058 memset(pol_id, 0, sizeof(*pol_id)); in build_migrate() 3059 memcpy(&pol_id->sel, sel, sizeof(pol_id->sel)); in build_migrate() 3060 pol_id->dir = dir; in build_migrate()
|