HomeSort by: relevance | last modified time | path
    Searched refs:nsid (Results 1 - 25 of 47) 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...]
  /src/external/mpl/bind/dist/bin/tests/system/checkconf/
good-server-christmas-tree.conf 32 request-nsid no;
55 request-nsid no;
  /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/external/mpl/bind/dist/bin/tests/system/builtin/
tests.sh 260 $DIG $DIGOPTS +norec +nsid foo @10.53.0.2 >dig.out.ns2.$n || ret=1
261 grep "^; NSID: .* (\"$HOST_NAME\")$" dig.out.ns2.$n >/dev/null || ret=1
280 $DIG $DIGOPTS +norec +nsid foo @10.53.0.3 >dig.out.ns3.$n || ret=1
281 grep "^; NSID: .* (\"this.is.a.test.of.server-id\")$" dig.out.ns3.$n >/dev/null || ret=1
  /src/external/gpl3/gdb.old/dist/gdb/nat/
linux-namespaces.c 624 ino_t nsid; member in struct:linux_mnsh
686 helper->nsid = ns->id;
917 if (sb.st_ino != helper->nsid)
942 helper->nsid = sb.st_ino;
  /src/external/gpl3/gdb/dist/gdb/nat/
linux-namespaces.c 650 ino_t nsid; member in struct:linux_mnsh
712 helper->nsid = ns->id;
955 if (sb.st_ino != helper->nsid)
993 helper->nsid = sb.st_ino;
  /src/external/gpl3/gdb/dist/gdb/
solib-svr4.h 114 std::vector<const solib *> get_solibs_in_ns (int nsid) const override;
solib-rocm.c 211 std::vector<const solib *> get_solibs_in_ns (int nsid) const override
212 { return m_host_ops->get_solibs_in_ns (nsid); }
  /src/external/bsd/unbound/dist/testdata/fast_reload_most_options.tdir/
fast_reload_most_options.conf 43 nsid: "ascii_something"
  /src/sys/arch/riscv/conf/
GENERIC.common 169 ld* at nvme? nsid ?
  /src/external/mpl/bind/dist/bin/tests/system/ednscompliance/
tests.sh 60 $DIG $DIGOPTS @10.53.0.1 +edns=100 +nsid +noednsnegotiation soa $zone >dig.out$n || ret=1
73 grep '; NSID: 6e 73 31 ("ns1")' dig.out$n >/dev/null || {
75 reason="nsid missing"
  /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...]
  /src/external/mpl/bind/dist/bin/dig/
dighost.h 119 ns_search_success, nsid, /*% Name Server ID (RFC 5001) */ member in struct:dig_lookup
  /src/external/bsd/wpa/dist/src/wps/
wps_common.c 505 u8 nsid[16] = { local
513 addr[0] = nsid;
514 len[0] = sizeof(nsid);

Completed in 32 milliseconds

1 2