Skip to content
bluestar edited this page Apr 9, 2016 · 40 revisions

ANS overview

ANS(accelerated network stack)provide a userspace TCP/IP stack for use with DPDK. ANS is a static library which can be compiled with your App. You can add or delete ether interface, IP address and static routing from ANS. Your App can forward traffic to ANS.

|------------------------------| 
|         APPLICATION          | 
|------------------------------| 
| |--------------------------| | 
| | ANS                      | | 
| |--------------------------| | 
| |       SOCKET             | | 
| |--------------------------| | 
| |       UDP TCP ICMP       | | 
| |--------------------------| | 
| |     ARP IP ROUTING       | | 
| |--------------------------| | 
| |      Ethernet            | | 
| |--------------------------| | 
|------------------------------| 
|            DPDK              | 
|------------------------------| 

How to compile APP with ANS lib?

Please refer to "Compile app with ANS" page

How to use ANS in APP?

Please refer to "Use ANS in APP" page

How to configure IP and routing by API?

Please refer to "Configure IP and routing by API" page

How to configure IP and routing by commands?

Please refer to "Configure IP and routing by commands" page

How to establish UDP socket with epoll?

Please refer to "UDP socket" page

How to establish TCP socket with epoll?

Please refer to "TCP socket" page

Demo

Clone this wiki locally