Lines Matching defs:address

627 	struct rpc_listen_address	address;
648 {"listen_address", offsetof(struct nvmf_rpc_listener_ctx, address), decode_rpc_listen_address},
660 free_rpc_listen_address(&ctx->address);
813 rpc_listen_address_to_trid(const struct rpc_listen_address *address,
820 if (spdk_nvme_transport_id_populate_trstring(trid, address->trtype)) {
821 SPDK_ERRLOG("Invalid trtype string: %s\n", address->trtype);
825 if (spdk_nvme_transport_id_parse_trtype(&trid->trtype, address->trtype)) {
826 SPDK_ERRLOG("Invalid trtype type: %s\n", address->trtype);
830 if (address->adrfam) {
831 if (spdk_nvme_transport_id_parse_adrfam(&trid->adrfam, address->adrfam)) {
832 SPDK_ERRLOG("Invalid adrfam: %s\n", address->adrfam);
839 len = strlen(address->traddr);
841 SPDK_ERRLOG("Transport address longer than %zu characters: %s\n",
842 sizeof(trid->traddr) - 1, address->traddr);
845 memcpy(trid->traddr, address->traddr, len + 1);
848 if (address->trsvcid) {
849 len = strlen(address->trsvcid);
852 sizeof(trid->trsvcid) - 1, address->trsvcid);
855 memcpy(trid->trsvcid, address->trsvcid, len + 1);
909 if (rpc_listen_address_to_trid(&ctx->address, &ctx->trid)) {
994 if (rpc_listen_address_to_trid(&ctx->address, &ctx->trid)) {
1024 struct rpc_listen_address address;
1030 {"address", offsetof(struct nvmf_rpc_referral_ctx, address), decode_rpc_listen_address},
1041 free_rpc_listen_address(&ctx->address);
1072 if (rpc_listen_address_to_trid(&ctx.address, &trid)) {
1147 if (rpc_listen_address_to_trid(&ctx.address, &trid)) {
1189 spdk_json_write_named_object_begin(w, "address");
1270 {"listen_address", offsetof(struct nvmf_rpc_listener_ctx, address), decode_rpc_listen_address},
1346 if (rpc_listen_address_to_trid(&ctx->address, &ctx->trid)) {
2290 } else if (strncmp(tok, "address", 7) == 0) {
2923 spdk_json_write_named_object_begin(w, "address");