swifty.git
12 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.

12 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.

12 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.

12 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.

12 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.

12 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).

12 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.

12 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

12 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.

12 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.

12 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.

12 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.

12 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.

12 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.

12 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

13 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.

13 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.

13 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.

13 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

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

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

13 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

13 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.

13 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.

13 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

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

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

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

13 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.

13 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.

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

13 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.

13 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.

13 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

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

13 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

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

13 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

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

13 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.

13 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.

13 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/.

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

13 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.

13 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

13 years agoremove compile errors
Oana Baron [Wed, 25 May 2011 19:16:46 +0000 (22:16 +0300)]
remove compile errors

13 years agoraw: Add test functions for sw_close.
Razvan Deaconescu [Sat, 21 May 2011 17:14:02 +0000 (20:14 +0300)]
raw: Add test functions for sw_close.

13 years agoraw: Add complete set of headers to test source files.
Razvan Deaconescu [Sat, 21 May 2011 16:59:38 +0000 (19:59 +0300)]
raw: Add complete set of headers to test source files.

13 years agoraw: Mention requirement for root user in README.
Razvan Deaconescu [Sat, 21 May 2011 16:57:23 +0000 (19:57 +0300)]
raw: Mention requirement for root user in README.

Privileged user must be used to run test suite and other programs using
the raw socket swift API: raw sockets may only be created by a
privileged user.

13 years agoraw: Run insufficient_file_descriptos function in child process.
Razvan Deaconescu [Sat, 21 May 2011 16:52:21 +0000 (19:52 +0300)]
raw: Run insufficient_file_descriptos function in child process.

Used in sw_socket.c.

13 years agoraw: Add run_as_child_process function.
Razvan Deaconescu [Sat, 21 May 2011 16:50:23 +0000 (19:50 +0300)]
raw: Add run_as_child_process function.

Allows running a test function in the context of another process.

13 years agoraw: Add test suite for sw_socket "syscall".
Razvan Deaconescu [Sat, 21 May 2011 16:49:59 +0000 (19:49 +0300)]
raw: Add test suite for sw_socket "syscall".

13 years agoraw: Add README.
Razvan Deaconescu [Sat, 21 May 2011 16:09:04 +0000 (19:09 +0300)]
raw: Add README.

13 years agoraw: Add TODO.
Razvan Deaconescu [Sat, 21 May 2011 15:50:05 +0000 (18:50 +0300)]
raw: Add TODO.

13 years agoraw: Add include/ folder.
Razvan Deaconescu [Sat, 21 May 2011 15:46:20 +0000 (18:46 +0300)]
raw: Add include/ folder.

Move common header files to include/ folder.

13 years agoraw: Add file declarations in source test files.
Razvan Deaconescu [Sat, 21 May 2011 15:19:56 +0000 (18:19 +0300)]
raw: Add file declarations in source test files.

13 years agoraw: Use cast to discard const qualifier.
Razvan Deaconescu [Sat, 21 May 2011 14:35:10 +0000 (17:35 +0300)]
raw: Use cast to discard const qualifier.

13 years agoraw: Remove sw_shutdown "syscall".
Razvan Deaconescu [Sat, 21 May 2011 14:32:59 +0000 (17:32 +0300)]
raw: Remove sw_shutdown "syscall".

Shutdown is meaningless on connectionless sockets such as swift sockets.

13 years agoFix build process
Bogdan Drutu [Sun, 20 Mar 2011 17:33:35 +0000 (19:33 +0200)]
Fix build process

13 years agoraw: Modify tests messages & structure
root (spook.local) [Sun, 20 Mar 2011 16:14:16 +0000 (18:14 +0200)]
raw: Modify tests messages & structure

13 years agoraw: Add skeleton test suite for swift raw.
Razvan Deaconescu [Sat, 21 May 2011 11:07:15 +0000 (14:07 +0300)]
raw: Add skeleton test suite for swift raw.

13 years agoraw: Extract sock_list in a file
root (spook.local) [Sun, 20 Mar 2011 15:26:19 +0000 (17:26 +0200)]
raw: Extract sock_list in a file

