Searched refs:opt (Results 151 - 175 of 2741) sorted by relevance

1234567891011>>

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/iproute2-3.x/tc/
H A Dq_sfq.c35 struct tc_sfq_qopt opt; local
37 memset(&opt, 0, sizeof(opt));
42 if (get_size(&opt.quantum, *argv)) {
49 if (get_integer(&opt.perturb_period, *argv, 0)) {
56 if (get_u32(&opt.limit, *argv, 0)) {
60 if (opt.limit < 2) {
67 if (get_u32(&opt.divisor, *argv, 0)) {
84 addattr_l(n, 1024, TCA_OPTIONS, &opt, sizeof(opt));
88 sfq_print_opt(struct qdisc_util *qu, FILE *f, struct rtattr *opt) argument
[all...]
H A Dq_htb.c63 struct tc_htb_glob opt; local
66 memset(&opt,0,sizeof(opt));
67 opt.rate2quantum = 10;
68 opt.version = 3;
73 if (get_u32(&opt.rate2quantum, *argv, 10)) {
78 if (get_u32(&opt.defcls, *argv, 16)) {
85 opt.debug |= (*p-'0')<<(2*i);
96 addattr_l(n, 2024, TCA_HTB_INIT, &opt, NLMSG_ALIGN(sizeof(opt)));
104 struct tc_htb_opt opt; local
241 htb_print_opt(struct qdisc_util *qu, FILE *f, struct rtattr *opt) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/iproute2-3.x/tc/
H A Dq_sfq.c35 struct tc_sfq_qopt opt; local
37 memset(&opt, 0, sizeof(opt));
42 if (get_size(&opt.quantum, *argv)) {
49 if (get_integer(&opt.perturb_period, *argv, 0)) {
56 if (get_u32(&opt.limit, *argv, 0)) {
60 if (opt.limit < 2) {
67 if (get_u32(&opt.divisor, *argv, 0)) {
84 addattr_l(n, 1024, TCA_OPTIONS, &opt, sizeof(opt));
88 sfq_print_opt(struct qdisc_util *qu, FILE *f, struct rtattr *opt) argument
[all...]
H A Dq_htb.c63 struct tc_htb_glob opt; local
66 memset(&opt,0,sizeof(opt));
67 opt.rate2quantum = 10;
68 opt.version = 3;
73 if (get_u32(&opt.rate2quantum, *argv, 10)) {
78 if (get_u32(&opt.defcls, *argv, 16)) {
85 opt.debug |= (*p-'0')<<(2*i);
96 addattr_l(n, 2024, TCA_HTB_INIT, &opt, NLMSG_ALIGN(sizeof(opt)));
104 struct tc_htb_opt opt; local
241 htb_print_opt(struct qdisc_util *qu, FILE *f, struct rtattr *opt) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/busybox/coreutils/
H A Dmkdir.c42 unsigned opt; local
51 opt = getopt32(argv, "m:p" IF_SELINUX("Z:"), &smode IF_SELINUX(,&scontext));
52 if (opt & 1) {
58 if (opt & 2)
61 if (opt & 4) {
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/busybox/coreutils/
H A Dmkdir.c42 unsigned opt; local
51 opt = getopt32(argv, "m:p" IF_SELINUX("Z:"), &smode IF_SELINUX(,&scontext));
52 if (opt & 1) {
58 if (opt & 2)
61 if (opt & 4) {
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/busybox/coreutils/
H A Dmkdir.c42 unsigned opt; local
51 opt = getopt32(argv, "m:p" IF_SELINUX("Z:"), &smode IF_SELINUX(,&scontext));
52 if (opt & 1) {
58 if (opt & 2)
61 if (opt & 4) {
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/gdb/sim/common/
H A Dsim-options.c40 TABLE is an array of OPTIONS terminated by a NULL `opt.name' entry.
217 standard_option_handler (SIM_DESC sd, sim_cpu *cpu, int opt, argument
222 switch ((STANDARD_OPTIONS) opt)
540 const OPTION *opt; local
552 for (opt = ol->options; OPTION_VALID_P (opt); ++opt)
556 for (opt = ol->options; OPTION_VALID_P (opt); ++opt)
688 const OPTION *opt; local
873 const OPTION *opt; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/gdb/sim/common/
H A Dsim-options.c40 TABLE is an array of OPTIONS terminated by a NULL `opt.name' entry.
217 standard_option_handler (SIM_DESC sd, sim_cpu *cpu, int opt, argument
222 switch ((STANDARD_OPTIONS) opt)
540 const OPTION *opt; local
552 for (opt = ol->options; OPTION_VALID_P (opt); ++opt)
556 for (opt = ol->options; OPTION_VALID_P (opt); ++opt)
688 const OPTION *opt; local
873 const OPTION *opt; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/gdb/sim/common/
H A Dsim-options.c40 TABLE is an array of OPTIONS terminated by a NULL `opt.name' entry.
217 standard_option_handler (SIM_DESC sd, sim_cpu *cpu, int opt, argument
222 switch ((STANDARD_OPTIONS) opt)
540 const OPTION *opt; local
552 for (opt = ol->options; OPTION_VALID_P (opt); ++opt)
556 for (opt = ol->options; OPTION_VALID_P (opt); ++opt)
688 const OPTION *opt; local
873 const OPTION *opt; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/iproute2/tc/
H A Dq_htb.c65 struct tc_htb_glob opt; local
68 memset(&opt,0,sizeof(opt));
69 opt.rate2quantum = 10;
70 opt.version = 3;
75 if (get_u32(&opt.rate2quantum, *argv, 10)) {
80 if (get_u32(&opt.defcls, *argv, 16)) {
87 opt.debug |= (*p-'0')<<(2*i);
98 addattr_l(n, 2024, TCA_HTB_INIT, &opt, NLMSG_ALIGN(sizeof(opt)));
106 struct tc_htb_opt opt; local
236 htb_print_opt(struct qdisc_util *qu, FILE *f, struct rtattr *opt) argument
[all...]
H A Dq_prio.c42 struct tc_prio_qopt opt={3,{ 1, 2, 2, 2, 1, 2, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1 }}; local
49 if (get_integer(&opt.bands, *argv, 10)) {
74 if (band > opt.bands) {
82 opt.priomap[idx++] = band;
90 opt.priomap[idx] = opt.priomap[TC_PRIO_BESTEFFORT];
93 addattr_l(n, 1024, TCA_OPTIONS, &opt, sizeof(opt));
97 int prio_print_opt(struct qdisc_util *qu, FILE *f, struct rtattr *opt) argument
102 if (opt
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/iproute2-3.x/tc/
H A Dq_htb.c63 struct tc_htb_glob opt; local
66 memset(&opt,0,sizeof(opt));
67 opt.rate2quantum = 10;
68 opt.version = 3;
73 if (get_u32(&opt.rate2quantum, *argv, 10)) {
78 if (get_u32(&opt.defcls, *argv, 16)) {
85 opt.debug |= (*p-'0')<<(2*i);
96 addattr_l(n, 2024, TCA_HTB_INIT, &opt, NLMSG_ALIGN(sizeof(opt)));
104 struct tc_htb_opt opt; local
241 htb_print_opt(struct qdisc_util *qu, FILE *f, struct rtattr *opt) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/busybox/archival/
H A Dbzip2.c141 unsigned opt; local
160 opt = getopt32(argv, "cfv" IF_BUNZIP2("dt") "123456789qzs");
162 if (opt & 0x18) // -d and/or -t
164 opt >>= 5;
166 opt >>= 3;
168 opt = (uint8_t)opt; /* isolate bits for -1..-8 */
169 opt |= 0x100; /* if nothing else, assume -9 */
171 while (!(opt & 1)) {
173 opt >>
[all...]
H A Ddpkg_deb.c22 unsigned opt; local
48 opt = getopt32(argv, "cefXx");
52 if (opt & DPKG_DEB_OPT_CONTENTS) {
57 if (opt & DPKG_DEB_OPT_CONTROL) {
66 if (opt & DPKG_DEB_OPT_FIELD) {
75 if (opt & DPKG_DEB_OPT_EXTRACT) {
78 if (opt & (DPKG_DEB_OPT_EXTRACT_VERBOSE | DPKG_DEB_OPT_EXTRACT)) {
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/busybox/archival/
H A Dbzip2.c141 unsigned opt; local
160 opt = getopt32(argv, "cfv" IF_BUNZIP2("dt") "123456789qzs");
162 if (opt & 0x18) // -d and/or -t
164 opt >>= 5;
166 opt >>= 3;
168 opt = (uint8_t)opt; /* isolate bits for -1..-8 */
169 opt |= 0x100; /* if nothing else, assume -9 */
171 while (!(opt & 1)) {
173 opt >>
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/busybox/archival/
H A Dbzip2.c141 unsigned opt; local
160 opt = getopt32(argv, "cfv" IF_BUNZIP2("dt") "123456789qzs");
162 if (opt & 0x18) // -d and/or -t
164 opt >>= 5;
166 opt >>= 3;
168 opt = (uint8_t)opt; /* isolate bits for -1..-8 */
169 opt |= 0x100; /* if nothing else, assume -9 */
171 while (!(opt & 1)) {
173 opt >>
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/iproute2/tc/
H A Dq_htb.c65 struct tc_htb_glob opt; local
68 memset(&opt,0,sizeof(opt));
69 opt.rate2quantum = 10;
70 opt.version = 3;
75 if (get_u32(&opt.rate2quantum, *argv, 10)) {
80 if (get_u32(&opt.defcls, *argv, 16)) {
87 opt.debug |= (*p-'0')<<(2*i);
98 addattr_l(n, 2024, TCA_HTB_INIT, &opt, NLMSG_ALIGN(sizeof(opt)));
106 struct tc_htb_opt opt; local
236 htb_print_opt(struct qdisc_util *qu, FILE *f, struct rtattr *opt) argument
[all...]
H A Dq_prio.c42 struct tc_prio_qopt opt={3,{ 1, 2, 2, 2, 1, 2, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1 }}; local
49 if (get_integer(&opt.bands, *argv, 10)) {
74 if (band > opt.bands) {
82 opt.priomap[idx++] = band;
90 opt.priomap[idx] = opt.priomap[TC_PRIO_BESTEFFORT];
93 addattr_l(n, 1024, TCA_OPTIONS, &opt, sizeof(opt));
97 int prio_print_opt(struct qdisc_util *qu, FILE *f, struct rtattr *opt) argument
102 if (opt
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/iproute2/tc/
H A Dq_htb.c65 struct tc_htb_glob opt; local
68 memset(&opt,0,sizeof(opt));
69 opt.rate2quantum = 10;
70 opt.version = 3;
75 if (get_u32(&opt.rate2quantum, *argv, 10)) {
80 if (get_u32(&opt.defcls, *argv, 16)) {
87 opt.debug |= (*p-'0')<<(2*i);
98 addattr_l(n, 2024, TCA_HTB_INIT, &opt, NLMSG_ALIGN(sizeof(opt)));
106 struct tc_htb_opt opt; local
236 htb_print_opt(struct qdisc_util *qu, FILE *f, struct rtattr *opt) argument
[all...]
H A Dq_prio.c42 struct tc_prio_qopt opt={3,{ 1, 2, 2, 2, 1, 2, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1 }}; local
49 if (get_integer(&opt.bands, *argv, 10)) {
74 if (band > opt.bands) {
82 opt.priomap[idx++] = band;
90 opt.priomap[idx] = opt.priomap[TC_PRIO_BESTEFFORT];
93 addattr_l(n, 1024, TCA_OPTIONS, &opt, sizeof(opt));
97 int prio_print_opt(struct qdisc_util *qu, FILE *f, struct rtattr *opt) argument
102 if (opt
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/rc/
H A Dcifs.c28 char opt[512]; local
64 j = sprintf(opt, "sep=<unc=%s", unc);
65 if (*user) j += sprintf(opt + j, "<user=%s", user);
66 if (*pass) j += sprintf(opt + j, "<pass=%s", pass);
67 if (*dom) j += sprintf(opt + j, "<dom=%s", dom);
68 if (*servern) j += sprintf(opt + j, "<servern=%s", servern);
69 if (*sec) j += sprintf(opt + j, "<sec=%s", sec);
70 if (*custom) j += sprintf(opt + j, "<%s", custom);
72 if (mount("-", mpath, "cifs", MS_NOATIME|MS_NODIRATIME, opt) != 0) continue;
74 j = sprintf(opt, "nouni
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/rc/
H A Dcifs.c28 char opt[512]; local
64 j = sprintf(opt, "sep=<unc=%s", unc);
65 if (*user) j += sprintf(opt + j, "<user=%s", user);
66 if (*pass) j += sprintf(opt + j, "<pass=%s", pass);
67 if (*dom) j += sprintf(opt + j, "<dom=%s", dom);
68 if (*servern) j += sprintf(opt + j, "<servern=%s", servern);
69 if (*sec) j += sprintf(opt + j, "<sec=%s", sec);
70 if (*custom) j += sprintf(opt + j, "<%s", custom);
72 if (mount("-", mpath, "cifs", MS_NOATIME|MS_NODIRATIME, opt) != 0) continue;
74 j = sprintf(opt, "nouni
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/rc/
H A Dcifs.c28 char opt[512]; local
64 j = sprintf(opt, "sep=<unc=%s", unc);
65 if (*user) j += sprintf(opt + j, "<user=%s", user);
66 if (*pass) j += sprintf(opt + j, "<pass=%s", pass);
67 if (*dom) j += sprintf(opt + j, "<dom=%s", dom);
68 if (*servern) j += sprintf(opt + j, "<servern=%s", servern);
69 if (*sec) j += sprintf(opt + j, "<sec=%s", sec);
70 if (*custom) j += sprintf(opt + j, "<%s", custom);
72 if (mount("-", mpath, "cifs", MS_NOATIME|MS_NODIRATIME, opt) != 0) continue;
74 j = sprintf(opt, "nouni
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/busybox/util-linux/
H A Dlosetup.c15 unsigned opt; local
27 opt = getopt32(argv, "do:f", &opt_o);
30 if (opt == OPT_o)
33 if (opt == OPT_d) {
45 if (opt == OPT_f) /* -f should not have arguments */
76 if (opt == OPT_f) {
81 if (opt != OPT_f)

Completed in 213 milliseconds

1234567891011>>