Class UDP
The UDP Layer, inherits from Base_Object
Tables
UDP.new_args | Constructor arguments |
Methods
UDP:new ([args]) | Constructor for an UDP Layer |
UDP:source (source) | Set the UDP source port |
UDP:dest (dest) | Set the UDP destination port |
Tables
Methods
- UDP:new ([args])
-
Constructor for an UDP Layer
Parameters:
Returns:
-
UDP
a new UDP object
Usage:
UDP.new{ dst=53 }
- UDP:source (source)
-
Set the UDP source port
Parameters:
- source num port number
- UDP:dest (dest)
-
Set the UDP destination port
Parameters:
- dest num destination port number