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

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

13 years agoraw: Add internal socket management support to sw_socket.
Razvan Deaconescu [Sat, 21 May 2011 08:54:14 +0000 (11:54 +0300)]
raw: Add internal socket management support to sw_socket.

13 years agoraw: Add list function for finding an element.
Razvan Deaconescu [Sat, 21 May 2011 08:48:55 +0000 (11:48 +0300)]
raw: Add list function for finding an element.

13 years agoAdd list management for raw sockets.
Razvan Deaconescu [Thu, 19 May 2011 17:54:39 +0000 (20:54 +0300)]
Add list management for raw sockets.

13 years agoIgnore swift raw test executable.
Razvan Deaconescu [Thu, 19 May 2011 17:53:26 +0000 (20:53 +0300)]
Ignore swift raw test executable.

13 years agoswifty: Add raw/ subfolder for raw socket-based swift.
Razvan Deaconescu [Sun, 15 May 2011 07:27:07 +0000 (10:27 +0300)]
swifty: Add raw/ subfolder for raw socket-based swift.

13 years agoswifty: Add simple test case for raw socket-based swift.
Razvan Deaconescu [Sun, 15 May 2011 07:25:50 +0000 (10:25 +0300)]
swifty: Add simple test case for raw socket-based swift.

13 years agoswift: Add skeleton implementation of swift API based on raw sockets.
Razvan Deaconescu [Sun, 15 May 2011 07:24:57 +0000 (10:24 +0300)]
swift: Add skeleton implementation of swift API based on raw sockets.

13 years agoswifty: Fix sw_hash sizeof in swift_types.h.
Razvan Deaconescu [Sun, 15 May 2011 07:24:09 +0000 (10:24 +0300)]
swifty: Fix sw_hash sizeof in swift_types.h.

13 years agoswifty: Add swift_raw.h.
Razvan Deaconescu [Sun, 15 May 2011 07:04:27 +0000 (10:04 +0300)]
swifty: Add swift_raw.h.

13 years agoswifty: Add SWIFT protocol number.
Razvan Deaconescu [Sun, 15 May 2011 06:54:18 +0000 (09:54 +0300)]
swifty: Add SWIFT protocol number.

13 years agoswifty: Replace initial comment in swift_types.h.
Razvan Deaconescu [Sun, 15 May 2011 06:47:42 +0000 (09:47 +0300)]
swifty: Replace initial comment in swift_types.h.

13 years agoswifty: Replace wrapper macro in swift_types.h.
Razvan Deaconescu [Sun, 15 May 2011 06:45:40 +0000 (09:45 +0300)]
swifty: Replace wrapper macro in swift_types.h.

13 years agoswifty: Add swhdr.
Razvan Deaconescu [Sun, 15 May 2011 06:44:58 +0000 (09:44 +0300)]
swifty: Add swhdr.

13 years agoswifty: Add swift_types.h.
Razvan Deaconescu [Sat, 14 May 2011 15:11:55 +0000 (18:11 +0300)]
swifty: Add swift_types.h.

Defines struct sockaddr_sw.

13 years agoadd doc/ folder; add architectural overview Dia file
Razvan Deaconescu [Sat, 2 Apr 2011 20:57:26 +0000 (23:57 +0300)]
add doc/ folder; add architectural overview Dia file

13 years agoignore temporary files and object files
Razvan Deaconescu [Sat, 2 Apr 2011 20:54:35 +0000 (23:54 +0300)]
ignore temporary files and object files

13 years agowait for processes in run.sh
Razvan Deaconescu [Sat, 2 Apr 2011 08:09:05 +0000 (11:09 +0300)]
wait for processes in run.sh

13 years agocode aspect adjustments and TODOs
Razvan Deaconescu [Sat, 2 Apr 2011 08:08:23 +0000 (11:08 +0300)]
code aspect adjustments and TODOs

13 years agoignore tags files
Razvan Deaconescu [Sat, 2 Apr 2011 07:38:16 +0000 (10:38 +0300)]
ignore tags files

13 years agoremove test.txt file
Razvan Deaconescu [Sat, 2 Apr 2011 07:27:00 +0000 (10:27 +0300)]
remove test.txt file

13 years agoUpdate:
Bogdan Drutu [Fri, 1 Apr 2011 20:42:07 +0000 (23:42 +0300)]
Update:
- complete api
- add a client/server example

13 years agoUpdate:
Bogdan Drutu [Fri, 1 Apr 2011 20:42:07 +0000 (23:42 +0300)]
Update:
- complete api
- add a client/server example

13 years agoNo comment...
Drutu Bogdan [Thu, 3 Feb 2011 17:58:27 +0000 (19:58 +0200)]
No comment...

13 years agoModify sockaddr -> sockSwiftaddr
Bogdan Drutu [Thu, 30 Dec 2010 08:43:12 +0000 (10:43 +0200)]
Modify sockaddr -> sockSwiftaddr

13 years agoupdate main to use this function
Drutu Bogdan [Sat, 18 Dec 2010 16:25:44 +0000 (18:25 +0200)]
update main to use this function

13 years agoimplements first function (recv, bind, socket, close)
Drutu Bogdan [Sat, 18 Dec 2010 16:25:34 +0000 (18:25 +0200)]
implements first function (recv, bind, socket, close)

13 years agoFix mkdir error when directory exist
Drutu Bogdan [Sat, 18 Dec 2010 16:22:21 +0000 (18:22 +0200)]
Fix mkdir error when directory exist

13 years agoFirst sources for test build infrastructure
Drutu Bogdan [Sat, 18 Dec 2010 13:30:09 +0000 (15:30 +0200)]
First sources for test build infrastructure

13 years agoMakefile & run script (run main and load swift.so)
Drutu Bogdan [Sat, 18 Dec 2010 13:25:46 +0000 (15:25 +0200)]
Makefile & run script (run main and load swift.so)

13 years agogitignore file (build directory)
Drutu Bogdan [Sat, 18 Dec 2010 13:24:32 +0000 (15:24 +0200)]
gitignore file (build directory)

13 years agofirst commit
Drutu Bogdan [Sat, 18 Dec 2010 12:36:25 +0000 (14:36 +0200)]
first commit

13 years agoinitial commit
Razvan Deaconescu [Sat, 13 Nov 2010 08:37:01 +0000 (10:37 +0200)]
initial commit