- DIRECTIONS
- RX + TX
- SK_BUFF
- full metadata
- ATTACH API
- tcx (6.6+)
- POD VETH
- ideal fit
- ingress frame
- egress / socket
- XDP drop / redirect
TC (cls_bpf / modern tcx links) runs just after sk_buff creation on ingress and before driver transmit on egress. It sees both directions, VLAN tags, mark bits, and pod virtual interfaces (veth).
That makes TC the workhorse for Kubernetes CNIs and packet capture agents: our agility-ebpf-listen pairs XDP ingress with TC egress on each NF pod’s eth0.
What changed
- Ingress-only XDP → symmetric ingress + egress visibility
- Raw frame bytes → full sk_buff helpers & checksums
- Legacy qdisc attach → composable FD-scoped tcx links