TLDKv2 60/25660/1 dev-next-socket
authorJianfeng Tan <[email protected]>
Mon, 18 Nov 2019 06:59:50 +0000 (06:59 +0000)
committerJianfeng Tan <[email protected]>
Wed, 4 Mar 2020 17:31:33 +0000 (01:31 +0800)
commit78c896b3b3127515478090c19447e27dc406427e
treed6d67d4683e9ca0409f9984a834547a572fb5310
parente4380f4866091fd92a7a57667dd938a99144f9cd
TLDKv2

Signed-off-by: Jianfeng Tan <[email protected]>
Signed-off-by: Jielong Zhou <[email protected]>
Signed-off-by: Jian Zhang <[email protected]>
Signed-off-by: Chen Zhao <[email protected]>
Change-Id: I55c39de4c6cd30f991f35631eb507f770230f08e
289 files changed:
.gitreview
Makefile
README
afl/lower_constructor_priority.diff [new file with mode: 0644]
afl/run.sh [new file with mode: 0755]
afl/seeds/seed.txt [new file with mode: 0644]
angora/dpdk_abilist.txt [new file with mode: 0644]
angora/run.sh [new file with mode: 0644]
angora/seeds/seed.txt [new file with mode: 0644]
dpdk/Makefile
dpdk/dpdk-v18.11_patches/0001-eal-don-t-start-the-interrupt-mp-thread.patch [new file with mode: 0644]
dpdk/dpdk-v18.11_patches/0002-eal-prioritize-constructor.patch [new file with mode: 0644]
dpdk/dpdk-v18.11_patches/0003-mbuf-add-single-linked-list.patch [new file with mode: 0644]
dpdk/dpdk-v18.11_patches/0004-net-virtio-user-add-rss-update-for-virtio-user.patch [new file with mode: 0644]
dpdk/dpdk-v18.11_patches/0005-net-virtio-user-support-raw-socket-as-backend.patch [new file with mode: 0644]
dpdk/dpdk-v18.11_patches/0006-mempool-add-dynamic-mempool-support.patch [new file with mode: 0644]
dpdk/dpdk-v18.11_patches/0007-mbuf-add-dynamic-mbuf-mempool-support.patch [new file with mode: 0644]
dpdk/dpdk-v18.11_patches/0008-mempool-prioritize-constructor.patch [new file with mode: 0644]
dpdk/dpdk-v18.11_patches/0009-net-virtio-fill-desc-limit.patch [new file with mode: 0644]
examples/Makefile
examples/l4fwd/main.c
examples/l4fwd/port.h
lib/Makefile
lib/libtle_glue/Makefile [new file with mode: 0644]
lib/libtle_glue/arp.c [new file with mode: 0644]
lib/libtle_glue/be.c [new file with mode: 0644]
lib/libtle_glue/config.h [new file with mode: 0644]
lib/libtle_glue/ctx.c [new file with mode: 0644]
lib/libtle_glue/ctx.h [new file with mode: 0644]
lib/libtle_glue/epoll.c [new file with mode: 0644]
lib/libtle_glue/fd.c [new file with mode: 0644]
lib/libtle_glue/fd.h [new file with mode: 0644]
lib/libtle_glue/gateway.h [new file with mode: 0644]
lib/libtle_glue/icmp.c [new file with mode: 0644]
lib/libtle_glue/init.c [new file with mode: 0644]
lib/libtle_glue/internal.h [new file with mode: 0644]
lib/libtle_glue/log.h [new file with mode: 0644]
lib/libtle_glue/ndp.h [new file with mode: 0644]
lib/libtle_glue/packetdrill.c [new file with mode: 0644]
lib/libtle_glue/packetdrill.h [new file with mode: 0644]
lib/libtle_glue/poll.c [new file with mode: 0644]
lib/libtle_glue/port.c [new file with mode: 0644]
lib/libtle_glue/rxcb.c [new file with mode: 0644]
lib/libtle_glue/rxtx.c [new file with mode: 0644]
lib/libtle_glue/select.c [new file with mode: 0644]
lib/libtle_glue/sock.h [new file with mode: 0644]
lib/libtle_glue/socket.c [new file with mode: 0644]
lib/libtle_glue/sym.c [new file with mode: 0644]
lib/libtle_glue/sym.h [new file with mode: 0644]
lib/libtle_glue/tcp.c [new file with mode: 0644]
lib/libtle_glue/tle_glue.h [new file with mode: 0644]
lib/libtle_glue/udp.c [new file with mode: 0644]
lib/libtle_glue/util.c [new file with mode: 0644]
lib/libtle_glue/util.h [new file with mode: 0644]
lib/libtle_glue/zerocopy.h [new file with mode: 0644]
lib/libtle_l4p/Makefile
lib/libtle_l4p/ctx.c
lib/libtle_l4p/ctx.h
lib/libtle_l4p/misc.h
lib/libtle_l4p/net_misc.h
lib/libtle_l4p/port_statmap.h [new file with mode: 0644]
lib/libtle_l4p/stream.h
lib/libtle_l4p/stream_table.c
lib/libtle_l4p/stream_table.h
lib/libtle_l4p/syncookie.h
lib/libtle_l4p/tcp_ctl.h
lib/libtle_l4p/tcp_misc.h
lib/libtle_l4p/tcp_ofo.c
lib/libtle_l4p/tcp_ofo.h
lib/libtle_l4p/tcp_rxq.h
lib/libtle_l4p/tcp_rxtx.c
lib/libtle_l4p/tcp_rxtx.h [new file with mode: 0644]
lib/libtle_l4p/tcp_stream.c
lib/libtle_l4p/tcp_stream.h
lib/libtle_l4p/tcp_timer.h
lib/libtle_l4p/tcp_tx_seg.h
lib/libtle_l4p/tcp_txq.h
lib/libtle_l4p/tle_ctx.h
lib/libtle_l4p/tle_event.h
lib/libtle_l4p/tle_stats.h [new file with mode: 0644]
lib/libtle_l4p/tle_tcp.h
lib/libtle_l4p/tle_udp.h
lib/libtle_l4p/udp_rxtx.c
lib/libtle_l4p/udp_stream.c
lib/libtle_l4p/udp_stream.h
lib/libtle_timer/timer.c
mk/tle.app.mk
mk/tle.lib.mk
test/Makefile
test/gtest/Makefile
test/gtest/test_tle_ctx.cpp
test/gtest/test_tle_tcp_stream.cpp
test/gtest/test_tle_tcp_stream.h
test/gtest/test_tle_udp_destroy.cpp
test/gtest/test_tle_udp_stream_gen.cpp
test/gtest/test_tle_udp_stream_gen.h
test/packetdrill/COPYING [new file with mode: 0644]
test/packetdrill/Makefile [new file with mode: 0644]
test/packetdrill/Makefile.FreeBSD [new file with mode: 0644]
test/packetdrill/Makefile.Linux [new file with mode: 0644]
test/packetdrill/Makefile.NetBSD [new file with mode: 0644]
test/packetdrill/Makefile.OpenBSD [new file with mode: 0644]
test/packetdrill/Makefile.common [new file with mode: 0644]
test/packetdrill/README [new file with mode: 0644]
test/packetdrill/assert.h [new file with mode: 0644]
test/packetdrill/capability.h [new file with mode: 0644]
test/packetdrill/checksum.c [new file with mode: 0644]
test/packetdrill/checksum.h [new file with mode: 0644]
test/packetdrill/checksum_test.c [new file with mode: 0644]
test/packetdrill/code.c [new file with mode: 0644]
test/packetdrill/code.h [new file with mode: 0644]
test/packetdrill/config.c [new file with mode: 0644]
test/packetdrill/config.h [new file with mode: 0644]
test/packetdrill/configure [new file with mode: 0755]
test/packetdrill/contrib/packetdrill.el [new file with mode: 0644]
test/packetdrill/contrib/packetdrill.vim [new file with mode: 0644]
test/packetdrill/epoll.c [new file with mode: 0644]
test/packetdrill/epoll.h [new file with mode: 0644]
test/packetdrill/ethernet.h [new file with mode: 0644]
test/packetdrill/fd_state.h [new file with mode: 0644]
test/packetdrill/file.c [new file with mode: 0644]
test/packetdrill/file.h [new file with mode: 0644]
test/packetdrill/fmemopen.c [new file with mode: 0644]
test/packetdrill/fmemopen.h [new file with mode: 0644]
test/packetdrill/gre.h [new file with mode: 0644]
test/packetdrill/gre_packet.c [new file with mode: 0644]
test/packetdrill/gre_packet.h [new file with mode: 0644]
test/packetdrill/hash.c [new file with mode: 0644]
test/packetdrill/hash.h [new file with mode: 0644]
test/packetdrill/hash_map.c [new file with mode: 0644]
test/packetdrill/hash_map.h [new file with mode: 0644]
test/packetdrill/header.h [new file with mode: 0644]
test/packetdrill/icmp.h [new file with mode: 0644]
test/packetdrill/icmp_packet.c [new file with mode: 0644]
test/packetdrill/icmp_packet.h [new file with mode: 0644]
test/packetdrill/icmpv6.h [new file with mode: 0644]
test/packetdrill/ip.h [new file with mode: 0644]
test/packetdrill/ip_address.c [new file with mode: 0644]
test/packetdrill/ip_address.h [new file with mode: 0644]
test/packetdrill/ip_packet.c [new file with mode: 0644]
test/packetdrill/ip_packet.h [new file with mode: 0644]
test/packetdrill/ip_prefix.c [new file with mode: 0644]
test/packetdrill/ip_prefix.h [new file with mode: 0644]
test/packetdrill/ipv6.h [new file with mode: 0644]
test/packetdrill/lexer.l [new file with mode: 0644]
test/packetdrill/link_layer.c [new file with mode: 0644]
test/packetdrill/link_layer.h [new file with mode: 0644]
test/packetdrill/logging.c [new file with mode: 0644]
test/packetdrill/logging.h [new file with mode: 0644]
test/packetdrill/mpls.h [new file with mode: 0644]
test/packetdrill/mpls_packet.c [new file with mode: 0644]
test/packetdrill/mpls_packet.h [new file with mode: 0644]
test/packetdrill/net_utils.c [new file with mode: 0644]
test/packetdrill/net_utils.h [new file with mode: 0644]
test/packetdrill/netdev.c [new file with mode: 0644]
test/packetdrill/netdev.h [new file with mode: 0644]
test/packetdrill/open_memstream.c [new file with mode: 0644]
test/packetdrill/open_memstream.h [new file with mode: 0644]
test/packetdrill/packet.c [new file with mode: 0644]
test/packetdrill/packet.h [new file with mode: 0644]
test/packetdrill/packet_checksum.c [new file with mode: 0644]
test/packetdrill/packet_checksum.h [new file with mode: 0644]
test/packetdrill/packet_parser.c [new file with mode: 0644]
test/packetdrill/packet_parser.h [new file with mode: 0644]
test/packetdrill/packet_parser_test.c [new file with mode: 0644]
test/packetdrill/packet_socket.h [new file with mode: 0644]
test/packetdrill/packet_socket_linux.c [new file with mode: 0644]
test/packetdrill/packet_socket_pcap.c [new file with mode: 0644]
test/packetdrill/packet_to_string.c [new file with mode: 0644]
test/packetdrill/packet_to_string.h [new file with mode: 0644]
test/packetdrill/packet_to_string_test.c [new file with mode: 0644]
test/packetdrill/packetdrill.c [new file with mode: 0644]
test/packetdrill/packetdrill.h [new file with mode: 0644]
test/packetdrill/parse.h [new file with mode: 0644]
test/packetdrill/parser.y [new file with mode: 0644]
test/packetdrill/pipe.c [new file with mode: 0644]
test/packetdrill/pipe.h [new file with mode: 0644]
test/packetdrill/platforms.h [new file with mode: 0644]
test/packetdrill/run.c [new file with mode: 0644]
test/packetdrill/run.h [new file with mode: 0644]
test/packetdrill/run_command.c [new file with mode: 0644]
test/packetdrill/run_command.h [new file with mode: 0644]
test/packetdrill/run_packet.c [new file with mode: 0644]
test/packetdrill/run_packet.h [new file with mode: 0644]
test/packetdrill/run_system_call.c [new file with mode: 0644]
test/packetdrill/run_system_call.h [new file with mode: 0644]
test/packetdrill/script.c [new file with mode: 0644]
test/packetdrill/script.h [new file with mode: 0644]
test/packetdrill/sctp.h [new file with mode: 0644]
test/packetdrill/so_testing.c [new file with mode: 0644]
test/packetdrill/so_testing.h [new file with mode: 0644]
test/packetdrill/socket.c [new file with mode: 0644]
test/packetdrill/socket.h [new file with mode: 0644]
test/packetdrill/symbols.h [new file with mode: 0644]
test/packetdrill/symbols_freebsd.c [new file with mode: 0644]
test/packetdrill/symbols_linux.c [new file with mode: 0644]
test/packetdrill/symbols_netbsd.c [new file with mode: 0644]
test/packetdrill/symbols_openbsd.c [new file with mode: 0644]
test/packetdrill/system.c [new file with mode: 0644]
test/packetdrill/system.h [new file with mode: 0644]
test/packetdrill/tcp.h [new file with mode: 0644]
test/packetdrill/tcp_options.c [new file with mode: 0644]
test/packetdrill/tcp_options.h [new file with mode: 0644]
test/packetdrill/tcp_options_iterator.c [new file with mode: 0644]
test/packetdrill/tcp_options_iterator.h [new file with mode: 0644]
test/packetdrill/tcp_options_to_string.c [new file with mode: 0644]
test/packetdrill/tcp_options_to_string.h [new file with mode: 0644]
test/packetdrill/tcp_packet.c [new file with mode: 0644]
test/packetdrill/tcp_packet.h [new file with mode: 0644]
test/packetdrill/tests/bsd/fast_retransmit/fr-4pkt-sack-bsd.pkt [new file with mode: 0644]
test/packetdrill/tests/linux/README [new file with mode: 0644]
test/packetdrill/tests/linux/blocking/blocking-accept.pkt [new file with mode: 0644]
test/packetdrill/tests/linux/blocking/blocking-read.pkt [new file with mode: 0644]
test/packetdrill/tests/linux/close/close-read-data-fin.pkt [new file with mode: 0644]
test/packetdrill/tests/linux/close/close-so-linger-onoff-1-linger-0-rst.pkt [new file with mode: 0644]
test/packetdrill/tests/linux/close/close-unread-data-rst.pkt [new file with mode: 0644]
test/packetdrill/tests/linux/connect/http-get-nonblocking-ts.pkt [new file with mode: 0644]
test/packetdrill/tests/linux/early_retransmit/er-delayed-2pkt-sack.pkt [new file with mode: 0644]
test/packetdrill/tests/linux/early_retransmit/er-delayed-3pkt-sack.pkt [new file with mode: 0644]
test/packetdrill/tests/linux/early_retransmit/er-delayed-filled-3pkt-sack.pkt [new file with mode: 0644]
test/packetdrill/tests/linux/early_retransmit/er-delayed-get-ack-3pkt-sack.pkt [new file with mode: 0644]
test/packetdrill/tests/linux/early_retransmit/er-quick-2pkt-sack.pkt [new file with mode: 0644]
test/packetdrill/tests/linux/early_retransmit/er-quick-3pkt-sack.pkt [new file with mode: 0644]
test/packetdrill/tests/linux/fast_recovery/prr-ss-ack-below-snd_una-reno.pkt [new file with mode: 0644]
test/packetdrill/tests/linux/fast_retransmit/fr-4pkt-sack-linux.pkt [new file with mode: 0644]
test/packetdrill/tests/linux/icmp/icmp-all-types.pkt [new file with mode: 0644]
test/packetdrill/tests/linux/inet_diag/inet-diag-ipv4-mapped-ipv6.pkt [new file with mode: 0644]
test/packetdrill/tests/linux/inet_diag/inet-diag-ipv4.pkt [new file with mode: 0644]
test/packetdrill/tests/linux/inet_diag/inet-diag-ipv6.pkt [new file with mode: 0644]
test/packetdrill/tests/linux/init_rto/init_rto_passive_open.pkt [new file with mode: 0644]
test/packetdrill/tests/linux/initial_window/iw10-base-case.pkt [new file with mode: 0755]
test/packetdrill/tests/linux/initial_window/iw10-short-response.pkt [new file with mode: 0755]
test/packetdrill/tests/linux/ioctl/ioctl-siocinq-fin.pkt [new file with mode: 0644]
test/packetdrill/tests/linux/listen/listen-incoming-ack.pkt [new file with mode: 0644]
test/packetdrill/tests/linux/listen/listen-incoming-no-tcp-flags.pkt [new file with mode: 0644]
test/packetdrill/tests/linux/listen/listen-incoming-rst.pkt [new file with mode: 0644]
test/packetdrill/tests/linux/listen/listen-incoming-syn-ack.pkt [new file with mode: 0644]
test/packetdrill/tests/linux/listen/listen-incoming-syn-rst.pkt [new file with mode: 0644]
test/packetdrill/tests/linux/listen/listen-unbound.pkt [new file with mode: 0644]
test/packetdrill/tests/linux/mss/mss-getsockopt-tcp_maxseg-client-ts.pkt [new file with mode: 0644]
test/packetdrill/tests/linux/mss/mss-getsockopt-tcp_maxseg-client.pkt [new file with mode: 0644]
test/packetdrill/tests/linux/mss/mss-getsockopt-tcp_maxseg-server-advmss-ipv4.pkt [new file with mode: 0644]
test/packetdrill/tests/linux/mss/mss-getsockopt-tcp_maxseg-server-advmss-ts-ipv4.pkt [new file with mode: 0644]
test/packetdrill/tests/linux/mss/mss-getsockopt-tcp_maxseg-server-ts.pkt [new file with mode: 0644]
test/packetdrill/tests/linux/mss/mss-getsockopt-tcp_maxseg-server.pkt [new file with mode: 0644]
test/packetdrill/tests/linux/mss/mss-setsockopt-tcp_maxseg-client.pkt [new file with mode: 0644]
test/packetdrill/tests/linux/mss/mss-setsockopt-tcp_maxseg-server.pkt [new file with mode: 0644]
test/packetdrill/tests/linux/pmtu_discovery/pmtud-10pkt-1460-to-1160.pkt [new file with mode: 0644]
test/packetdrill/tests/linux/pmtu_discovery/pmtud-1pkt-1460-to-1160.pkt [new file with mode: 0644]
test/packetdrill/tests/linux/receiver_rtt/rcv-rtt-with-timestamps-new.pkt [new file with mode: 0644]
test/packetdrill/tests/linux/receiver_rtt/rcv-rtt-without-timestamps-new.pkt [new file with mode: 0644]
test/packetdrill/tests/linux/run_tests.sh [new file with mode: 0755]
test/packetdrill/tests/linux/sack/sack-shift-sacked-1-2-3-fack.pkt [new file with mode: 0644]
test/packetdrill/tests/linux/sack/sack-shift-sacked-1-2:6-fack.pkt [new file with mode: 0644]
test/packetdrill/tests/linux/shutdown/shutdown-rd-close.pkt [new file with mode: 0644]
test/packetdrill/tests/linux/shutdown/shutdown-rd-wr-close.pkt [new file with mode: 0644]
test/packetdrill/tests/linux/shutdown/shutdown-rdwr-close.pkt [new file with mode: 0644]
test/packetdrill/tests/linux/shutdown/shutdown-wr-close.pkt [new file with mode: 0644]
test/packetdrill/tests/linux/undo/undo-fr-ack-then-dsack-on-ack-below-snd_una.pkt [new file with mode: 0644]
test/packetdrill/tests/linux/undo/undo-fr-acks-dropped-then-dsack.pkt [new file with mode: 0644]
test/packetdrill/tests/tldk/delay_ack/delay-ack-tldk.pkt [new file with mode: 0644]
test/packetdrill/tests/tldk/fast_retransmit/fr-4pkt-tldk.pkt [new file with mode: 0644]
test/packetdrill/tests/tldk/keep_alive/keep-alive-after-accept-tldk.pkt [new file with mode: 0644]
test/packetdrill/tests/tldk/keep_alive/keep-alive-before-connect-tldk.pkt [new file with mode: 0644]
test/packetdrill/tests/tldk/keep_alive/keep-alive-enable-disable-tldk.pkt [new file with mode: 0644]
test/packetdrill/tests/tldk/out_of_order/ofo-simple-3pkt-tldk.pkt [new file with mode: 0644]
test/packetdrill/tests/tldk/tso/tso-segment-split.pkt [new file with mode: 0644]
test/packetdrill/tun.h [new file with mode: 0644]
test/packetdrill/types.c [new file with mode: 0644]
test/packetdrill/types.h [new file with mode: 0644]
test/packetdrill/uapi_linux.h [new file with mode: 0644]
test/packetdrill/udp.h [new file with mode: 0644]
test/packetdrill/udp_packet.c [new file with mode: 0644]
test/packetdrill/udp_packet.h [new file with mode: 0644]
test/packetdrill/unaligned.h [new file with mode: 0644]
test/packetdrill/wire_client.c [new file with mode: 0644]
test/packetdrill/wire_client.h [new file with mode: 0644]
test/packetdrill/wire_client_netdev.c [new file with mode: 0644]
test/packetdrill/wire_client_netdev.h [new file with mode: 0644]
test/packetdrill/wire_conn.c [new file with mode: 0644]
test/packetdrill/wire_conn.h [new file with mode: 0644]
test/packetdrill/wire_protocol.c [new file with mode: 0644]
test/packetdrill/wire_protocol.h [new file with mode: 0644]
test/packetdrill/wire_server.c [new file with mode: 0644]
test/packetdrill/wire_server.h [new file with mode: 0644]
test/packetdrill/wire_server_netdev.c [new file with mode: 0644]
test/packetdrill/wire_server_netdev.h [new file with mode: 0644]
test/packetdrill/wrap.c [new file with mode: 0644]
test/packetdrill/wrap.h [new file with mode: 0644]