Lines Matching refs:app_cfg
51 struct app_config app_cfg; variable
56 struct app_port *ptr_port = &app_cfg.ports[idx_port]; in lock_port()
63 struct app_port *ptr_port = &app_cfg.ports[idx_port]; in unlock_port()
70 struct app_port *ptr_port = &app_cfg.ports[idx_port]; in mark_port_active()
77 struct app_port *ptr_port = &app_cfg.ports[idx_port]; in mark_port_inactive()
84 struct app_port *ptr_port = &app_cfg.ports[idx_port]; in mark_port_newmac()
89 static void setup_ports(struct app_config *app_cfg, int cnt_ports) in setup_ports() argument
104 struct app_port *ptr_port = &app_cfg->ports[idx_port]; in setup_ports()
192 while (app_cfg.exit_now == 0) { in worker_main()
193 for (idx_port = 0; idx_port < app_cfg.cnt_ports; idx_port++) { in worker_main()
195 ptr_port = &app_cfg.ports[idx_port]; in worker_main()
264 for (portid = 0; portid < app_cfg.cnt_ports; portid++) { in close_ports()
297 setup_ports(&app_cfg, cnt_ports); in main()
299 app_cfg.exit_now = 0; in main()
300 app_cfg.cnt_ports = cnt_ports; in main()
312 app_cfg.exit_now = 1; in main()