Lines Matching refs:sockopt
57 } sockopt; member
154 opt.sockopt.priority = atoi(optarg); in cs_parse_args()
165 opt.sockopt.mark = atoi(optarg); in cs_parse_args()
182 opt.sockopt.dontfrag = atoi(optarg); in cs_parse_args()
189 opt.sockopt.tclass = atoi(optarg); in cs_parse_args()
196 opt.sockopt.hlimit = atoi(optarg); in cs_parse_args()
418 if (opt.sockopt.mark && in ca_set_sockopts()
420 &opt.sockopt.mark, sizeof(opt.sockopt.mark))) in ca_set_sockopts()
422 if (opt.sockopt.priority && in ca_set_sockopts()
424 &opt.sockopt.priority, sizeof(opt.sockopt.priority))) in ca_set_sockopts()
428 if (opt.sockopt.tclass && in ca_set_sockopts()
430 &opt.sockopt.tclass, sizeof(opt.sockopt.tclass))) in ca_set_sockopts()
432 if (opt.sockopt.hlimit && in ca_set_sockopts()
434 &opt.sockopt.hlimit, sizeof(opt.sockopt.hlimit))) in ca_set_sockopts()
437 if (opt.sockopt.dontfrag && in ca_set_sockopts()
439 &opt.sockopt.dontfrag, sizeof(opt.sockopt.dontfrag))) in ca_set_sockopts()
441 if (opt.sockopt.tclass && in ca_set_sockopts()
443 &opt.sockopt.tclass, sizeof(opt.sockopt.tclass))) in ca_set_sockopts()
445 if (opt.sockopt.hlimit && in ca_set_sockopts()
447 &opt.sockopt.hlimit, sizeof(opt.sockopt.hlimit))) in ca_set_sockopts()