Brocade Virtual ADX OpenScript API Guide (Supporting ADX v Manuale Utente Pagina 25

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 132
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 24
Brocade Virtual ADX OpenScript API Guide 13
53-1003243-01
Methods
2
Example
OS_IP::getOptionsLength
Description
Returns the length of options in bytes if present, otherwise it will return 0.
Context
Called in context of TCP, UDP and HTTP.
Usage
Used in performing load-balancing based on the option length.
Input Parameters
None.
Return Values
The following table contains the return values.
TABLE 9 Return Values
Name Type Description
byte Options length in bytes. 0
returned if options not present.
use OS_IP;
use OS_SLB;
use OS_HTTP_REQUEST;
sub HTTP_REQUEST{
$length = OS_IP::getPayloadLength;
if($length > 2000){
OS_SLB::reset_client;
}
}
Vedere la pagina 24
1 2 ... 20 21 22 23 24 25 26 27 28 29 30 ... 131 132

Commenti su questo manuale

Nessun commento