Home
last modified time | relevance | path

Searched refs:opt (Results 1 – 22 of 22) sorted by relevance

/samples/bpf/
Dtc_l2_redirect_user.c30 int opt; in main() local
32 while ((opt = getopt(argc, argv, "F:U:i:")) != -1) { in main()
33 switch (opt) { in main()
Dtest_cgrp2_array_pin.c33 int opt; in main() local
35 while ((opt = getopt(argc, argv, "F:U:v:")) != -1) { in main()
36 switch (opt) { in main()
Dxdp_monitor_user.c51 int longindex = 0, opt; in main() local
55 while ((opt = getopt_long(argc, argv, "si:vh", in main()
57 switch (opt) { in main()
Dxdp_adjust_tail_user.c93 int i, prog_fd, map_fd, opt; in main() local
104 while ((opt = getopt(argc, argv, optstr)) != -1) { in main()
106 switch (opt) { in main()
131 opt_flags[opt] = 0; in main()
Dibumad_user.c90 int opt, err = -1; in main() local
92 while ((opt = getopt_long(argc, argv, "hd:rSw", in main()
94 switch (opt) { in main()
Dxdp1_user.c88 int prog_fd, map_fd, opt; in main() local
94 while ((opt = getopt(argc, argv, optstr)) != -1) { in main()
95 switch (opt) { in main()
Dsyscall_tp_user.c118 int opt, num_progs = 1; in main() local
121 while ((opt = getopt(argc, argv, "i:h")) != -1) { in main()
122 switch (opt) { in main()
Dxdp_fwd_user.c86 int opt, i, idx, err; in main() local
90 while ((opt = getopt(argc, argv, ":dDSF")) != -1) { in main()
91 switch (opt) { in main()
Dxdp_tx_iptunnel_user.c168 int opt, prog_fd; in main() local
178 while ((opt = getopt(argc, argv, optstr)) != -1) { in main()
182 switch (opt) { in main()
202 if (opt == 's') in main()
242 opt_flags[opt] = 0; in main()
Dtest_cgrp2_attach.c134 int opt, cg_fd, ret; in main() local
136 while ((opt = getopt(argc, argv, "Dd")) != -1) { in main()
137 switch (opt) { in main()
Dxdp_redirect_user.c45 int ifindex_in, ifindex_out, opt; in main() local
56 while ((opt = getopt_long(argc, argv, "hSFi:vs", in main()
58 switch (opt) { in main()
Dxdp_sample_pkts_user.c118 int prog_fd, map_fd, opt; in main() local
124 while ((opt = getopt(argc, argv, optstr)) != -1) { in main()
125 switch (opt) { in main()
Dfds_example.c143 int opt, mode = BPF_M_UNSPEC; in main() local
145 while ((opt = getopt(argc, argv, "F:PGmk:v:po:")) != -1) { in main()
146 switch (opt) { in main()
Dsampleip_user.c141 int opt, freq = DEFAULT_FREQ, secs = DEFAULT_SECS, error = 1; in main() local
148 while ((opt = getopt(argc, argv, "F:h")) != -1) { in main()
149 switch (opt) { in main()
Dxdp_redirect_map_user.c60 int opt, key = 0; in main() local
62 while ((opt = getopt_long(argc, argv, "hSFXi:vs", in main()
64 switch (opt) { in main()
Dcookie_uid_helper_example.c288 int opt; in main() local
294 while ((opt = getopt(argc, argv, "ts")) != -1) { in main()
295 switch (opt) { in main()
304 printf("unknown option %c\n", opt); in main()
Dxdp_redirect_map_multi_user.c93 int i, opt; in main() local
95 while ((opt = getopt_long(argc, argv, "hSFXi:vs", in main()
97 switch (opt) { in main()
Dxdp_redirect_cpu_user.c326 int *cpu, i, opt; in main() local
386 while ((opt = getopt_long(argc, argv, "d:si:Sxp:f:e:r:m:c:q:Fvh", in main()
388 switch (opt) { in main()
Dxdp_rxq_info_user.c458 int prog_fd, map_fd, opt, err; in main() local
494 while ((opt = getopt_long(argc, argv, "FhSrmzd:s:a:", in main()
496 switch (opt) { in main()
Dxsk_fwd.c796 int opt, option_index; in parse_args() local
800 opt = getopt_long(argc, argv, "c:i:q:", lgopts, &option_index); in parse_args()
801 if (opt == EOF) in parse_args()
804 switch (opt) { in parse_args()
Dxdp_router_ipv4_user.c637 int prog_fd, opt; in main() local
646 while ((opt = getopt(ac, argv, optstr)) != -1) { in main()
647 switch (opt) { in main()
DMakefile232 OPT ?= opt