User`s guide

140
K
A
DAK
KwikNet Low Level Services
Network Attributes
Each network parameter structure includes a field which is used to specify the network
interface attributes. The structure name, field name and allowable attributes are
dependent upon the interface type.
Interface Structure Field
Ethernet knx_np_ether xp_ether_ipattr
SLIP knx_np_slip xp_slip_ipattr
PPP knx_np_ppp xp_ppp_ipattr
The network attributes are specified by ORing the value 0 with one or more of the
following attribute bit masks from KwikNet header file KN_COMN.H.
Ethernet:
KN_IPATTR_DHCP Use DHCP for IP address acquisition
KN_IPATTR_REBOOT Use DHCP (reboot) for IP address acquisition
KN_IPATTR_BOOTP Use BOOTP for IP address acquisition
KN_IPATTR_AUTOIP Use Auto IP for IP address acquisition
SLIP and PPP:
KN_IPATTR_GATEWAY Set default gateway to remote peer's IP address
Ethernet, SLIP and PPP:
KN_IPATTR_IPFW Allow IP forwarding (unicast)
KN_IPATTR_IPFWBCAST Allow IP forwarding (directed broadcast)
Ethernet and PPP:
KN_IPATTR_IPUSEALL IPv4 and IPv6 (both needed)
KN_IPATTR_IPUSEANY IPv4 and/or IPv6 needed