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