ACSE/Presentation and ROSE Interface Programmer's Guide
Page 23
...() ap_free() ap_get_env() ap_init_env() ap_open() ap_poll() Description Release a communication endpoint. Establish a communication endpoint to support an instance of an A/P environment attribute. Returns an error message. Free memory for detecting events on communication endpoints. Chapter 2 23 Table 2-1 Supported ACSE/Presentation and ROSE Calls ACSE/Presentation Calls and Primitives ap_init_env() ap_set_env() ap_get_env() • Send...
...() ap_free() ap_get_env() ap_init_env() ap_open() ap_poll() Description Release a communication endpoint. Establish a communication endpoint to support an instance of an A/P environment attribute. Returns an error message. Free memory for detecting events on communication endpoints. Chapter 2 23 Table 2-1 Supported ACSE/Presentation and ROSE Calls ACSE/Presentation Calls and Primitives ap_init_env() ap_set_env() ap_get_env() • Send...
ACSE/Presentation and ROSE Interface Programmer's Guide
Page 34
... must initialize the ACSE/Presentation environment by calling ap_init_env(). (See Figure 3-2.) The ap_init_env() call is ignored. To modify defaulted attribute values, the ap_set_env() call allocates memory for more information.) Since this implementation does not support the environment file, the env_file parameter is used as shown in the following...
... must initialize the ACSE/Presentation environment by calling ap_init_env(). (See Figure 3-2.) The ap_init_env() call is ignored. To modify defaulted attribute values, the ap_set_env() call allocates memory for more information.) Since this implementation does not support the environment file, the env_file parameter is used as shown in the following...
ACSE/Presentation and ROSE Interface Programmer's Guide
Page 49
...one for each attribute changed) • ap_get_env() is ignored. When you . Chapter 4 49 Implement your own routines to free the memory. The roles are called attributes. To change a value of a specified attribute. However, when one will be initiating and which... ACSE/Presentation environment contains the necessary information to read from the data structure, must use ap_free() to free application-created memory allocations. When you create your application, do not use ap_get_env() for attributes which one process issues a connection request, it ...
...one for each attribute changed) • ap_get_env() is ignored. When you . Chapter 4 49 Implement your own routines to free the memory. The roles are called attributes. To change a value of a specified attribute. However, when one will be initiating and which... ACSE/Presentation environment contains the necessary information to read from the data structure, must use ap_free() to free application-created memory allocations. When you create your application, do not use ap_get_env() for attributes which one process issues a connection request, it ...
ACSE/Presentation and ROSE Interface Programmer's Guide
Page 53
... 4 53 user_get_osi_buf (&ubuf_ptr, len,"data to one routine. For example, do not use the statement: a_assoc_req_env_t peer_application = {...}; • Do not use the udata_length part of memory passed to the A/P library to a single function. Manage the A/P Environment • Isolate the allocations and freeing of the cdata parameter for inbound indications. Programming Guide 2.
... 4 53 user_get_osi_buf (&ubuf_ptr, len,"data to one routine. For example, do not use the statement: a_assoc_req_env_t peer_application = {...}; • Do not use the udata_length part of memory passed to the A/P library to a single function. Manage the A/P Environment • Isolate the allocations and freeing of the cdata parameter for inbound indications. Programming Guide 2.
ACSE/Presentation and ROSE Interface Programmer's Guide
Page 57
In this case, to AP_AGAIN. Note that ap_rcv() may interrupt the receipt of a partially received primitive. If the AP_MORE bit is set in memory shortage situations such as when using large numbers of the primitive, the ap_rcv() must be blocked by setting the AP_STREAM_FLAGS attribute with the AP_MORE bit ...
In this case, to AP_AGAIN. Note that ap_rcv() may interrupt the receipt of a partially received primitive. If the AP_MORE bit is set in memory shortage situations such as when using large numbers of the primitive, the ap_rcv() must be blocked by setting the AP_STREAM_FLAGS attribute with the AP_MORE bit ...
ACSE/Presentation and ROSE Interface Programmer's Guide
Page 60
... situation, an application can be temporary. Keep in mind that can implement a connection retry mechanism to a file descriptor, there is a memory shortage on the values of the A/P environment attributes and buffer space for the A/P library itself. Since A/P uses ap_open() to create a communication .... In addition to be received as outlined in the OTS stack, a reject may return AP_AGAIN. This is consumed by the dynamic memory allocation scheme in the OTS stack while trying to keep track of the number of the following system behavior and limitations: • System...
... situation, an application can be temporary. Keep in mind that can implement a connection retry mechanism to a file descriptor, there is a memory shortage on the values of the A/P environment attributes and buffer space for the A/P library itself. Since A/P uses ap_open() to create a communication .... In addition to be received as outlined in the OTS stack, a reject may return AP_AGAIN. This is consumed by the dynamic memory allocation scheme in the OTS stack while trying to keep track of the number of the following system behavior and limitations: • System...
ACSE/Presentation and ROSE Interface Programmer's Guide
Page 61
... number of connections gradually increases or decreases. Too many concurrent events can overflow buffers. If applications such as ap_open()) fails because of temporary memory shortage, the application may be further limited by hardware configuration limits and the number and type of connections allowed per process is possible...
... number of connections gradually increases or decreases. Too many concurrent events can overflow buffers. If applications such as ap_open()) fails because of temporary memory shortage, the application may be further limited by hardware configuration limits and the number and type of connections allowed per process is possible...
ACSE/Presentation and ROSE Interface Programmer's Guide
Page 108
... I implementation standards supported, 17 initialize the A/P environment, 34 initiator roles, 49 L limitations, 18 ACSE/Presentation, 19 M manpages A/P calls, 22 A/P primitives, 22 short names for, 14 memory usage, 60 migration new versions, 52 multiple connections, 58 use asynch. size, 51 process maximums, 61 programming migration considerations, 52 programming guide, 45 programming tasks...
... I implementation standards supported, 17 initialize the A/P environment, 34 initiator roles, 49 L limitations, 18 ACSE/Presentation, 19 M manpages A/P calls, 22 A/P primitives, 22 short names for, 14 memory usage, 60 migration new versions, 52 multiple connections, 58 use asynch. size, 51 process maximums, 61 programming migration considerations, 52 programming guide, 45 programming tasks...
HP DLPI Programmer's Guide
Page 71
... have proper permission to ) errors listed in the DL_ERROR_ACK. Chapter 2 71 DL_OUTSTATE The primitive was issued from an invalid state. ENXIO Invalid device ENOMEM Insufficient memory EBUSY Control information is not connected. ENOBUFS Inadequate buffer space ENOTSUP Unsupported request/event/call ENOLINK Interface is already enabled (multicast, VLAN IDs, and so...
... have proper permission to ) errors listed in the DL_ERROR_ACK. Chapter 2 71 DL_OUTSTATE The primitive was issued from an invalid state. ENXIO Invalid device ENOMEM Insufficient memory EBUSY Control information is not connected. ENOBUFS Inadequate buffer space ENOTSUP Unsupported request/event/call ENOLINK Interface is already enabled (multicast, VLAN IDs, and so...
HP DLPI Programmer's Guide
Page 115
u_long dl_busy_to_cnt; u_long dl_s_pkts_in; u_long dl_s_pkts_out; u_long dl_bad_pkts; u_long dl_ack_thresh; Parameters dl_primitive DL_HP_INFO_ACK dl_mem_fails number of any outstanding I PDUs or for an acknowledgment of memory allocations that the DLS provider was unable to force a response. The ACK timeout determines the length of time that LLC Type 2 will wait for a response ...
u_long dl_busy_to_cnt; u_long dl_s_pkts_in; u_long dl_s_pkts_out; u_long dl_bad_pkts; u_long dl_ack_thresh; Parameters dl_primitive DL_HP_INFO_ACK dl_mem_fails number of any outstanding I PDUs or for an acknowledgment of memory allocations that the DLS provider was unable to force a response. The ACK timeout determines the length of time that LLC Type 2 will wait for a response ...
HP DLPI Programmer's Guide
Page 187
ALL RIGHTS RESERVED. big enough for largest possible msg */ #define LONG_AREA_SIZE(AREA_SIZE / sizeof(u_long)) /* AREA_SIZE / 4 */ /* these are u_long arrays instead of u_char to insure proper alignment */ u_longctrl_area[LONG_AREA_SIZE];/* for control messages */ u_longdata_area[LONG_AREA_SIZE];/* for data messages */ struct strbuf ctrl_buf = { AREA_SIZE,/* maxlen = AREA_SIZE */ 0,/* len gets filled in for sending and receiving messages define AREA_SIZE 5000/* bytes; NO PART OF THIS PROGRAM MAY BE PHOTOCOPIED, REPRODUCED, OR TRANSLATED TO ANOTHER PROGRAM LANGUAGE WITHOUT THE PRIOR ...
ALL RIGHTS RESERVED. big enough for largest possible msg */ #define LONG_AREA_SIZE(AREA_SIZE / sizeof(u_long)) /* AREA_SIZE / 4 */ /* these are u_long arrays instead of u_char to insure proper alignment */ u_longctrl_area[LONG_AREA_SIZE];/* for control messages */ u_longdata_area[LONG_AREA_SIZE];/* for data messages */ struct strbuf ctrl_buf = { AREA_SIZE,/* maxlen = AREA_SIZE */ 0,/* len gets filled in for sending and receiving messages define AREA_SIZE 5000/* bytes; NO PART OF THIS PROGRAM MAY BE PHOTOCOPIED, REPRODUCED, OR TRANSLATED TO ANOTHER PROGRAM LANGUAGE WITHOUT THE PRIOR ...
HP DLPI Programmer's Guide
Page 201
NO PART OF THIS PROGRAM MAY BE PHOTOCOPIED, REPRODUCED, OR TRANSLATED TO ANOTHER PROGRAM LANGUAGE WITHOUT THE PRIOR WRITTEN CONSENT OF HEWLETT PACKARD COMPANY The main part of this program is composed of this program demonstrates data transfer over a connectionless stream with LLC SNAP headers #include #include #include #include #include #include #include #include #define SEND_SAP #define RECV_SAP #define SNAP_SAP 0x80 0x82 0xAA /* sending SAP */ /* receiving SAP */ /* SNAP SAP */ SNAP protocol values u_char SEND_SNAP_SAP[5] = {0x50, 0x00, 0x00, 0x00, 0x00}; The ...
NO PART OF THIS PROGRAM MAY BE PHOTOCOPIED, REPRODUCED, OR TRANSLATED TO ANOTHER PROGRAM LANGUAGE WITHOUT THE PRIOR WRITTEN CONSENT OF HEWLETT PACKARD COMPANY The main part of this program is composed of this program demonstrates data transfer over a connectionless stream with LLC SNAP headers #include #include #include #include #include #include #include #include #define SEND_SAP #define RECV_SAP #define SNAP_SAP 0x80 0x82 0xAA /* sending SAP */ /* receiving SAP */ /* SNAP SAP */ SNAP protocol values u_char SEND_SNAP_SAP[5] = {0x50, 0x00, 0x00, 0x00, 0x00}; The ...
HP DLPI Programmer's Guide
Page 71
... issued from an invalid state. The UNIX error returned may be set to (not limited to use the requested PPA. ENXIO Invalid device ENOMEM Insufficient memory EBUSY Control information is already enabled (multicast, VLAN IDs, and so on page 71. DLPI Primitives Local Management Primitives DL_ACCESS The DLS user did not...
... issued from an invalid state. The UNIX error returned may be set to (not limited to use the requested PPA. ENXIO Invalid device ENOMEM Insufficient memory EBUSY Control information is already enabled (multicast, VLAN IDs, and so on page 71. DLPI Primitives Local Management Primitives DL_ACCESS The DLS user did not...
HP DLPI Programmer's Guide
Page 116
... 2 DLPI Primitives Connection-mode Service Primitives u_long dl_rej_to_cnt; u_long dl_s_pkts_out; u_long dl_retry_cnt; u_long dl_ack_thresh; u_long dl_remote_busy_cnt; dl_ack_to length of the ACK timeout in tenths of memory allocations that have failed. u_long dl_i_pkts_in_drop; u_long dl_local_win; u_long dl_i_pkts_out; u_long dl_u_pkts_in; Parameters dl_primitive DL_HP_INFO_ACK dl_mem_fails number of a second. u_long dl_remote_win; u_long dl_i_pkts_in_oos; u_long dl_i_pkts_retrans...
... 2 DLPI Primitives Connection-mode Service Primitives u_long dl_rej_to_cnt; u_long dl_s_pkts_out; u_long dl_retry_cnt; u_long dl_ack_thresh; u_long dl_remote_busy_cnt; dl_ack_to length of the ACK timeout in tenths of memory allocations that have failed. u_long dl_i_pkts_in_drop; u_long dl_local_win; u_long dl_i_pkts_out; u_long dl_u_pkts_in; Parameters dl_primitive DL_HP_INFO_ACK dl_mem_fails number of a second. u_long dl_remote_win; u_long dl_i_pkts_in_oos; u_long dl_i_pkts_retrans...
HP DLPI Programmer's Guide
Page 189
It also demonstrates connection handoff #include #include #include #include #include #include #include #include #define SEND_SAP #define RECV_SAP 0x80 0x82 /* sending SAP */ /* receiving SAP */ global areas for each message */ ctrl_area/* buf = control area */ }; ALL RIGHTS RESERVED. Sample Programs Connection Mode Example Connection Mode Example B.11.23_ic60 (C) COPYRIGHT HEWLETT-PACKARD DEVELOPMENT COMPANY L.P. 2003. Appendix A 189 NO PART OF THIS PROGRAM MAY BE PHOTOCOPIED, REPRODUCED, OR TRANSLATED TO ANOTHER PROGRAM LANGUAGE WITHOUT THE PRIOR WRITTEN CONSENT...
It also demonstrates connection handoff #include #include #include #include #include #include #include #include #define SEND_SAP #define RECV_SAP 0x80 0x82 /* sending SAP */ /* receiving SAP */ global areas for each message */ ctrl_area/* buf = control area */ }; ALL RIGHTS RESERVED. Sample Programs Connection Mode Example Connection Mode Example B.11.23_ic60 (C) COPYRIGHT HEWLETT-PACKARD DEVELOPMENT COMPANY L.P. 2003. Appendix A 189 NO PART OF THIS PROGRAM MAY BE PHOTOCOPIED, REPRODUCED, OR TRANSLATED TO ANOTHER PROGRAM LANGUAGE WITHOUT THE PRIOR WRITTEN CONSENT...
HP DLPI Programmer's Guide
Page 203
The second part of this program is composed of this program demonstrates data transfer over a connectionless stream with LLC SNAP headers #include #include #include #include #include #include #include #include #define SEND_SAP #define RECV_SAP #define SNAP_SAP 0x80 0x82 0xAA /* sending SAP */ /* receiving SAP */ /* SNAP SAP */ SNAP protocol values u_char SEND_SNAP_SAP[5] = {0x50, 0x00, 0x00, 0x00, 0x00}; u_char RECV_SNAP_SAP[5] = {0x60, 0x00, 0x00, 0x00, 0x00}; big enough for sending and receiving messages define AREA_SIZE 5000/* bytes; global areas for ...
The second part of this program is composed of this program demonstrates data transfer over a connectionless stream with LLC SNAP headers #include #include #include #include #include #include #include #include #define SEND_SAP #define RECV_SAP #define SNAP_SAP 0x80 0x82 0xAA /* sending SAP */ /* receiving SAP */ /* SNAP SAP */ SNAP protocol values u_char SEND_SNAP_SAP[5] = {0x50, 0x00, 0x00, 0x00, 0x00}; u_char RECV_SNAP_SAP[5] = {0x60, 0x00, 0x00, 0x00, 0x00}; big enough for sending and receiving messages define AREA_SIZE 5000/* bytes; global areas for ...
HP Integrity and HP 9000 iLO MP Operations Guide, Fifth Edition
Page 50
... "start of system status. Navigate within the logs as follows: + Enter () D F L J H K T A U Q V ? Ctrl-B Displays the next block (forward in nonvolatile memory. Displays the first entry. Displays the alert level unfiltered. Quits and returns to be logged while this summary in nonvolatile... memory. Displays the mode configuration (keyword). Table 6-2 defines alert (severity) levels. 50 Using iLO Forward progress log Current boot log ...
... "start of system status. Navigate within the logs as follows: + Enter () D F L J H K T A U Q V ? Ctrl-B Displays the next block (forward in nonvolatile memory. Displays the first entry. Displays the alert level unfiltered. Quits and returns to be logged while this summary in nonvolatile... memory. Displays the mode configuration (keyword). Table 6-2 defines alert (severity) levels. 50 Using iLO Forward progress log Current boot log ...
HP Integrity and HP 9000 iLO MP Operations Guide, Fifth Edition
Page 72
Enter the position. A user with configuration access right can view the SEL. Enter the location. Enter contact information in nonvolatile memory. System Status > System Event Log The System Event Log page (Figure 6-5) enables a user to management applications on the network. Only a user with login rights can ...
Enter the position. A user with configuration access right can view the SEL. Enter the location. Enter contact information in nonvolatile memory. System Status > System Event Log The System Event Log page (Figure 6-5) enables a user to management applications on the network. Only a user with login rights can ...
HP Integrity and HP 9000 iLO MP Operations Guide, Fifth Edition
Page 73
... markers (such as fan failure, Machine-Check Abort, and so on /off the attention LED (blinking yellow). NOTE: You can indicate a major change in nonvolatile memory. They can view only the most pertinent fields for new events and stores them in system state (such as firmware boot start of a failure or...
... markers (such as fan failure, Machine-Check Abort, and so on /off the attention LED (blinking yellow). NOTE: You can indicate a major change in nonvolatile memory. They can view only the most pertinent fields for new events and stores them in system state (such as firmware boot start of a failure or...
HP Integrity and HP 9000 iLO MP Operations Guide, Fifth Edition
Page 76
... information on using the virtual serial port, see Integrated Lights-Out Virtual Serial Port configuration and operation HOW TO, at: http://h20000.www2.hp.com/bc/docs/support/SupportManual/c00263709/c00263709.pdf Virtual Devices The Virtual Devices tab enables you to access the Power & Reset page. The ... serial redirection feature is present on the host server, the iLO MP intercepts the data coming from the console is stored in nonvolatile memory in the host. The remote serial console option relies on the server's serial port. The virtual serial port must be available remotely ...
... information on using the virtual serial port, see Integrated Lights-Out Virtual Serial Port configuration and operation HOW TO, at: http://h20000.www2.hp.com/bc/docs/support/SupportManual/c00263709/c00263709.pdf Virtual Devices The Virtual Devices tab enables you to access the Power & Reset page. The ... serial redirection feature is present on the host server, the iLO MP intercepts the data coming from the console is stored in nonvolatile memory in the host. The remote serial console option relies on the server's serial port. The virtual serial port must be available remotely ...