Lines Matching refs:optarg
130 opt.size = atoi(optarg); in cs_parse_args()
139 if (*optarg == 'u') { in cs_parse_args()
141 } else if (*optarg == 'U') { in cs_parse_args()
144 } else if (*optarg == 'i' || *optarg == 'I') { in cs_parse_args()
146 } else if (*optarg == 'r') { in cs_parse_args()
149 printf("Error: unknown protocol: %s\n", optarg); in cs_parse_args()
154 opt.sockopt.priority = atoi(optarg); in cs_parse_args()
158 opt.mark.val = atoi(optarg); in cs_parse_args()
162 opt.priority.val = atoi(optarg); in cs_parse_args()
165 opt.sockopt.mark = atoi(optarg); in cs_parse_args()
168 opt.num_pkt = atoi(optarg); in cs_parse_args()
172 opt.txtime.delay = atoi(optarg); in cs_parse_args()
179 opt.cmsg.dontfrag.val = atoi(optarg); in cs_parse_args()
182 opt.sockopt.dontfrag = atoi(optarg); in cs_parse_args()
186 opt.cmsg.tclass.val = atoi(optarg); in cs_parse_args()
189 opt.sockopt.tclass = atoi(optarg); in cs_parse_args()
193 opt.cmsg.hlimit.val = atoi(optarg); in cs_parse_args()
196 opt.sockopt.hlimit = atoi(optarg); in cs_parse_args()
200 switch (optarg[0]) { in cs_parse_args()
211 printf("Error: hdr type: %s\n", optarg); in cs_parse_args()