Lines Matching refs:optarg
124 opt.size = atoi(optarg); in cs_parse_args()
133 if (*optarg == 'u' || *optarg == 'U') { in cs_parse_args()
135 } else if (*optarg == 'i' || *optarg == 'I') { in cs_parse_args()
137 } else if (*optarg == 'r') { in cs_parse_args()
140 printf("Error: unknown protocol: %s\n", optarg); in cs_parse_args()
145 opt.sockopt.priority = atoi(optarg); in cs_parse_args()
149 opt.mark.val = atoi(optarg); in cs_parse_args()
152 opt.sockopt.mark = atoi(optarg); in cs_parse_args()
155 opt.num_pkt = atoi(optarg); in cs_parse_args()
159 opt.txtime.delay = atoi(optarg); in cs_parse_args()
166 opt.v6.dontfrag.val = atoi(optarg); in cs_parse_args()
169 opt.sockopt.dontfrag = atoi(optarg); in cs_parse_args()
173 opt.v6.tclass.val = atoi(optarg); in cs_parse_args()
176 opt.sockopt.tclass = atoi(optarg); in cs_parse_args()
180 opt.v6.hlimit.val = atoi(optarg); in cs_parse_args()
183 opt.sockopt.hlimit = atoi(optarg); in cs_parse_args()
187 switch (optarg[0]) { in cs_parse_args()
198 printf("Error: hdr type: %s\n", optarg); in cs_parse_args()