swifty.git
11 years agoUse Linux-like indentation in mptp.c master
Paul Vlase [Mon, 18 Mar 2013 14:34:34 +0000 (16:34 +0200)]
Use Linux-like indentation in mptp.c

11 years agoUse Linux-like indentation in mptp.h
Paul Vlase [Mon, 18 Mar 2013 14:27:42 +0000 (16:27 +0200)]
Use Linux-like indentation in mptp.h

11 years agoUse proper initialization for IP addresses in server and client tests
Paul Vlase [Mon, 18 Mar 2013 14:26:25 +0000 (16:26 +0200)]
Use proper initialization for IP addresses in server and client tests

11 years agoAdd TODO file
Paul Vlase [Mon, 18 Mar 2013 14:25:42 +0000 (16:25 +0200)]
Add TODO file

11 years agoIgnore kernel module output files
Paul Vlase [Mon, 18 Mar 2013 14:23:02 +0000 (16:23 +0200)]
Ignore kernel module output files

11 years agoIgnore test executables
Paul Vlase [Mon, 18 Mar 2013 14:16:24 +0000 (16:16 +0200)]
Ignore test executables

11 years agoMake swift over UDP compilable.
Adrian Bondrescu [Sun, 19 Aug 2012 18:45:32 +0000 (21:45 +0300)]
Make swift over UDP compilable.

11 years agoAdd files for swift over UDP.
Adrian Bondrescu [Sun, 19 Aug 2012 18:40:53 +0000 (21:40 +0300)]
Add files for swift over UDP.

11 years agoAdd counters for MPTP buffers and syscalls.
Adrian Bondrescu [Sun, 19 Aug 2012 18:13:42 +0000 (21:13 +0300)]
Add counters for MPTP buffers and syscalls.

11 years agoFix multiple sends for swift.
Adrian Bondrescu [Sun, 12 Aug 2012 10:48:25 +0000 (13:48 +0300)]
Fix multiple sends for swift.

11 years agoMultiple sends in one system call for swift.
Adrian Bondrescu [Mon, 6 Aug 2012 20:36:30 +0000 (23:36 +0300)]
Multiple sends in one system call for swift.

11 years agoFirst step for using multiple recvs from mptp.
Adrian Bondrescu [Sun, 15 Jul 2012 11:47:00 +0000 (14:47 +0300)]
First step for using multiple recvs from mptp.

11 years agoSet the bytes value in the mptp_dest structure when sending message.
Adrian Bondrescu [Sun, 15 Jul 2012 11:44:54 +0000 (14:44 +0300)]
Set the bytes value in the mptp_dest structure when sending message.

11 years agoRemove debug prints from the RecvFrom function.
Adrian Bondrescu [Fri, 1 Jun 2012 02:32:37 +0000 (05:32 +0300)]
Remove debug prints from the RecvFrom function.

11 years agoWe were performing one extra skb_recv_datagram in mptp_recvmsg.
Adrian Bondrescu [Fri, 1 Jun 2012 02:30:31 +0000 (05:30 +0300)]
We were performing one extra skb_recv_datagram in mptp_recvmsg.

11 years agoFix endianess error introduced earlier in RecvDatagram.
Adrian Bondrescu [Fri, 1 Jun 2012 02:24:41 +0000 (05:24 +0300)]
Fix endianess error introduced earlier in RecvDatagram.

11 years agoTentative fix for the RecvFrom function.
Adrian Bondrescu [Fri, 1 Jun 2012 02:11:42 +0000 (05:11 +0300)]
Tentative fix for the RecvFrom function.

11 years agoAdd the bytes field in the mptp_dest structure.
Adrian Bondrescu [Fri, 1 Jun 2012 02:10:11 +0000 (05:10 +0300)]
Add the bytes field in the mptp_dest structure.

11 years agoSmall fixes in the mptp_recvmsg function.
Adrian Bondrescu [Sun, 8 Jul 2012 19:57:28 +0000 (22:57 +0300)]
Small fixes in the mptp_recvmsg function.

11 years agoFix stats incrementation in RecvFrom and use the right address in RecvDatagram.
Adrian Bondrescu [Fri, 1 Jun 2012 01:37:38 +0000 (04:37 +0300)]
Fix stats incrementation in RecvFrom and use the right address in RecvDatagram.

