Nios II Classic Software Developer’s Handbook

ID 683282
Date 5/14/2015
Public
Document Table of Contents

11.4. Using the NicheStack TCP/IP Stack - Nios II Edition

The primary interface to the NicheStack TCP/IP Stack is the standard sockets interface. In addition, you call the following functions to initialize the stack and drivers:
  • alt_iniche_init()
  • netmain()

You also use the global variable iniche_net_ready in the initialization process.

You must provide the following simple functions, which the HAL system code calls to obtain the MAC address and IP address:

  • get_mac_addr()
  • get_ip_addr()