Represents a single port or a range of ports.
More...
#include <eip.h>
Represents a single port or a range of ports.
| EIpFilterRule::Port::Port |
( |
UShort |
first = 0, |
|
|
UShort |
last = 0 |
|
) |
| |
|
inline |
Default constructor.
- Parameters
-
| first | the first port number in the range. |
| last | the last port number in the range. |
| EIpFilterRule::Port::Port |
( |
const Port & |
p | ) |
|
|
inline |
Copy constructor.
- Parameters
-
| p | the Port object to copy. |
| UShort EIpFilterRule::Port::first |
( |
| ) |
const |
|
inline |
retrieves the first port in the range.
- Returns
- the first port in the range.
| UShort EIpFilterRule::Port::last |
( |
| ) |
const |
|
inline |
retrieves the last port in the range.
- Returns
- the last port in the range.
| Port& EIpFilterRule::Port::setFirst |
( |
UShort |
first | ) |
|
|
inline |
sets the first port in the range.
- Parameters
-
| first | the first port in the range. |
- Returns
- a reference to this object.
| Port& EIpFilterRule::Port::setFirstLast |
( |
UShort |
first, |
|
|
UShort |
last |
|
) |
| |
|
inline |
sets the first and last port in the range.
- Parameters
-
| first | the first port in the range. |
| last | the last port in the range. |
- Returns
- a reference to this object.
| Port& EIpFilterRule::Port::setLast |
( |
UShort |
last | ) |
|
|
inline |
sets the last port in the range.
- Parameters
-
| last | the last port in the range. |
- Returns
- a reference to this object.
The documentation for this class was generated from the following file:
- /home/vagrant/share/code/epctools-omec-pfcp/include/epc/eip.h