11 years agoForgot this file in the last check-in.
Adrian Bondrescu [Fri, 1 Jun 2012 01:12:17 +0000 (04:12 +0300)]
Forgot this file in the last check-in.

11 years agoImplement receiving from multiple sources using a single system call.
Adrian Bondrescu [Fri, 1 Jun 2012 01:11:24 +0000 (04:11 +0300)]
Implement receiving from multiple sources using a single system call.

11 years agoIf port 0 is provided for binding, bind the socket to the next free port from the...
Adrian Bondrescu [Sun, 8 Jul 2012 18:04:00 +0000 (21:04 +0300)]
If port 0 is provided for binding, bind the socket to the next free port from the pool.

11 years agoImplement the copy constructor for the Address structure.
Adrian Bondrescu [Thu, 31 May 2012 23:36:57 +0000 (02:36 +0300)]
Implement the copy constructor for the Address structure.

11 years agoOverride the assignment operator for the Address class.
Adrian Bondrescu [Thu, 31 May 2012 23:31:31 +0000 (02:31 +0300)]
Override the assignment operator for the Address class.

11 years agoRemove unwanted files from repository.
Adrian Bondrescu [Sun, 24 Jun 2012 12:22:16 +0000 (15:22 +0300)]
Remove unwanted files from repository.

11 years agoFix the swift unit test. They are now working over MPTP.
Adrian Bondrescu [Sun, 24 Jun 2012 12:20:19 +0000 (15:20 +0300)]
Fix the swift unit test. They are now working over MPTP.

11 years agoAddapt client and server to the 16bit port. Use htons before sending them to kernel.
Adrian Bondrescu [Sun, 24 Jun 2012 12:18:25 +0000 (15:18 +0300)]
Addapt client and server to the 16bit port. Use htons before sending them to kernel.

11 years agoMove MPTP ports to 16bit. Until now they were on 8bit.
Adrian Bondrescu [Sun, 24 Jun 2012 12:15:45 +0000 (15:15 +0300)]
Move MPTP ports to 16bit. Until now they were on 8bit.

11 years agoMake libswift compilable after moving to MPTP sockets.
Adrian Bondrescu [Sun, 24 Jun 2012 09:17:34 +0000 (12:17 +0300)]
Make libswift compilable after moving to MPTP sockets.

11 years agoMake the tests compilable after the latest API changes.
Adrian Bondrescu [Sun, 24 Jun 2012 08:38:18 +0000 (11:38 +0300)]
Make the tests compilable after the latest API changes.

11 years agoRename swift.* files to mptp.*
Adrian Bondrescu [Sun, 24 Jun 2012 08:32:48 +0000 (11:32 +0300)]
Rename swift.* files to mptp.*

11 years agoReplace swift with mptp everywhere in the kernel module.
Adrian Bondrescu [Sun, 24 Jun 2012 08:30:14 +0000 (11:30 +0300)]
Replace swift with mptp everywhere in the kernel module.

11 years agoMake one error message more verbose.
Adrian Bondrescu [Sun, 24 Jun 2012 08:23:42 +0000 (11:23 +0300)]
Make one error message more verbose.

11 years agoAdd the source files for the swift library.
Adrian Bondrescu [Sun, 24 Jun 2012 08:18:52 +0000 (11:18 +0300)]
Add the source files for the swift library.

11 years agoAdd client and server for MPTP measurements.
Adrian Bondrescu [Thu, 31 May 2012 21:38:15 +0000 (00:38 +0300)]
Add client and server for MPTP measurements.

11 years agoThe UDP client is now working and it measures the time needed for sending 10k datagrams.
Adrian Bondrescu [Thu, 31 May 2012 21:29:12 +0000 (00:29 +0300)]
The UDP client is now working and it measures the time needed for sending 10k datagrams.

11 years agoThe UDP server now works as expected.
Adrian Bondrescu [Thu, 31 May 2012 21:28:19 +0000 (00:28 +0300)]
The UDP server now works as expected.

11 years agoAdd client/server over UDP for testing purposes.
Adrian Bondrescu [Thu, 31 May 2012 20:50:56 +0000 (23:50 +0300)]
Add client/server over UDP for testing purposes.

11 years agoImplement receiving from multiple sources. Also modify the tests for this.
Adrian Bondrescu [Sun, 27 May 2012 11:03:20 +0000 (14:03 +0300)]
Implement receiving from multiple sources. Also modify the tests for this.

