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

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 132
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 45
34 Brocade Virtual ADX OpenScript API Guide
53-1003243-01
Methods
4
Context
Called in UDP context only.
Usage
Can be used to perform load-balancing based on the UDP payload length.
Input Parameters
None.
Return Values
The following table contains the return values.
Example
OS_UDP::payload
Description
Returns the UDP payload of the current packet. Buffering of multiple packets is not supported.
Context
Can be called in UDP context only.
Usage
Can be used to perform load-balancing based on the UDP payload.
Input Parameters
None.
TABLE 25 Return Values
Name Type Description
bytes Payload length in bytes
use OS_UDP;
use OS_SLB;
sub UDP_CLIENT_DATA{
my $length = OS_UDP::getPayloadLength;
if($length > 1500) {
OS_SLB::drop;
}
}
Vista de pagina 45
1 2 ... 41 42 43 44 45 46 47 48 49 50 51 ... 131 132

Comentarios a estos manuales

Sin comentarios