Brocade Virtual ADX OpenScript API Guide (Supporting ADX v Uživatelský manuál Strana 35

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 132
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 34
Brocade Virtual ADX OpenScript API Guide 23
53-1003243-01
Methods
3
Example
OS_TCP::getHeaderLength
Description
Returns TCP header length in bytes. Header length does not include length of options present.
Context
Called in context of TCP and HTTP.
Usage
Can be used to perform load-balancing based on header length.
Input Parameters
None.
Return Values
The following table contains the return values.
TABLE 17 Return Values
Name Type Description
bytes TCP header length.
use OS_TCP;
use OS_HTTP_REQUEST;
sub HTTP_REQUEST {
my $options = OS_TCP::options;
if(defined $options)
{
#process options
}
}
Zobrazit stránku 34
1 2 ... 30 31 32 33 34 35 36 37 38 39 40 ... 131 132

Komentáře k této Příručce

Žádné komentáře