
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
}
}
Comentarios a estos manuales