# ansyun/dpdk-ans

ANS(Accelerated Network Stack) on DPDK, DPDK native TCP/IP stack.

Repository: https://github.com/ansyun/dpdk-ans
Canonical: https://ross.abutalabs.com/products/dpdk-ans
Homepage: https://ansyun.com
Language: C
License: BSD-3-Clause
License Family: permissive
Topics: ans-tcp, dpdk, tcp-server, ans, fastpath, tcp, ip, sdn, nfv, cloud
Last push: 2021-08-11T06:27:23+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4393, "days_push": 1848, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1219, forks 327 (observed 2026-08-28T04:04:01.763976+00:00)

## What it is
ANS is a DPDK-native userspace TCP/IP stack written in C, based on the FreeBSD implementation, providing zero-copy mbuf handling and a BSD-compatible socket API. It includes libraries for the stack, sockets, and CLI configuration, targeting high-performance NFV and cloud networking workloads.

## Use cases
- run a userspace tcp/ip stack on dpdk
- build a high-performance tcp server bypassing the linux kernel
- terminate tcp connections in an nfv virtual network function
- get bsd socket api compatibility for dpdk applications
- configure routes and acl rules for a dpdk fastpath
- run tcp/ip stack in a container with vhost or kni

## When to choose
- you need kernel-bypass TCP/IP with zero-copy on DPDK
- you want a BSD socket API so existing apps can use the DPDK fastpath
- you need TCP features like congestion control, TSO, ECN, and SO_REUSEPORT at high packet rates

## When to avoid
- you need a maintained project - the last release was 2021 and it targets dpdk-18.11
- your workload is low-traffic and the linux kernel stack is sufficient
- you need a portable cross-platform stack - it targets Linux on x86 and arm64 only

## Facets
- artifact type: library
- maturity: maintenance
- function: networking, http-server, cli, sdk
- domain: networking, cloud-computing, developer-tools, performance
- platform: cpp, self-hosted
- tags: dpdk, tcp-ip-stack, userspace-networking, nfv, fastpath, kernel-bypass, bsd-sockets, high-performance, linux, docker

## Member repositories
- ansyun/dpdk-ans (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:01.763976+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:16:12.268413+00:00, confidence not recorded.
  - readme: https://github.com/ansyun/dpdk-ans (fetched 2026-08-28T04:04:01.763976+00:00, sha e4436097b6be)
- Data as of 2026-08-30T08:39:29.467469+00:00.
