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

  • 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 42
Brocade Virtual ADX OpenScript API Guide 31
53-1003243-01
Chapter
4
UDP API reference
In this chapter
This chapter contains the following sections:
Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Overview
The OS_UDP module includes the APIs to retrieve the fields in the current UDP header.
The use <package> statement needs to be in the declaration block of the script for methods of that
package to be used.
For example: to use the OS_UDP methods, The OS_UDP package must be declared as follows:
use OS_UDP;
Methods
OS_UDP::src
Description
Returns the source port number if called in the correct context, otherwise undefined is returned.
Context
Called in UDP context.
Usage
Can be used to perform load-balancing based on the source port.
Input Parameters
None.
Zobrazit stránku 42
1 2 ... 38 39 40 41 42 43 44 45 46 47 48 ... 131 132

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

Žádné komentáře