1 / 16

IP Configuration API

IP Configuration API. Network Interface Configuration. NAIfconfigIsDeviceUp() NAIfconfigDeviceFromInterface() NAIfconfigBringDeviceUp() NAIfconfigSetIpAddress() NAAddDeviceToTcpipDeviceTable(). Global IP Configuration. NAIpSetDefaultIpTtl() NAIpGetDefaultIpTtl() NAIpSetDefaultTcpTtl()

Download Presentation

IP Configuration API

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. IP Configuration API

  2. Network Interface Configuration • NAIfconfigIsDeviceUp() • NAIfconfigDeviceFromInterface() • NAIfconfigBringDeviceUp() • NAIfconfigSetIpAddress() • NAAddDeviceToTcpipDeviceTable()

  3. Global IP Configuration • NAIpSetDefaultIpTtl() • NAIpGetDefaultIpTtl() • NAIpSetDefaultTcpTtl() • NAIpGetDefaultTcpTtl() • NAIpSetKaInterval() • NAIpGetKaInterval() • NAIpSetKaGarbage()

  4. Global IP Configuration (2) • typedef enum { NA_IP_KA_GARGAGE_DEFAULT, NA_IP_KA_NO_GARBAGE_DATA, NA_IP_KA_GARBAGE_DATA } NaIpKaGarbageType;

  5. Changes in TCP/IP Stack

  6. Multi-homed Interfaces • Several IP addresses are used for one physical address. • Interface names: • Primary - eth0 • Secondary - eth0:0, eth0:1, …

  7. New RFC Support

  8. New Socket Options - SOL_SOCKET SO_REUSEPORT Allow local address/port reuse

  9. New IP Level Options – IPPROTO_IP

  10. New IP Level Options – IPPROTO_IP (2)

  11. TCP Level Options – IPPROTO_TCP

  12. TCP Level Options – IPPROTO_TCP (2)

  13. TCP Level Options – IPPROTO_TCP (3)

  14. TCP Level Options – IPPROTO_TCP (4)

  15. TCP Level Options – IPPROTO_TCP (5)

  16. TCP Level Options – IPPROTO_TCP (6)

More Related