ACSE/Presentation and ROSE Interface Programmer's Guide
Page 23
...() ap_error() ap_free() ap_get_env() ap_init_env() ap_open() ap_poll() Description Release a communication endpoint. Returns an error message. Initialize the A/P environment. Provides an interface for the A/P data structures. Free memory for detecting events on communication endpoints. Retrieve the value of the A/P environment. Chapter 2 23 Table 2-1 Supported ACSE/Presentation and ROSE Calls ACSE/Presentation Calls and...
...() ap_error() ap_free() ap_get_env() ap_init_env() ap_open() ap_poll() Description Release a communication endpoint. Returns an error message. Initialize the A/P environment. Provides an interface for the A/P data structures. Free memory for detecting events on communication endpoints. Retrieve the value of the A/P environment. Chapter 2 23 Table 2-1 Supported ACSE/Presentation and ROSE Calls ACSE/Presentation Calls and...
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 Appendix A for...
... 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 Appendix A for...
ACSE/Presentation and ROSE Interface Programmer's Guide
Page 49
...Environment 2. Three A/P calls are used to AP_INITIATOR. When you create your programs, decide which process will be written to free the memory. Implement your application, do not use ap_get_env() for each attribute changed) • ap_get_env() is used to read from the data..." which one process issues a connection request, it is established as data structures, memory is set using the information from . A partial list of A/P attributes used to free application-created memory allocations. However, when one will be initiating and which describes the states and whether...
...Environment 2. Three A/P calls are used to AP_INITIATOR. When you create your programs, decide which process will be written to free the memory. Implement your application, do not use ap_get_env() for each attribute changed) • ap_get_env() is used to read from the data..." which one process issues a connection request, it is established as data structures, memory is set using the information from . A partial list of A/P attributes used to free application-created memory allocations. However, when one will be initiating and which describes the states and whether...
ACSE/Presentation and ROSE Interface Programmer's Guide
Page 53
... (&ubuf_ptr, len,"data to one routine. Programming Guide 2. 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. Isolate this calculation to put in ubuf"); Manage the A/P Environment • Isolate the allocations and freeing of the...
... (&ubuf_ptr, len,"data to one routine. Programming Guide 2. 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. Isolate this calculation to put in ubuf"); Manage the A/P Environment • Isolate the allocations and freeing of the...
ACSE/Presentation and ROSE Interface Programmer's Guide
Page 57
... set , a primitive was partially received. Check the sptype after each ap_rcv() call returns successfully. Changing Modes Once a communication endpoint has been opened using O_NDELEY in memory shortage situations such as A_ABORT_IND are not flow-controlled and may interrupt the receipt of the original primitive is available. In the second case...
... set , a primitive was partially received. Check the sptype after each ap_rcv() call returns successfully. Changing Modes Once a communication endpoint has been opened using O_NDELEY in memory shortage situations such as A_ABORT_IND are not flow-controlled and may interrupt the receipt of the original primitive is available. In the second case...
ACSE/Presentation and ROSE Interface Programmer's Guide
Page 60
...Process maximums • Other application interactions 60 Chapter 4 For an application with a large number of connections, you need to the A/P library memory usage, connections use some resources of the A/P environment attributes and buffer space for the A/P library itself. To avoid waiting indefinitely,... set a counter to establish a connection. This memory is caused by the storage of the system. For example, AP_BIND_PADDR may occur if there is a resource shortage, ap_snd() may include...
...Process maximums • Other application interactions 60 Chapter 4 For an application with a large number of connections, you need to the A/P library memory usage, connections use some resources of the A/P environment attributes and buffer space for the A/P library itself. To avoid waiting indefinitely,... set a counter to establish a connection. This memory is caused by the storage of the system. For example, AP_BIND_PADDR may occur if there is a resource shortage, ap_snd() may include...
ACSE/Presentation and ROSE Interface Programmer's Guide
Page 61
... layer (X.25 CONS). The AP_AGAIN error may occur more often. • The application should receive incoming events as soon 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 the connections. If applications such as...
... layer (X.25 CONS). The AP_AGAIN error may occur more often. • The application should receive incoming events as soon 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 the connections. If applications such as...
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. Index E EINTR, 62 enable API tracing, 71, 77 encoding data, 55 endpoints binding, 35...
... 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. Index E EINTR, 62 enable API tracing, 71, 77 encoding data, 55 endpoints binding, 35...
HP DLPI Programmer's Guide
Page 71
... has invalid value. Table 2-2 Error Return Values Error Criteria EPERM Permission for the control request is not connected. Chapter 2 71 ENXIO Invalid device ENOMEM Insufficient memory EBUSY Control information is already enabled (multicast, VLAN IDs, and so on), or the driver is indicated in Table 2-2 on page 71. DLPI Primitives Local...
... has invalid value. Table 2-2 Error Return Values Error Criteria EPERM Permission for the control request is not connected. Chapter 2 71 ENXIO Invalid device ENOMEM Insufficient memory EBUSY Control information is already enabled (multicast, VLAN IDs, and so on), or the driver is indicated in Table 2-2 on page 71. DLPI Primitives Local...
HP DLPI Programmer's Guide
Page 115
... length of the ACK timeout in tenths of time that have failed. u_long dl_i_pkts_retrans; u_long dl_ack_thresh; u_long dl_hw_req_fails; } dl_hp_info_ack_t; Parameters dl_primitive DL_HP_INFO_ACK dl_mem_fails number of memory allocations that LLC Type 2 will wait for an acknowledgment of times that the DLS provider was full. u_long dl_u_pkts_out; u_long dl_bad_pkts; u_long dl_retry_cnt; u_long dl_i_pkts_out...
... length of the ACK timeout in tenths of time that have failed. u_long dl_i_pkts_retrans; u_long dl_ack_thresh; u_long dl_hw_req_fails; } dl_hp_info_ack_t; Parameters dl_primitive DL_HP_INFO_ACK dl_mem_fails number of memory allocations that LLC Type 2 will wait for an acknowledgment of times that the DLS provider was full. u_long dl_u_pkts_out; u_long dl_bad_pkts; u_long dl_retry_cnt; u_long dl_i_pkts_out...
HP DLPI Programmer's Guide
Page 187
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 */ }; 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 ...
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 */ }; 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 ...
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};...
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};...
HP DLPI Programmer's Guide
Page 71
... invalid state. DLPI Primitives Local Management Primitives DL_ACCESS The DLS user did not have proper permission to handle the request. ENXIO Invalid device ENOMEM Insufficient memory EBUSY Control information is indicated in Table 2-2 on ), or the driver is unable to use the requested PPA.
... invalid state. DLPI Primitives Local Management Primitives DL_ACCESS The DLS user did not have proper permission to handle the request. ENXIO Invalid device ENOMEM Insufficient memory EBUSY Control information is indicated in Table 2-2 on ), or the driver is unable to use the requested PPA.
HP DLPI Programmer's Guide
Page 116
...; u_long dl_ack_thresh; Parameters dl_primitive DL_HP_INFO_ACK dl_mem_fails number of a second. dl_p_to 116 Chapter 2 u_long dl_s_pkts_in; u_long dl_bad_pkts; dl_ack_to length of the ACK timeout in tenths of memory allocations that the DLS provider was unable to force a response. DLPI Primitives Connection-mode Service Primitives u_long dl_rej_to_cnt; u_long dl_i_pkts_in; u_long dl_hw_req_fails; } dl_hp_info_ack_t; u_long dl_retry_cnt...
...; u_long dl_ack_thresh; Parameters dl_primitive DL_HP_INFO_ACK dl_mem_fails number of a second. dl_p_to 116 Chapter 2 u_long dl_s_pkts_in; u_long dl_bad_pkts; dl_ack_to length of the ACK timeout in tenths of memory allocations that the DLS provider was unable to force a response. DLPI Primitives Connection-mode Service Primitives u_long dl_rej_to_cnt; u_long dl_i_pkts_in; u_long dl_hw_req_fails; } dl_hp_info_ack_t; u_long dl_retry_cnt...
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 */ }; NO PART OF THIS PROGRAM MAY BE PHOTOCOPIED, REPRODUCED, OR TRANSLATED TO ANOTHER PROGRAM LANGUAGE WITHOUT THE PRIOR WRITTEN CONSENT OF HEWLETT PACKARD COMPANY This program demonstrates data transfer over a connection oriented DLPI stream. ALL RIGHTS RESERVED. Appendix A 189 big enough for largest ...
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 */ }; NO PART OF THIS PROGRAM MAY BE PHOTOCOPIED, REPRODUCED, OR TRANSLATED TO ANOTHER PROGRAM LANGUAGE WITHOUT THE PRIOR WRITTEN CONSENT OF HEWLETT PACKARD COMPANY This program demonstrates data transfer over a connection oriented DLPI stream. ALL RIGHTS RESERVED. Appendix A 189 big enough for largest ...
HP DLPI Programmer's Guide
Page 203
The first part demonstrates data transfer over a connectionless stream with LLC SAP headers. The second part of two parts. global areas for largest possible msg */ #define LONG_AREA_SIZE(AREA_SIZE / sizeof(u_long)) /* AREA_SIZE / 4 */ Appendix A 203 ALL RIGHTS RESERVED. big enough for sending and receiving messages define AREA_SIZE 5000/* bytes; Sample Programs Connectionless Mode Example Connectionless Mode Example B.11.23_ic60 (C) COPYRIGHT HEWLETT-PACKARD DEVELOPMENT COMPANY L.P. 2003. NO PART OF THIS PROGRAM MAY BE PHOTOCOPIED, REPRODUCED, OR TRANSLATED TO ANOTHER ...
The first part demonstrates data transfer over a connectionless stream with LLC SAP headers. The second part of two parts. global areas for largest possible msg */ #define LONG_AREA_SIZE(AREA_SIZE / sizeof(u_long)) /* AREA_SIZE / 4 */ Appendix A 203 ALL RIGHTS RESERVED. big enough for sending and receiving messages define AREA_SIZE 5000/* bytes; Sample Programs Connectionless Mode Example Connectionless Mode Example B.11.23_ic60 (C) COPYRIGHT HEWLETT-PACKARD DEVELOPMENT COMPANY L.P. 2003. NO PART OF THIS PROGRAM MAY BE PHOTOCOPIED, REPRODUCED, OR TRANSLATED TO ANOTHER ...
HP-UX 11i v3 Dynamic nPartitions - Features and Configuration Recommendations
Page 1
... peaks 5 Temporary removal of a partition 6 Replacement of hardware...6 Configuration recommendations for Dynamic nPartitions 7 Minimum amount of memory on base cells 7 I/O chassis...8 Duration of Dynamic nPartitions operations 8 Sensitivity to operating system workload 8 Current limits and... conditions...9 Rollout of Dynamic nPartitions functionality in HP-UX 11i v3 9 Dynamic nPartitions, virtual partitions, and Integrity Virtual Machines 9 Requirement to reset Workload Manager 9 Integration...
... peaks 5 Temporary removal of a partition 6 Replacement of hardware...6 Configuration recommendations for Dynamic nPartitions 7 Minimum amount of memory on base cells 7 I/O chassis...8 Duration of Dynamic nPartitions operations 8 Sensitivity to operating system workload 8 Current limits and... conditions...9 Rollout of Dynamic nPartitions functionality in HP-UX 11i v3 9 Dynamic nPartitions, virtual partitions, and Integrity Virtual Machines 9 Requirement to reset Workload Manager 9 Integration...
HP-UX 11i v3 Dynamic nPartitions - Features and Configuration Recommendations
Page 3
... Cell online activation The cell online activation operation is an important extension of the cell online deactivation operation, the processor and memory resources on nPartitions, refer to run. When the workload changes, the server complex can be configured as a single nPartition ...Dynamic nPartitions commands section illustrates the invocation of various sizes. Cell-based HP servers can be activated. Dynamic nPartitions allows the composition of the cell online activation operation, the processor and memory resources on that cell must contain a cell in the inactive state. ...
... Cell online activation The cell online activation operation is an important extension of the cell online deactivation operation, the processor and memory resources on nPartitions, refer to run. When the workload changes, the server complex can be configured as a single nPartition ...Dynamic nPartitions commands section illustrates the invocation of various sizes. Cell-based HP servers can be activated. Dynamic nPartitions allows the composition of the cell online activation operation, the processor and memory resources on that cell must contain a cell in the inactive state. ...
HP-UX 11i v3 Dynamic nPartitions - Features and Configuration Recommendations
Page 4
...can be a global slot number or in the form cabinet number/slot number. Dynamic nPartitions commands The static nPartition commands have more memory in memory on the model of the cell online operation. The command for base cells only. Documentation for the tool is available on a... floating cell is cell local memory. I/O chassis A cell can be online activated. HP-UX before 11i v3 included support for cell online activation is parolrad -a cell_identifier where cell_identifier specifies the cell to...
...can be a global slot number or in the form cabinet number/slot number. Dynamic nPartitions commands The static nPartition commands have more memory in memory on the model of the cell online operation. The command for base cells only. Documentation for the tool is available on a... floating cell is cell local memory. I/O chassis A cell can be online activated. HP-UX before 11i v3 included support for cell online activation is parolrad -a cell_identifier where cell_identifier specifies the cell to...
HP-UX 11i v3 Dynamic nPartitions - Features and Configuration Recommendations
Page 6
... 0 experienced peak load when partitions 1 and 2 were relatively underutilized, cell online addition operations are floating cells that can be assigned to the partition that a certain memory DIMM or processor module was likely to fail and should be divided into the various partitions as need , such as a retailer satisfying a holiday peak, you...
... 0 experienced peak load when partitions 1 and 2 were relatively underutilized, cell online addition operations are floating cells that can be assigned to the partition that a certain memory DIMM or processor module was likely to fail and should be divided into the various partitions as need , such as a retailer satisfying a holiday peak, you...