Home
last modified time | relevance | path

Searched refs:opt (Results 1 – 19 of 19) 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()
Dibumad_user.c78 int opt; in main() local
90 while ((opt = getopt_long(argc, argv, "hd:rSw", in main()
92 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()
Dsyscall_tp_user.c89 int opt, num_progs = 1; in main() local
92 while ((opt = getopt(argc, argv, "i:h")) != -1) { in main()
93 switch (opt) { in main()
Dxdp_adjust_tail_user.c92 int i, prog_fd, map_fd, opt; in main() local
102 while ((opt = getopt(argc, argv, optstr)) != -1) { in main()
104 switch (opt) { in main()
126 opt_flags[opt] = 0; in main()
Dxdp_fwd_user.c82 int opt, i, idx, err; in main() local
86 while ((opt = getopt(argc, argv, ":dD")) != -1) { in main()
87 switch (opt) { in main()
Dxdp1_user.c89 int prog_fd, map_fd, opt; in main() local
95 while ((opt = getopt(argc, argv, optstr)) != -1) { in main()
96 switch (opt) { in main()
Dxdp_tx_iptunnel_user.c169 int opt, prog_fd; in main() local
179 while ((opt = getopt(argc, argv, optstr)) != -1) { in main()
183 switch (opt) { in main()
203 if (opt == 's') in main()
243 opt_flags[opt] = 0; in main()
Dtest_cgrp2_attach.c133 int opt, cg_fd, ret; in main() local
135 while ((opt = getopt(argc, argv, "Dd")) != -1) { in main()
136 switch (opt) { in main()
Dsampleip_user.c138 int *pmu_fd, opt, freq = DEFAULT_FREQ, secs = DEFAULT_SECS; in main() local
141 while ((opt = getopt(argc, argv, "F:h")) != -1) { in main()
142 switch (opt) { in main()
Dxdp_sample_pkts_user.c119 int prog_fd, map_fd, opt; in main() local
125 while ((opt = getopt(argc, argv, optstr)) != -1) { in main()
126 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()
Dxdp_redirect_user.c105 int prog_fd, tx_port_map_fd, opt; in main() local
114 while ((opt = getopt(argc, argv, optstr)) != -1) { in main()
115 switch (opt) { in main()
Dxdp_redirect_map_user.c109 int ret, opt, key = 0; in main() local
113 while ((opt = getopt(argc, argv, optstr)) != -1) { in main()
114 switch (opt) { in main()
Dcookie_uid_helper_example.c283 int opt; in main() local
289 while ((opt = getopt(argc, argv, "ts")) != -1) { in main()
290 switch (opt) { in main()
299 printf("unknown option %c\n", opt); in main()
Dxdp_rxq_info_user.c459 int prog_fd, map_fd, opt, err; in main() local
500 while ((opt = getopt_long(argc, argv, "FhSrmzd:s:a:", in main()
502 switch (opt) { in main()
Dxdp_router_ipv4_user.c638 int prog_fd, opt; in main() local
647 while ((opt = getopt(ac, argv, optstr)) != -1) { in main()
648 switch (opt) { in main()
Dxdp_monitor_user.c649 int longindex = 0, opt; in main() local
660 while ((opt = getopt_long(argc, argv, "hDSs:", in main()
662 switch (opt) { in main()
Dxdp_redirect_cpu_user.c685 int opt, err; in main() local
723 while ((opt = getopt_long(argc, argv, "hSd:s:p:q:c:xzF", in main()
725 switch (opt) { in main()