HomeSort by: relevance | last modified time | path
    Searched refs:nsid (Results 1 - 25 of 30) sorted by relevancy

1 2

  /src/external/bsd/nsd/dist/
edns.h 19 #define OPT_HDR 4U /* NSID opt header length */
20 #define NSID_CODE 3 /* nsid option code */
34 unsigned char nsid[OPT_HDR]; member in struct:edns_data
65 int nsid; member in struct:edns_record
edns.c 57 /* NSID OPT HDR */
58 data->nsid[0] = (NSID_CODE & 0xff00) >> 8;
59 data->nsid[1] = (NSID_CODE & 0x00ff);
60 data->nsid[2] = (nsid_len & 0xff00) >> 8;
61 data->nsid[3] = (nsid_len & 0x00ff);
72 edns->nsid = 0;
90 /* is NSID enabled? */
92 edns->nsid = 1;
nsd.c 101 " -I nsid Specify the NSID. This must be a hex string.\n"
892 nsd.nsid = NULL;
965 nsd.nsid = xalloc(strlen(optarg+6));
967 memmove(nsd.nsid, optarg+6, nsd.nsid_len);
970 error("the NSID must be a hex string of an even length.");
972 nsd.nsid = xalloc(strlen(optarg) / 2);
974 if (hex_pton(optarg, nsd.nsid, nsd.nsid_len) == -1) {
975 error("hex string cannot be parsed '%s' in NSID.", optarg);
1208 if (nsd.nsid_len == 0 && nsd.options->nsid) {
    [all...]
configparser.y 344 unsigned char* nsid = 0;
350 cfg_parser->opt->nsid = region_alloc(cfg_parser->opt->region, nsid_len*2+1);
351 hex_ntop((uint8_t*)$2+6, nsid_len, (char*)cfg_parser->opt->nsid, nsid_len*2+1);
353 yyerror("NSID too long");
356 yyerror("the NSID must be a hex string of an even length.");
360 nsid = xalloc(nsid_len);
361 if (hex_pton($2, nsid, nsid_len) == -1) {
362 yyerror("hex string cannot be parsed in NSID.");
364 cfg_parser->opt->nsid = region_strdup(cfg_parser->opt->region, $2);
366 free(nsid);
    [all...]
nsd.h 279 unsigned char *nsid; member in struct:nsd
configparser.c 1819 unsigned char* nsid = 0; local
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);
    [all...]
options.h 118 const char* nsid; member in struct:nsd_options
nsd-checkconf.c 427 SERV_GET_STR(nsid, o);
639 print_string_var("nsid:", opt->nsid);
query.c 1847 if(q->edns.nsid) {
1848 /* nsid opt header */
1849 buffer_write(q->packet, edns->nsid, OPT_HDR);
1850 /* nsid payload */
1851 buffer_write(q->packet, nsd->nsid, nsd->nsid_len);
  /src/sbin/nvmectl/
nvmectl.c 176 read_namespace_data(int fd, int nsid, struct nvm_identify_namespace *nsdata)
182 pt.cmd.nsid = nsid;
227 parse_ns_str(const char *ns_str, char *ctrlr_str, int *nsid)
238 *nsid = strtol(nsloc + 2, NULL, 10);
239 if (nsloc == NULL || (*nsid == 0 && errno != 0))
identify.c 248 int ch, fd, hexflag = 0, hexlength, nsid; local
282 parse_ns_str(argv[optind], path, &nsid);
284 read_namespace_data(fd, nsid, &nsdata);
logpage.c 109 read_logpage(int fd, uint8_t log_page, int nsid, void *payload,
116 pt.cmd.nsid = nsid;
142 e->nsid = le32toh(e->nsid);
189 printf(" Namespace ID: %u\n", entry->nsid);
982 int fd, nsid; local
1036 parse_ns_str(argv[optind], cname, &nsid);
1040 nsid = 0xffffffff;
1092 read_logpage(fd, log_page, nsid, buf, size)
    [all...]
nvme.h 66 uint32_t nsid; member in struct:nvme_error_information_entry
  /src/sys/dev/ic/
nvmevar.h 209 nvme_ns_get(struct nvme_softc *sc, uint16_t nsid)
211 if (nsid == 0 || nsid - 1 >= sc->sc_nn)
213 return &sc->sc_namespaces[nsid - 1];
nvme.c 559 aprint_normal(" nsid %d", naa->naa_nsid);
698 nvme_ns_identify(struct nvme_softc *sc, uint16_t nsid)
707 KASSERT(nsid > 0);
709 ns = nvme_ns_get(sc, nsid);
726 htolem32(&sqe.nsid, nsid);
761 nvme_ns_dobio(struct nvme_softc *sc, uint16_t nsid, void *cookie,
778 ccb->nnc_nsid = nsid;
832 htolem32(&sqe->nsid, ccb->nnc_nsid);
905 nvme_ns_sync(struct nvme_softc *sc, uint16_t nsid, int flags
2190 int nsid = minor(dev) & 0xffff; local
2223 int nsid = minor(dev) & 0xffff; local
2252 int nsid = minor(dev) & 0xffff; local
    [all...]
nvmereg.h 130 uint32_t nsid; member in struct:nvme_sqe
183 uint32_t nsid; member in struct:nvme_sqe_io
  /src/sys/arch/riscv/conf/
GENERIC.common 168 ld* at nvme? nsid ?
  /src/external/bsd/unbound/dist/testdata/fast_reload_most_options.tdir/
fast_reload_most_options.conf 43 nsid: "ascii_something"
  /src/external/bsd/unbound/dist/util/
config_file.c 262 cfg->nsid = NULL;
700 else if(strcmp(opt, "nsid:") == 0) {
704 /* Empty string is just validly unsetting nsid */
706 free(cfg->nsid);
707 cfg->nsid = NULL;
711 cfg->nsid = cfg_parse_nsid(val, &cfg->nsid_len);
712 return cfg->nsid != NULL;
1213 else O_STR(opt, "nsid", nsid_cfg_str)
1774 free(cfg->nsid);
2421 uint8_t* nsid = NULL local
    [all...]
config_file.h 383 /** nsid */
385 uint8_t *nsid; member in struct:config_file
1257 * Parse nsid from string into binary nsid. nsid is either a hexadecimal
1261 * @param nsid_len: returns length of nsid in bytes.
  /src/external/bsd/wpa/dist/src/wps/
wps_common.c 505 u8 nsid[16] = { local
513 addr[0] = nsid;
514 len[0] = sizeof(nsid);
  /src/sys/external/bsd/drm2/dist/drm/vmwgfx/device_include/
svga_reg.h 1761 uint32 nsid; member in struct:__anon5801
  /src/sys/external/bsd/drm2/dist/drm/vmwgfx/
vmwgfx_overlay.c 83 header->body.nsid = SVGA_ESCAPE_NSID_VMWARE;
  /src/sys/arch/evbarm/conf/
GENERIC64 455 ld* at nvme? nsid ?
  /src/external/bsd/unbound/dist/util/data/
msgparse.c 987 if (!cfg || !cfg->nsid)
991 cfg->nsid, region)) {

Completed in 82 milliseconds

1 2