Home | History | Annotate | Download | only in dist

Lines Matching defs:nsid

1819       unsigned char* nsid = 0;
1825 cfg_parser->opt->nsid = region_alloc(cfg_parser->opt->region, nsid_len*2+1);
1826 hex_ntop((uint8_t*)(yyvsp[0].str)+6, nsid_len, (char*)cfg_parser->opt->nsid, nsid_len*2+1);
1828 yyerror("NSID too long");
1831 yyerror("the NSID must be a hex string of an even length.");
1835 nsid = xalloc(nsid_len);
1836 if (hex_pton((yyvsp[0].str), nsid, nsid_len) == -1) {
1837 yyerror("hex string cannot be parsed in NSID.");
1839 cfg_parser->opt->nsid = region_strdup(cfg_parser->opt->region, (yyvsp[0].str));
1841 free(nsid);
1843 yyerror("NSID too long");