11 years agoIncrease the RX buffer size for the SWIFT socket to 10MB. Move an skb_put outside...
Adrian Bondrescu [Sun, 20 May 2012 18:02:13 +0000 (21:02 +0300)]
Increase the RX buffer size for the SWIFT socket to 10MB. Move an skb_put outside of log_debug call (when log_debug did nothing, the skb_put was not being performed).

11 years agoSet the local_df flag to 1, in order to perform fragmentation. Also print the error...
Adrian Bondrescu [Sun, 20 May 2012 17:33:32 +0000 (20:33 +0300)]
Set the local_df flag to 1, in order to perform fragmentation. Also print the error code when ip_queue_rcv_skb fails.

11 years agoMerge branch 'master' of http://p2p-next.cs.pub.ro/git/p2p-next/swifty
Adrian Bondrescu [Sun, 20 May 2012 16:51:51 +0000 (19:51 +0300)]
Merge branch 'master' of p2p-next.cs.pub.ro/git/p2p-next/swifty

11 years agoChange the default log level to error in the kernel module.
Adrian Bondrescu [Sun, 20 May 2012 16:51:18 +0000 (19:51 +0300)]
Change the default log level to error in the kernel module.

11 years agoA few minor changes to server files.
root (spook.local) [Sun, 20 May 2012 16:40:08 +0000 (19:40 +0300)]
A few minor changes to server files.

11 years agoAdd client and server for transmitting large files.
Adrian Bondrescu [Sun, 20 May 2012 16:36:40 +0000 (19:36 +0300)]
Add client and server for transmitting large files.

11 years agoAdd option for a different destination address in the client.
Adrian Bondrescu [Sun, 20 May 2012 16:36:02 +0000 (19:36 +0300)]
Add option for a different destination address in the client.

11 years agoUse the eth0 address instead of loopback address in tests.
Adrian Bondrescu [Sun, 20 May 2012 15:23:15 +0000 (18:23 +0300)]
Use the eth0 address instead of loopback address in tests.

11 years agoImplement one to manny transmission. Also modify the test files.
Adrian Bondrescu [Thu, 10 May 2012 20:10:38 +0000 (23:10 +0300)]
Implement one to manny transmission. Also modify the test files.

11 years agoAdd support for multiple IP/port pairs in swift_sockaddr. Also add the user space...
Adrian Bondrescu [Thu, 10 May 2012 19:36:10 +0000 (22:36 +0300)]
Add support for multiple IP/port pairs in swift_sockaddr. Also add the user space tests for testing this support.

12 years agoUpdate .gitignore in doc
Razvan Deaconescu [Wed, 14 Sep 2011 07:06:28 +0000 (10:06 +0300)]
Update .gitignore in doc

12 years agoresearch2: add raw sockets part + abstract
Oana Baron [Thu, 9 Jun 2011 16:58:16 +0000 (19:58 +0300)]
research2: add raw sockets part + abstract

12 years agoresearch2: architecture - send/recv datagram
Oana Baron [Wed, 8 Jun 2011 20:40:16 +0000 (23:40 +0300)]
research2: architecture - send/recv datagram

12 years agoresearch2 : architecture update
Oana Baron [Wed, 8 Jun 2011 19:44:25 +0000 (22:44 +0300)]
research2 : architecture update

12 years agoresearch2: Draft architecture + figures
Oana Baron [Wed, 8 Jun 2011 07:17:23 +0000 (10:17 +0300)]
research2: Draft architecture + figures

12 years agoUpdate research2: finish intro
Oana Baron [Tue, 7 Jun 2011 18:30:20 +0000 (21:30 +0300)]
Update research2: finish intro

12 years agoAdd research2 draft
Oana Baron [Mon, 6 Jun 2011 20:58:21 +0000 (23:58 +0300)]
Add research2 draft

12 years agoAdd research1 docs
Oana Baron [Mon, 6 Jun 2011 17:29:54 +0000 (20:29 +0300)]
Add research1 docs

12 years agotests added
Cornel Mercan [Mon, 6 Jun 2011 16:54:20 +0000 (09:54 -0700)]
tests added

12 years agoswifty/doc: Add Makefile for converting files in PDF format.
Razvan Deaconescu [Mon, 6 Jun 2011 07:32:41 +0000 (10:32 +0300)]
swifty/doc: Add Makefile for converting files in PDF format.