13 years agoraw: Fix: check type for SOCK_DGRAM instead of SOCK_RAW.
Razvan Deaconescu [Sat, 21 May 2011 10:29:53 +0000 (13:29 +0300)]
raw: Fix: check type for SOCK_DGRAM instead of SOCK_RAW.

13 years agoraw: Small fix: remove unnecessary curly braces.
Razvan Deaconescu [Sat, 21 May 2011 10:27:49 +0000 (13:27 +0300)]
raw: Small fix: remove unnecessary curly braces.

13 years agoraw: Add "is bound" check to sw_socket and sw_bind.
Razvan Deaconescu [Sat, 21 May 2011 10:26:03 +0000 (13:26 +0300)]
raw: Add "is bound" check to sw_socket and sw_bind.

13 years agoraw: Add state to determine wether socket is bound or not.
Razvan Deaconescu [Sat, 21 May 2011 10:25:26 +0000 (13:25 +0300)]
raw: Add state to determine wether socket is bound or not.

13 years agoIgnore tag files in all folders.
Razvan Deaconescu [Sat, 21 May 2011 10:09:07 +0000 (13:09 +0300)]
Ignore tag files in all folders.

13 years agoraw: sw_close and sw_shutdown use list_remove_socket.
Razvan Deaconescu [Sat, 21 May 2011 10:04:09 +0000 (13:04 +0300)]
raw: sw_close and sw_shutdown use list_remove_socket.

13 years agoraw: Add list_remove_socket function.
Razvan Deaconescu [Sat, 21 May 2011 10:02:58 +0000 (13:02 +0300)]
raw: Add list_remove_socket function.

13 years agoraw: Fill swift_raw.c header comment.
Razvan Deaconescu [Sat, 21 May 2011 09:59:40 +0000 (12:59 +0300)]
raw: Fill swift_raw.c header comment.

13 years agoraw: Fill sw_getsockname "syscall".
Razvan Deaconescu [Sat, 21 May 2011 09:58:50 +0000 (12:58 +0300)]
raw: Fill sw_getsockname "syscall".

13 years agoraw: add sendTo
root (spook.local) [Sun, 20 Mar 2011 14:56:24 +0000 (16:56 +0200)]
raw: add sendTo

13 years agoraw: Merge data.
root (spook.local) [Sun, 20 Mar 2011 14:17:34 +0000 (16:17 +0200)]
raw: Merge data.

13 years agoraw: Remove blank in front of paranthesis in function definition.
Razvan Deaconescu [Sat, 21 May 2011 09:43:27 +0000 (12:43 +0300)]
raw: Remove blank in front of paranthesis in function definition.

13 years agoraw: Add sw_close "syscall".
Razvan Deaconescu [Sat, 21 May 2011 09:41:13 +0000 (12:41 +0300)]
raw: Add sw_close "syscall".

sw_close is required by the internal management functions: remove socket
element when sw_close is called.

13 years agoraw: Add read/write state support to sw_socket "syscall".
Razvan Deaconescu [Sat, 21 May 2011 09:38:13 +0000 (12:38 +0300)]
raw: Add read/write state support to sw_socket "syscall".

13 years agoraw: Add sw_shutdown "syscall".
Razvan Deaconescu [Sat, 21 May 2011 09:35:51 +0000 (12:35 +0300)]
raw: Add sw_shutdown "syscall".

13 years agoraw: Add socket read/write state management field.
Razvan Deaconescu [Sat, 21 May 2011 09:35:07 +0000 (12:35 +0300)]
raw: Add socket read/write state management field.

13 years agoraw: Fix: add socket field to newly created list structure.
Razvan Deaconescu [Sat, 21 May 2011 09:33:53 +0000 (12:33 +0300)]
raw: Fix: add socket field to newly created list structure.

13 years agoraw: Add library macro for struct sockaddr in function arguments.
Razvan Deaconescu [Sat, 21 May 2011 09:15:51 +0000 (12:15 +0300)]
raw: Add library macro for struct sockaddr in function arguments.