Skip to content
bluestar edited this page Nov 10, 2017 · 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 ANS?

Please refer to "Compile ANS" page

How to use ANS?

Please refer to "Use ANS" 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