12 years agoswifty/doc: Ignore PDF and EPS files.
Razvan Deaconescu [Mon, 6 Jun 2011 07:32:18 +0000 (10:32 +0300)]
swifty/doc: Ignore PDF and EPS files.

12 years agoswifty/doc: Add new architecture diagram.
Razvan Deaconescu [Mon, 6 Jun 2011 07:32:08 +0000 (10:32 +0300)]
swifty/doc: Add new architecture diagram.

12 years agoFix compilation for kernel versions older than 2.6.36
Adrian Bondrescu [Sun, 5 Jun 2011 13:00:39 +0000 (16:00 +0300)]
Fix compilation for kernel versions older than 2.6.36

12 years agoraw: Update TODO file.
Razvan Deaconescu [Sat, 4 Jun 2011 17:54:59 +0000 (20:54 +0300)]
raw: Update TODO file.

12 years agoraw: Update socket_manager symlink for array-based implementation.
Razvan Deaconescu [Sat, 4 Jun 2011 17:46:53 +0000 (20:46 +0300)]
raw: Update socket_manager symlink for array-based implementation.

12 years agoraw: Add array-based socket management source code.
Razvan Deaconescu [Sat, 4 Jun 2011 17:46:30 +0000 (20:46 +0300)]
raw: Add array-based socket management source code.

12 years agoraw: Add socket_manager.c symlink.
Razvan Deaconescu [Sat, 4 Jun 2011 17:22:58 +0000 (20:22 +0300)]
raw: Add socket_manager.c symlink.

Symlink points to either list-based implementation or array-based
implementation as desired.

12 years agoraw: Remove old list-based socket management header.
Razvan Deaconescu [Sat, 4 Jun 2011 17:18:38 +0000 (20:18 +0300)]
raw: Remove old list-based socket management header.

12 years agoraw: Rename old list-based socket management source code.
Razvan Deaconescu [Sat, 4 Jun 2011 17:16:06 +0000 (20:16 +0300)]
raw: Rename old list-based socket management source code.

12 years agoraw: Update list-based socket management functions.
Razvan Deaconescu [Sat, 4 Jun 2011 17:12:39 +0000 (20:12 +0300)]
raw: Update list-based socket management functions.

12 years agoraw: Add socket_manager.h.
Razvan Deaconescu [Sat, 4 Jun 2011 16:03:21 +0000 (19:03 +0300)]
raw: Add socket_manager.h.

Wrapper for socket management functions. We are aming for two
implementations: list-based and array-based.

12 years agoraw: Replace header comment in swift_list.c.
Razvan Deaconescu [Sat, 4 Jun 2011 10:50:30 +0000 (13:50 +0300)]
raw: Replace header comment in swift_list.c.

12 years agoraw: Fill sin_family member of sw_sockaddr structure.
Razvan Deaconescu [Sat, 4 Jun 2011 10:50:08 +0000 (13:50 +0300)]
raw: Fill sin_family member of sw_sockaddr structure.

12 years agoraw: Use TABs instead of space in swift_list.c
Razvan Deaconescu [Sat, 4 Jun 2011 10:35:08 +0000 (13:35 +0300)]
raw: Use TABs instead of space in swift_list.c

12 years agoraw: Remove TODO for socket binding in sw_close test.
Razvan Deaconescu [Sat, 4 Jun 2011 10:30:31 +0000 (13:30 +0300)]
raw: Remove TODO for socket binding in sw_close test.

12 years agoraw: Add usage function to simple test.
Razvan Deaconescu [Sat, 4 Jun 2011 10:26:25 +0000 (13:26 +0300)]
raw: Add usage function to simple test.

12 years agoThe port is now uint8_t
Adrian Bondrescu [Sat, 4 Jun 2011 13:09:24 +0000 (16:09 +0300)]
The port is now uint8_t

12 years agoAdded likely/unlikely logic
Adrian Bondrescu [Sat, 4 Jun 2011 12:44:50 +0000 (15:44 +0300)]
Added likely/unlikely logic

12 years agoImproved logging mechanism
Adrian Bondrescu [Sat, 4 Jun 2011 12:29:23 +0000 (15:29 +0300)]
Improved logging mechanism

12 years agoImplemented swift_connect function
Cornel Mercan [Sat, 4 Jun 2011 11:34:43 +0000 (04:34 -0700)]
Implemented swift_connect function

