Commit Graph

  • 509e4e2768 net: add packet move assignment operator Avi Kivity 2014-09-10 10:42:05 +03:00
  • c443c2852e core: add escape accessors from socket_address to posix types Avi Kivity 2014-09-10 10:41:23 +03:00
  • 96563bbf5b core: abstract reactor::listen() as a virtual networking_stack method Avi Kivity 2014-09-09 13:10:03 +03:00
  • 1385a5278e core: get rid of embarassing while () loop in future_state::get() Avi Kivity 2014-09-09 12:37:13 +03:00
  • b3b5e1964f core: switch output_stream to use data_sink instead of pollable_fd Avi Kivity 2014-09-09 11:39:39 +03:00
  • 7acbae1e5a core: implement data_sink for posix sockets Avi Kivity 2014-09-09 11:38:58 +03:00
  • cdf11e69f9 core: add data_sink abstraction Avi Kivity 2014-09-09 11:37:34 +03:00
  • 6565909722 s/bsd/posix/ Avi Kivity 2014-09-09 09:18:39 +03:00
  • d71ac705a6 core: reactor::run(): cosmetic rearrangement Avi Kivity 2014-09-08 21:39:52 +03:00
  • 014657eaff core: switch input_stream to use data_source Avi Kivity 2014-09-08 21:31:43 +03:00
  • f9084a2085 core: add a few helpers to temporary_buffer Avi Kivity 2014-09-08 21:31:11 +03:00
  • 2847a1de65 core: add data_source abstraction Avi Kivity 2014-09-08 21:29:08 +03:00
  • e5e59dc7c2 temporary_buffer: support for sharing Avi Kivity 2014-09-08 21:24:30 +03:00
  • 6f86186e6d eclipse: support for lvalue references Avi Kivity 2014-09-08 21:22:51 +03:00
  • c14daba9e6 core: exit program by breaking the loop rather than exit() Avi Kivity 2014-09-08 21:21:00 +03:00
  • d06508927e core: add a share() helper for deleter class Avi Kivity 2014-09-08 21:20:25 +03:00
  • 2cc4728325 core: fix shared_ptr memory leak Avi Kivity 2014-09-08 21:20:00 +03:00
  • be5e75b6a6 core: disable shared_ptr assignments (until implemented) Avi Kivity 2014-09-08 21:19:36 +03:00
  • 12aba7e9cb core: fix promise move assignment Avi Kivity 2014-09-08 21:00:09 +03:00
  • b725fa8ecc core: support signals Avi Kivity 2014-09-08 15:24:49 +03:00
  • a4beb74fa5 posix: add signalfd wrappers Avi Kivity 2014-09-08 15:23:59 +03:00
  • a4b1716d69 core: join non-async worker thread on termination Avi Kivity 2014-09-08 15:20:10 +03:00
  • 147046adea Fix copyrights Avi Kivity 2014-09-04 18:39:25 +03:00
  • effca50ae0 core: fix temporary_buffer<> assigned to itself Avi Kivity 2014-09-04 15:33:28 +03:00
  • 78154f4606 Switch temporary_buffer<> to use deleter for cleanup Avi Kivity 2014-09-04 15:29:05 +03:00
  • 6092ac617b build: use linker flags only when linking Avi Kivity 2014-09-04 15:19:13 +03:00
  • b91389b1d5 core: extract packet::deleter into a core class Avi Kivity 2014-09-04 13:28:51 +03:00
  • ce7d8c5835 reactor.hh: remove dead code Avi Kivity 2014-09-04 12:32:33 +03:00
  • 3b0a9d89d9 core: abstract connected sockets Avi Kivity 2014-09-04 12:31:02 +03:00
  • 6c1aabd7e1 core: abstrace reactor::listen() Avi Kivity 2014-09-04 11:45:37 +03:00
  • 065de692db core: rename input_stream_buffer and output_stream_buffer Avi Kivity 2014-09-04 11:24:08 +03:00
  • 6f22345cf0 Add eclipse.hh to hide Eclipse CDT parsing errors Avi Kivity 2014-09-04 10:42:01 +03:00
  • 300abc77d8 core: split future/promise into a new header file Avi Kivity 2014-09-04 10:37:59 +03:00
  • 03c532eb03 net: tcp: only emit packet when needed Avi Kivity 2014-09-04 09:21:18 +03:00
  • 21d79c6a57 net: tcp: transmit data in outgoing packets Avi Kivity 2014-09-04 09:20:44 +03:00
  • 6e37ef5a6c net: tcp: advance sequence number after our SYN is acked Avi Kivity 2014-09-04 09:15:37 +03:00
  • e16ccd5fc5 net: tcp: keep track of whether our SYN was sent Avi Kivity 2014-09-04 09:16:30 +03:00
  • f81450c1de net: add iostream support to tcp_seq Avi Kivity 2014-09-04 09:14:02 +03:00
  • 8c5ce8c63f net: add iostream support to packed<> Avi Kivity 2014-09-04 09:13:42 +03:00
  • 6a53e41053 net: packet sharing support Avi Kivity 2014-09-03 16:22:58 +03:00
  • e659c7fafc Add specializations to make_shared Avi Kivity 2014-09-03 16:22:27 +03:00
  • 7739e5a85e net: tcp: handle trivial case of merge_out_of_order() Avi Kivity 2014-09-03 11:59:46 +03:00
  • 99e0d27b7c net: tcp: do not add empty packet to receive queue Avi Kivity 2014-09-03 11:59:26 +03:00
  • 1bf1212306 net: tcp: insert newly created tcb into hash table Avi Kivity 2014-09-03 11:59:05 +03:00
  • f8132a8180 net: tcp: change receive() interface Avi Kivity 2014-09-03 11:57:44 +03:00
  • d74b732396 net: tcp: set up initial receive window Avi Kivity 2014-09-03 11:56:42 +03:00
  • ee3c7a0c1d net: add packet::append(packet&&) Avi Kivity 2014-09-03 11:55:07 +03:00
  • 144da7d568 core: be more friendly to debuggers Avi Kivity 2014-09-03 11:42:49 +03:00
  • c70ab64e1a net: tcp: rename tcb::received() to tcb::input() Avi Kivity 2014-09-03 10:30:25 +03:00
  • 3d6a7bfdc6 net: tcp: drop non-SYN packets that do not map to an existing tcb Avi Kivity 2014-09-03 09:58:32 +03:00
  • 47a473b3f2 net: split tcp processing into input and output Avi Kivity 2014-09-03 09:57:41 +03:00
  • b65e054604 net: optimize prepending headers to empty packets Avi Kivity 2014-09-03 09:56:56 +03:00
  • 602eaeded7 net: fix printing ethernet addresses Avi Kivity 2014-09-02 23:32:15 +03:00
  • 1fbe325f63 net: add a helper to allocate a header in an existing packet Avi Kivity 2014-09-02 23:29:43 +03:00
  • 32a1001ddf tests: add tcp test Avi Kivity 2014-09-02 20:40:29 +03:00
  • 1396459085 net: integrate tcp into ipv4 Avi Kivity 2014-09-02 20:39:12 +03:00
  • a5812f2495 net: tcp Avi Kivity 2014-09-02 20:35:49 +03:00
  • 673dd21c8b net: fix ip tx Avi Kivity 2014-09-02 20:34:19 +03:00
  • c6412f23fc net: fix ip netmask checks Avi Kivity 2014-09-02 20:33:49 +03:00
  • 9a731c9a56 net: make packed<> friendly to ntoh()/hton() Avi Kivity 2014-09-02 20:33:13 +03:00
  • 577ac850c8 inet: move ip_checksum into a separate header Avi Kivity 2014-09-02 20:32:03 +03:00
  • 48f570f57c core: add shared_ptr<> smart pointer Avi Kivity 2014-09-02 19:08:52 +03:00
  • 7473b13275 net: fix packet::trim_front() when trimming entire packet Avi Kivity 2014-09-02 18:24:34 +03:00
  • 0a45d4d73b net: implement IPv4 L3->l4 dispatching Avi Kivity 2014-09-01 15:19:17 +03:00
  • 93f1af6f33 core: add array_map<> Avi Kivity 2014-09-01 15:18:13 +03:00
  • b2b24031e9 net: generalize IP checksummer Avi Kivity 2014-09-01 15:17:27 +03:00
  • 001616f7e4 arp: fix build error Avi Kivity 2014-09-01 15:16:53 +03:00
  • 2aa3d0a755 tests: add timer test Avi Kivity 2014-09-01 12:57:55 +03:00
  • b397ac699a core: implement timers Avi Kivity 2014-09-01 12:56:57 +03:00
  • e1f14eded4 posix: timerfd support Avi Kivity 2014-09-01 12:50:37 +03:00
  • 1b6892abf8 core: switch read_some() to use read(), not recv() Avi Kivity 2014-09-01 11:57:07 +03:00
  • 32f8a84949 core: add reactor::start() to obtain an initial future<> Avi Kivity 2014-09-01 11:55:07 +03:00
  • 105015b552 Import timer wheel code from OSv Avi Kivity 2014-09-01 08:43:11 +03:00
  • 0fbda7c1ec Fix IP checksum for off lengths Avi Kivity 2014-08-31 23:37:34 +03:00
  • 3a75cf1d55 virtio: clear entire virtio net header Avi Kivity 2014-08-31 22:43:03 +03:00
  • c77f77ee3f build: organize files into a directory structure Avi Kivity 2014-08-31 21:25:27 +03:00
  • fc5ad77fc8 build: support subdirectories Avi Kivity 2014-08-31 20:57:08 +03:00
  • 99ed043a41 net: add ipv4 test Avi Kivity 2014-08-31 20:38:59 +03:00
  • ad312f9889 net: add IPv4 support Avi Kivity 2014-08-31 20:38:06 +03:00
  • 370a46462c net: add arp support Avi Kivity 2014-08-31 20:36:06 +03:00
  • 7844b18f75 net: don't include ip.hh Avi Kivity 2014-08-31 20:34:46 +03:00
  • 50bcea8b5c ethernet: add ethernet class Avi Kivity 2014-08-31 20:33:22 +03:00
  • 9812b44c62 net: add missing interface:: and l3_protocol:: send() functions Avi Kivity 2014-08-31 20:32:08 +03:00
  • ea7d91ac2c net: teach an interface/device about hardware addresses Avi Kivity 2014-08-31 20:30:48 +03:00
  • ac4f9a65b5 Add an ipv4_address type Avi Kivity 2014-08-31 20:26:59 +03:00
  • d7eb75e0ec Add print helper for ethernet_address Avi Kivity 2014-08-31 20:22:15 +03:00
  • ae87a8f689 Make ethernet_address its own type Avi Kivity 2014-08-31 20:20:29 +03:00
  • 9e16c5ab62 Add print() helper Avi Kivity 2014-08-31 20:18:09 +03:00
  • ee8558283d Split ethernet support to new file ethernet.hh Avi Kivity 2014-08-31 13:37:21 +03:00
  • 93804c2b25 Split byte-order support to new file byteorder.hh Avi Kivity 2014-08-31 13:34:08 +03:00
  • 3aec580cbe Add L3 test Avi Kivity 2014-08-31 13:29:54 +03:00
  • 4baf051763 net: add support for dispatching packets to L3 protocol handlers Avi Kivity 2014-08-31 13:29:14 +03:00
  • 607b3af7e6 net: add more helpers for playing with packets Avi Kivity 2014-08-31 13:26:11 +03:00
  • 28d50bbc7a net: define a type for ethernet_address Avi Kivity 2014-08-31 13:23:10 +03:00
  • 9f5c0dbf59 ip: improve endianness adjustment Avi Kivity 2014-08-28 21:30:33 +03:00
  • 00b462ef67 ip: fix checksum for odd-sized packets Avi Kivity 2014-08-28 20:40:48 +03:00
  • 71bef72332 virtio: correctly prepend net_hdr before transmitting packet Avi Kivity 2014-08-28 20:02:28 +03:00
  • b89787eeda virtio: fix multi-buffer request Avi Kivity 2014-08-28 20:01:04 +03:00
  • 859c99971c virtio: introduce net_hdr structure Avi Kivity 2014-08-28 18:34:29 +03:00
  • 82489025a1 net: don't forget to copy data when prepending a fragment to a packet Avi Kivity 2014-08-28 20:00:35 +03:00