160 likes | 341 Views
IP Configuration API. Network Interface Configuration. NAIfconfigIsDeviceUp() NAIfconfigDeviceFromInterface() NAIfconfigBringDeviceUp() NAIfconfigSetIpAddress() NAAddDeviceToTcpipDeviceTable(). Global IP Configuration. NAIpSetDefaultIpTtl() NAIpGetDefaultIpTtl() NAIpSetDefaultTcpTtl()
E N D
Network Interface Configuration • NAIfconfigIsDeviceUp() • NAIfconfigDeviceFromInterface() • NAIfconfigBringDeviceUp() • NAIfconfigSetIpAddress() • NAAddDeviceToTcpipDeviceTable()
Global IP Configuration • NAIpSetDefaultIpTtl() • NAIpGetDefaultIpTtl() • NAIpSetDefaultTcpTtl() • NAIpGetDefaultTcpTtl() • NAIpSetKaInterval() • NAIpGetKaInterval() • NAIpSetKaGarbage()
Global IP Configuration (2) • typedef enum { NA_IP_KA_GARGAGE_DEFAULT, NA_IP_KA_NO_GARBAGE_DATA, NA_IP_KA_GARBAGE_DATA } NaIpKaGarbageType;
Multi-homed Interfaces • Several IP addresses are used for one physical address. • Interface names: • Primary - eth0 • Secondary - eth0:0, eth0:1, …
New Socket Options - SOL_SOCKET SO_REUSEPORT Allow local address/port reuse