Lines Matching defs:cfg
268 get_init_stpm_cfg(int vlan_id, UID_STP_CFG_T *cfg)
271 *cfg = uid_cfg;
277 get_init_port_cfg(int vlan_id, int port_index, UID_STP_PORT_CFG_T *cfg)
289 cfg->field_mask = 0;
290 cfg->port_priority = DEF_PORT_PRIO;
291 cfg->admin_non_stp = DEF_ADMIN_NON_STP;
292 cfg->admin_edge = DEF_ADMIN_EDGE;
293 cfg->admin_port_path_cost = ADMIN_PORT_PATH_COST_AUTO;
294 cfg->admin_point2point = DEF_P2P;
301 cfg->port_priority = propval;
302 cfg->field_mask |= PT_CFG_PRIO;
307 cfg->admin_non_stp = !propval;
308 cfg->field_mask |= PT_CFG_NON_STP;
313 cfg->admin_edge = propval;
314 cfg->field_mask |= PT_CFG_EDGE;
319 cfg->admin_port_path_cost = propval;
320 cfg->field_mask |= PT_CFG_COST;
325 cfg->admin_point2point = propval;
326 cfg->field_mask |= PT_CFG_P2P;
339 cfg->field_mask |= PT_CFG_MCHECK;
344 pdp->admin_non_stp = cfg->admin_non_stp;