Brocade Virtual ADX OpenScript API Guide (Supporting ADX v Manual do Utilizador Página 26

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 132
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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 página 25
1 2 ... 21 22 23 24 25 26 27 28 29 30 31 ... 131 132

Comentários a estes Manuais

Sem comentários