Lines Matching refs:port_params
432 struct port_params {
440 struct port_params params;
475 port_init(struct port_params *params)
726 static const struct port_params port_params_default = {
752 static struct port_params port_params[MAX_PORTS];
827 port_params[n_ports].iface = optarg;
828 port_params[n_ports].iface_queue = 0;
837 port_params[n_ports - 1].iface_queue = atoi(optarg);
974 bpf_set_link_xdp_fd(if_nametoindex(port_params[i].iface), -1,
975 port_params[i].xsk_cfg.xdp_flags);
990 memcpy(&port_params[i], &port_params_default,
991 sizeof(struct port_params));
1008 port_params[i].bp = bp;
1011 ports[i] = port_init(&port_params[i]);