Brocade Virtual ADX OpenScript API Guide (Supporting ADX v Instrukcja Użytkownika Strona 37

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 132
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 36
Brocade Virtual ADX OpenScript API Guide 25
53-1003243-01
Methods
3
Example
OS_TCP::getOptionsLength
Description
Returns length of options if present, otherwise will return 0.
Context
Called in context of TCP and HTTP.
Usage
Can be used to perform load-balancing based on the option length.
Input Parameters
None.
Return Values
The following table contains the return values.
TABLE 19 Return Values
Name Type Description
bytes Options length
use OS_TCP;
use OS_SLB;
use OS_HTTP_REQUEST;
sub HTTP_REQUEST {
my $payloadlen = OS_TCP::getPayloadLength;
if($payloadlen > 1500)
{
OS_SLB::reset_client;
}
}
Przeglądanie stron 36
1 2 ... 32 33 34 35 36 37 38 39 40 41 42 ... 131 132

Komentarze do niniejszej Instrukcji

Brak uwag