AMX DESIGN XPRESS V 1.5 - PROGRAMMER GUIDE User's Guide Page 152

  • Download
  • Add to my manuals
  • Print
  • Page
    / 316
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 151
138
K
A
DAK
KwikNet Low Level Services
Network Parameter Structure (SLIP)
struct knx_np_slip {
struct in_addr xp_slip_ipaddr; /* Network IP address */
struct in_addr xp_slip_ipremote; /* Remote peer IP address */
struct in_addr xp_slip_unused; /* Reserved field */
short xp_slip_ipattr; /* IP address attributes */
short xp_slip_rsv1; /* Reserved for alignment */
};
For SLIP networks, a valid local IP address must be defined.
A remote peer IP address must be provided for routing purposes. If the remote peer IP
address is specified as 0.0.0.0 when the interface is opened, then you must provide a
network hook function to dynamically override the setting with a valid IP address.
If mask bit KN_IPATTR_GATEWAY in field xp_slip_ipattr is set, then the remote peer IP
address will be installed as the default gateway once the SLIP connection is established.
Note that the first default gateway to be installed becomes the system's default gateway.
When a subsequent network interface is opened, its default gateway will not override the
previously installed gateway.
Page view 151
1 ... 151 152 153 ... 316

Comments to this Manuals

No comments