Lines Matching refs:optarg
121 opt.size = atoi(optarg); in cs_parse_args()
130 if (*optarg == 'u' || *optarg == 'U') { in cs_parse_args()
132 } else if (*optarg == 'i' || *optarg == 'I') { in cs_parse_args()
134 } else if (*optarg == 'r') { in cs_parse_args()
137 printf("Error: unknown protocol: %s\n", optarg); in cs_parse_args()
144 opt.mark.val = atoi(optarg); in cs_parse_args()
147 opt.sockopt.mark = atoi(optarg); in cs_parse_args()
151 opt.txtime.delay = atoi(optarg); in cs_parse_args()
158 opt.v6.dontfrag.val = atoi(optarg); in cs_parse_args()
161 opt.sockopt.dontfrag = atoi(optarg); in cs_parse_args()
165 opt.v6.tclass.val = atoi(optarg); in cs_parse_args()
168 opt.sockopt.tclass = atoi(optarg); in cs_parse_args()
172 opt.v6.hlimit.val = atoi(optarg); in cs_parse_args()
175 opt.sockopt.hlimit = atoi(optarg); in cs_parse_args()
179 switch (optarg[0]) { in cs_parse_args()
190 printf("Error: hdr type: %s\n", optarg); in cs_parse_args()