Add in some mbox return codes that define when we've used up target

ids for doing fabric login. Define the 'Get All Next' SNS response
structure.
This commit is contained in:
mjacob 2000-02-19 01:49:47 +00:00
parent 9e1d562a1f
commit 8405ee3752

View File

@ -1,4 +1,4 @@
/* $NetBSD: ispmbox.h,v 1.21 2000/02/12 02:26:26 mjacob Exp $ */
/* $NetBSD: ispmbox.h,v 1.22 2000/02/19 01:49:47 mjacob Exp $ */
/*
* Copyright (C) 1997, 1998, 1999 National Aeronautics & Space Administration
* All rights reserved.
@ -152,6 +152,10 @@ typedef struct {
#define MBOX_TEST_FAILED 0x4003
#define MBOX_COMMAND_ERROR 0x4005
#define MBOX_COMMAND_PARAM_ERROR 0x4006
#define MBOX_PORT_ID_USED 0x4007
#define MBOX_LOOP_ID_USED 0x4008
#define MBOX_ALL_IDS_USED 0x4009
#define MBOX_NOT_LOGGED_IN 0x400A
/*
* Asynchronous event status codes
@ -641,4 +645,23 @@ typedef struct {
#define SNS_GAN_RESP_SIZE 608 /* Maximum response size (bytes) */
#define SNS_GP3_RESP_SIZE 532 /* XXX: For 128 ports */
typedef struct {
u_int8_t snscb_cthdr[16];
u_int8_t snscb_port_type;
u_int8_t snscb_port_id[3];
u_int8_t snscb_portname[8];
u_int8_t snscb_pnlen; /* symbolic port name length */
u_int8_t snscb_pname[255]; /* symbolic port name */
u_int8_t snscb_nodename[8];
u_int8_t snscb_nnlen; /* symbolic node name length */
u_int8_t snscb_nname[255]; /* symbolic node name */
u_int8_t snscb_ipassoc[8];
u_int8_t snscb_ipaddr[16];
u_int8_t snscb_svc_class[4];
u_int8_t snscb_fc4_types[32];
u_int8_t snscb_fpname[8];
u_int8_t snscb_reserved;
u_int8_t snscb_hardaddr[3];
} sns_ganrsp_t; /* Subcommand Response Structure */
#endif /* _ISPMBOX_H */