| TCCInterface.cc | |
| Functions | |
| f__setIP | Set IP address, subnet mask and broadcast address in a network inteface If number is set, a range of virtual interfaces are set up with continuous IP address (no subnet mask, broadcast checking) | 
| f__deleteIP | Delete IP address from a network inteface | 
| f__getIP | Get IP address, subnet mask and broadcast address from a network inteface | 
| f__setInterfaceUp | Set up a network interface | 
| f__setInterfaceDown | Set down a network interface | 
| f__getHostName | Get name of host | 
| f__getIpAddr | Get IP address of host | 
| f_setIP_ip | Set IP address, subnet mask in a network inteface Uses RTLN netlink interface on linux, which is faster than original POSIX. | 
| f_delIP_ip | Set IP address, subnet mask in a network inteface Uses RTLN netlink interface on linux, which is faster than original POSIX. | 
| f_getIpAddresses | Get both IPv4 and IPv6 addresses of the given host | 
Set IP address, subnet mask and broadcast address in a network inteface If number is set, a range of virtual interfaces are set up with continuous IP address (no subnet mask, broadcast checking)
| interface | in charstring - network interface | 
| ipaddress | in charstring - starting IP address | 
| subnetmask | in charstring - subnetmask | 
| broadcast | in charstring - broadcast | 
| number | in integer - number of interfaces to set up | 
-
-
-
Get IP address, subnet mask and broadcast address from a network inteface
| interface | in charstring - network interface | 
| ip | out charstring - IP address | 
| netmask | out charstring - netmask | 
| broadcast | out charstring - broadcast | 
| addressType | in TCCInterface_IPAddressType - type of IP addresses (default is IPv4) | 
-
-
-
Set up a network interface
| interface | in charstring - network interface | 
| addressType | in TCCInterface_IPAddressType - type of IP addresses (default is IPv4) | 
-
-
-
Set down a network interface
| interface | in charstring - network interface | 
| addressType | in TCCInterface_IPAddressType - type of IP addresses (default is IPv4) | 
-
-
-
Get IP address of host
| hostname | in charstring - name of the host | 
| addressType | in TCCInterface_IPAddressType - type of IP addresses (default is IPv4) | 
| charstring | IP address of the host | 
-
-
Set IP address, subnet mask in a network inteface Uses RTLN netlink interface on linux, which is faster than original POSIX.
| interface | in charstring - network interface | 
| ipaddress | in charstring - starting IP address | 
| prefix | in integer - subnetmask of the ipaddress | 
True on success, false in other cases.
Many possibilities, all generates a TTCN_warning
-
Set IP address, subnet mask in a network inteface Uses RTLN netlink interface on linux, which is faster than original POSIX.
| interface | in charstring - network interface | 
| ipaddress | in charstring - starting IP address | 
| prefix | in integer - subnetmask of the ipaddress | 
True on success, false in other cases.
Many possibilities, all generates a TTCN_warning
-