Searched refs:portal (Results 1 - 8 of 8) sorted by relevance

/netbsd-6-1-5-RELEASE/sbin/iscsid/
H A Discsid_targets.c36 /* counter for portal and target ID */
45 * Create a portal entry and link it into the appropriate lists.
46 * May also create the associated portal group entry if it does not exist.
47 * Will return the existing entry if the address matches a defined portal.
51 * addr the portal address (includes tag)
52 * dtype portal discovery type
55 * Returns: pointer to created portal
63 portal_t *portal; local
69 if ((portal = find_portal_by_addr(target, addr)) != NULL)
70 return portal;
133 delete_portal(portal_t * portal, boolean_t delete_empty) argument
318 portal_t *portal; local
432 portal_t *portal; local
588 portal_t *portal; local
648 portal_t *portal = NULL; local
698 portal_t *portal = NULL; local
740 cl_get_address(iscsi_portal_address_t * portal, char *str) argument
[all...]
H A Discsid_lists.c202 portal_t *portal; local
204 if ((portal = (void *)find_portal (sid)) != NULL)
205 return portal->target;
247 * Returns: The pointer to the portal (or NULL if not found)
281 * Returns: The pointer to the portal (or NULL if not found)
548 ent->portal_id = conn->portal.sid.id;
603 ent->target_portal_id = conn->portal.sid;
604 ent->target_portal = conn->portal.addr;
662 res->target_portal_id = conn->portal.sid;
663 res->target_portal = conn->portal
880 portal_t *portal; local
928 portal_t *portal; local
[all...]
H A Discsid_driverif.c93 * Bind socket to initiator portal.
97 * addr The initiator portal address
132 * Parameter: the portal group
134 * Returns: The pointer to the first free portal (or NULL if none found)
189 portal_t *portal = NULL; local
200 /* find the target portal */
212 || (portal = find_portal(&req->portal_id)) == NULL) {
230 /* now get from target to portal - if this is the first connection, */
231 /* just use the first portal group. */
235 /* if it's a second connection, use an available portal i
511 portal_t *portal; local
[all...]
H A Discsid.h209 iscsi_portal_address_t portal[0]; member in struct:__anon5447
220 Number of portal addresses (may be zero).
221 portal
235 Number of portal IDs following.
248 iscsi_portal_address_t portal; member in struct:__anon5449
256 Symbolic name of the portal (optional).
257 portal
272 Returns the unique ID of the portal and its name.
363 Is the unique ID for the target or target portal.
397 Number of portal ID
499 uint32_t portal[1]; member in struct:__anon5459
522 iscsi_portal_address_t portal; member in struct:__anon5460
[all...]
H A Discsid_globals.h133 * The initiator portal list structure.
151 * The portal structure.
152 * This structure is linked into two lists - a global portal list (this list
153 * is used for searches and to verify unique IDs) and a portal group list
173 (via REFRESH_TARGETS). As a portal is discovered, its type is reset to
190 iscsid_portal_options_t options; /* portal options (override target options) */
193 iscsi_portal_types_t portaltype; /* Type of portal (how it was discovered) */
195 uint32_t active_connections; /* Number of connections active on this portal */
203 * The portal group structure.
247 portal_group_list_t group_list; /* the list of portal group
322 portal_info_t portal; /* connected portal */ member in struct:connection_s
[all...]
/netbsd-6-1-5-RELEASE/sbin/iscsictl/
H A Discsic_parse.c42 * portal The portal address
49 get_address(iscsi_portal_address_t * portal, char *str, char *arg) argument
76 portal->port = (uint16_t) val;
90 portal->group_tag = (uint16_t) val;
95 if (strlen(str) >= sizeof(portal->address))
98 strlcpy((char *)portal->address, str, sizeof(portal->address));
241 get_address(&targ->portal[++p], sp, argv[i]);
246 targ->portal[
[all...]
H A Discsic_daemonif.c380 req.id.id = targ->portal[i];
392 printf(": %s:%d", port->portal.address, port->portal.port);
394 printf(",%d", port->portal.group_tag);
817 /* do we have a portal ID? */
819 /* No portal ID - then we must have a target name */
829 /* was a complete target with portal specified? */
/netbsd-6-1-5-RELEASE/sbin/mount_portal/
H A Dpuffs_portal.c59 PUFFSOP_PROTOS(portal); variable
72 errx(1, "usage: %s [-o options] /path/portal.conf mount_point",
433 PUFFSOP_SET(pops, portal, node, lookup);
434 PUFFSOP_SET(pops, portal, node, getattr);
435 PUFFSOP_SET(pops, portal, node, setattr);
436 PUFFSOP_SET(pops, portal, node, open);
437 PUFFSOP_SET(pops, portal, node, read);
438 PUFFSOP_SET(pops, portal, node, write);
439 PUFFSOP_SET(pops, portal, node, seek);
440 PUFFSOP_SET(pops, portal, nod
[all...]

Completed in 192 milliseconds