Brocade Virtual ADX OpenScript API Guide (Supporting ADX v Manual de usuario Pagina 26

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 132
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 25
14 Brocade Virtual ADX OpenScript API Guide
53-1003243-01
Methods
2
Example
OS_IP::raw
Description
Returns the data within an IP packet including the IP header.
Context
Called in context of TCP, UDP and HTTP.
Usage
Used in performing load-balancing based on the whole IP packet.
Input Parameters
None.
Return Values
The following table contains the return values.
TABLE 10 Return Values
Name Type Description
string Raw data within the IP packet.
use OS_IP;
use OS_SLB;
use OS_HTTP_REQUEST;
sub HTTP_REQUEST{
$options = OS_IP::options;
$option_len = OS_IP::getOptionsLength;
if( defined $options){
if(defined $option_len){
#process options
} else {
OS_SLB::reset_client;
}
}
}
Vista de pagina 25
1 2 ... 21 22 23 24 25 26 27 28 29 30 31 ... 131 132

Comentarios a estos manuales

Sin comentarios