construct a struct interface which represents the network interface,code a function to gather the infomation about specific interface,such as ip addrss, netmask, boradcast address and so on.Alos give a simple test file resides under /tests