f-stack/lib
logwang 48b700b73c Fix bug: incorrect usage of `rte_pktmbuf_clone` when dispatching arp packets.
Since f-stack uses `rte_pktmbuf_clone` to copy mbuf to other lcores when dispatching arp packets, but it doesn't real copy the packet data. The buf_addr of pktmbuf is pointed to the same address.

The arp response packet is generated with the same mbuf from the request
packet, it just swaps the src and dst address, so the copied mbufs will also be changed.

What we need is a deep copy function, and the arp packets are really small, so deep copy will not harm performance too much.

Fix #53 #111 #112.
2017-12-01 17:25:47 +08:00
..
include Fix `ff_fdused_range` not work. 2017-08-08 23:47:38 +08:00
opt Add tool: ipfw. 2017-11-14 16:44:32 +08:00
Makefile Add tool: ipfw. 2017-11-14 16:44:32 +08:00
ff_api.h Add tool: ipfw. 2017-11-14 16:44:32 +08:00
ff_api.symlist Add tool: ngctl. 2017-11-01 17:38:22 +08:00
ff_compat.c Fix bug: undefined refrence to `fueword`. 2017-10-25 15:16:28 +08:00
ff_config.c Fix bug: freebsd sysctl config not work. 2017-09-21 15:03:05 +08:00
ff_config.h multiple NIC support 2017-09-21 12:33:25 +08:00
ff_dpdk_if.c Fix bug: incorrect usage of `rte_pktmbuf_clone` when dispatching arp packets. 2017-12-01 17:25:47 +08:00
ff_dpdk_if.h Support RX/TX offload according to HW's capability 2017-05-06 21:52:25 +08:00
ff_dpdk_kni.c Use general protocol header length in protocol filter. 2017-11-21 11:20:14 +08:00
ff_dpdk_kni.h fix KNI: Out of memory 2017-06-12 16:12:22 +08:00
ff_dpdk_pcap.c init 2017-04-21 18:43:26 +08:00
ff_dpdk_pcap.h init 2017-04-21 18:43:26 +08:00
ff_epoll.c Fix #107: some invalid usages of kqueue in `ff_epoll`. 2017-11-27 18:39:34 +08:00
ff_epoll.h epoll optimization, add ff_kevent_do_each 2017-06-13 17:50:51 +08:00
ff_errno.h init 2017-04-21 18:43:26 +08:00
ff_event.h init 2017-04-21 18:43:26 +08:00
ff_freebsd_init.c Support nginx reload. 2017-08-23 16:54:32 +08:00
ff_glue.c Add tool: ipfw. 2017-11-14 16:44:32 +08:00
ff_host_interface.c Support nginx reload. 2017-08-23 16:54:32 +08:00
ff_host_interface.h Fix ff_rss_check function bug. 2017-08-28 17:12:07 +08:00
ff_ini_parser.c init 2017-04-21 18:43:26 +08:00
ff_ini_parser.h init 2017-04-21 18:43:26 +08:00
ff_init.c Simplify startup arguments and add ff_fdisused. 2017-08-08 22:36:49 +08:00
ff_init_main.c init 2017-04-21 18:43:26 +08:00
ff_kern_condvar.c Add tool: ifconfig. 2017-06-06 16:52:52 +08:00
ff_kern_environment.c init 2017-04-21 18:43:26 +08:00
ff_kern_intr.c init 2017-04-21 18:43:26 +08:00
ff_kern_subr.c Add tool: ngctl. 2017-11-01 17:38:22 +08:00
ff_kern_synch.c FreeBSD misc: add a macro to turn on NETGRAPH option and return error when call sleep 2017-10-27 18:08:44 +08:00
ff_kern_timeout.c Fix typo. 2017-05-16 16:16:10 +08:00
ff_lock.c init 2017-04-21 18:43:26 +08:00
ff_msg.h Add tool: ipfw. 2017-11-14 16:44:32 +08:00
ff_ng_base.c Add tool: ngctl. 2017-11-01 17:38:22 +08:00
ff_ngctl.c Add tool: ngctl. 2017-11-01 17:38:22 +08:00
ff_route.c Add tool: ngctl. 2017-11-01 17:38:22 +08:00
ff_subr_prf.c init 2017-04-21 18:43:26 +08:00
ff_syscall_wrapper.c Add tool: ipfw. 2017-11-14 16:44:32 +08:00
ff_veth.c Fix ff_rss_check function bug. 2017-08-28 17:12:07 +08:00
ff_veth.h Fix ff_rss_check function bug. 2017-08-28 17:12:07 +08:00
ff_vfs_ops.c init 2017-04-21 18:43:26 +08:00