12 years agoraw: Use inet_ntop/inet_ntop for IP address conversions.
Razvan Deaconescu [Sat, 4 Jun 2011 09:47:14 +0000 (12:47 +0300)]
raw: Use inet_ntop/inet_ntop for IP address conversions.

12 years agoProper header inclusion.
Razvan Deaconescu [Sat, 4 Jun 2011 09:36:47 +0000 (12:36 +0300)]
Proper header inclusion.

Replace #include "include/xxx.h" with #include "xxx.h" and update
Makefile accordingly.

12 years agoFill tests for bind.
Razvan Deaconescu [Sat, 4 Jun 2011 09:28:41 +0000 (12:28 +0300)]
Fill tests for bind.

12 years agoMark socket as bound in list_update_socket_address.
Razvan Deaconescu [Sat, 4 Jun 2011 09:28:25 +0000 (12:28 +0300)]
Mark socket as bound in list_update_socket_address.

12 years agoBeautification updates to swift_raw.c.
Razvan Deaconescu [Sat, 4 Jun 2011 09:27:36 +0000 (12:27 +0300)]
Beautification updates to swift_raw.c.

12 years agoFix transformation between string address to network address
Bogdan Drutu [Sat, 4 Jun 2011 09:38:06 +0000 (12:38 +0300)]
Fix transformation between string address to network address

12 years agoFix sendTo test
Bogdan Drutu [Sat, 4 Jun 2011 08:58:49 +0000 (11:58 +0300)]
Fix sendTo test

12 years agoAdd draft tests for sendmsg/recvmsg
Bogdan Drutu [Sat, 4 Jun 2011 08:58:25 +0000 (11:58 +0300)]
Add draft tests for sendmsg/recvmsg

12 years agoAdd 3 tests for recvfrom
Bogdan Drutu [Sat, 4 Jun 2011 08:57:42 +0000 (11:57 +0300)]
Add 3 tests for recvfrom

12 years agoFix invalid socket and file descriptor is not a socket test
Bogdan Drutu [Sat, 4 Jun 2011 08:31:53 +0000 (11:31 +0300)]
Fix invalid socket and file descriptor is not a socket test

12 years agoAdd sendTo tests
Bogdan Drutu [Sat, 4 Jun 2011 08:31:05 +0000 (11:31 +0300)]
Add sendTo tests

12 years agoAdd initial content to global README file.
Razvan Deaconescu [Sat, 4 Jun 2011 07:34:58 +0000 (10:34 +0300)]
Add initial content to global README file.

12 years agoUpdate global .gitignore file.
Razvan Deaconescu [Sat, 4 Jun 2011 07:28:33 +0000 (10:28 +0300)]
Update global .gitignore file.

Ignore archive and library files.

12 years agoAdd lib/ folder.
Razvan Deaconescu [Sat, 4 Jun 2011 07:27:10 +0000 (10:27 +0300)]
Add lib/ folder.

lib_* source code files go into lib/.

12 years agoswifty/kernel: Add .gitignore file.
Razvan Deaconescu [Sat, 4 Jun 2011 07:11:20 +0000 (10:11 +0300)]
swifty/kernel: Add .gitignore file.

12 years agoswifty/kernel: Remove execution access rights for kernel source files.
Razvan Deaconescu [Sat, 4 Jun 2011 07:09:22 +0000 (10:09 +0300)]
swifty/kernel: Remove execution access rights for kernel source files.

12 years agoAdded initial version for the swift transport protocol (dummy version). Need to work...
adrian [Thu, 2 Jun 2011 17:46:19 +0000 (20:46 +0300)]
Added initial version for the swift transport protocol (dummy version). Need to work on swift_connect, logging and add likely/unlikely ...

13 years agoAdd bound check/ debug message destination address
Bogdan Drutu [Mon, 21 Mar 2011 04:43:10 +0000 (06:43 +0200)]
Add bound check/ debug message destination address

13 years agoComplete sw_sock_addr in swift_raw_simple_test
Bogdan Drutu [Mon, 21 Mar 2011 02:23:54 +0000 (04:23 +0200)]
Complete sw_sock_addr in swift_raw_simple_test

13 years agoMerge branch 'master' of koala.cs.pub.ro:swifty
Bogdan Drutu [Sun, 20 Mar 2011 21:34:05 +0000 (23:34 +0200)]
Merge branch 'master' of koala.cs.pub.ro:swifty