forked from HACKERCHANNEL/PSL1GHT
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
"Added some more libnet specific functions & added a config macro to …
…switch between lv2/sprx sockets"
- Loading branch information
stoneMcClane
authored and
stoneMcClane
committed
Nov 20, 2010
1 parent
1d93eff
commit b28e37a
Showing
13 changed files
with
131 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#pragma once | ||
|
||
// enable/disable usage of libnet SRPX socket functions instead of Lv2 syscalls | ||
#define USE_LIBNET_SPRX |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,7 @@ EXTERN_BEGIN | |
typedef enum | ||
{ | ||
SYSMODULE_NET=0, | ||
SYSMODULE_HTTP=1, | ||
|
||
SYSMODULE_RTC=9, | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,8 @@ | ||
#include <net/net_config.h> | ||
|
||
#define LIBRARY_NAME "sys_net" | ||
#define LIBRARY_SYMBOL sys_net | ||
#define LIBRARY_HEADER sys_net_header | ||
|
||
#define LIBRARY_HEADER_1 0x2c000001 | ||
#define LIBRARY_HEADER_2 0x0009 | ||
|
||
#define USE_LIBNET_SPRX | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,59 +1,59 @@ | ||
#ifdef USE_LIBNET_SPRX | ||
|
||
EXPORT(_sys_net_errno_loc, 0x6005cde1); | ||
EXPORT(_sys_net_h_errno_loc, 0xc9157d30); | ||
EXPORT(accept, 0xc94f6939); | ||
EXPORT(bind, 0xb0a59804); | ||
EXPORT(connect, 0x64f66d35); | ||
EXPORT(gethostbyaddr, 0xf7ac8941); | ||
EXPORT(gethostbyname, 0x71f4c717); | ||
EXPORT(getpeername, 0xf9ec2db6); | ||
EXPORT(getsockname, 0x13efe7f5); | ||
EXPORT(getsockopt, 0x5a045bd1); | ||
EXPORT(inet_addr, 0xdabbc2c0); | ||
EXPORT(inet_aton, 0xa9a079e0); | ||
EXPORT(inet_lnaof, 0x566893ce); | ||
EXPORT(inet_makeaddr, 0xb4152c74); | ||
EXPORT(inet_netof, 0xe39a62a7); | ||
EXPORT(inet_network, 0x506ad863); | ||
EXPORT(inet_ntoa, 0x858a930b); | ||
EXPORT(inet_ntop, 0xc98a3146); | ||
EXPORT(inet_pton, 0x8af3825e); | ||
EXPORT(listen, 0x28e208bb); | ||
EXPORT(recv, 0xfba04f37); | ||
EXPORT(recvfrom, 0x1f953b9f); | ||
EXPORT(recvmsg, 0xc9d09c34); | ||
EXPORT(send, 0xdc751b40); | ||
EXPORT(sendmsg, 0xad09481b); | ||
EXPORT(sendto, 0x9647570b); | ||
EXPORT(setsockopt, 0x88f03575); | ||
EXPORT(shutdown, 0xa50777c6); | ||
EXPORT(socket, 0x9c056962); | ||
EXPORT(socketclose, 0x6db6e8cd); | ||
EXPORT(socketpoll, 0x051ee3ee); | ||
EXPORT(socketselect, 0x3f09e20a); | ||
EXPORT(sys_net_abort_resolver, 0x8ccf05ed); | ||
EXPORT(sys_net_abort_socket, 0x8d1b77fb); | ||
EXPORT(sys_net_close_dump, 0x44328aa2); | ||
EXPORT(sys_net_finalize_network, 0xb68d5625); | ||
EXPORT(sys_net_free_thread_context, 0xfdb8f926); | ||
EXPORT(sys_net_get_lib_name_server, 0x1d14d6e4); | ||
EXPORT(sys_net_get_netemu_test_param, 0x368823c0); | ||
EXPORT(sys_net_get_sockinfo, 0x3b27c780); | ||
EXPORT(sys_net_get_sockinfo_ex, 0xa765d029); | ||
EXPORT(sys_net_get_test_param, 0xa5a86557); | ||
EXPORT(sys_net_get_udpp2p_test_param, 0x05bd4438); | ||
EXPORT(sys_net_if_ctl, 0x27fb339d); | ||
EXPORT(sys_net_initialize_network_ex, 0x139a9e9b); | ||
EXPORT(sys_net_open_dump, 0xab447704); | ||
EXPORT(sys_net_read_dump, 0x89c9917c); | ||
EXPORT(sys_net_set_lib_name_server, 0x9a318259); | ||
EXPORT(sys_net_set_netemu_test_param, 0xe2434507); | ||
EXPORT(sys_net_set_resolver_configurations, 0x7687d48c); | ||
EXPORT(sys_net_set_test_param, 0x4ab0b9b9); | ||
EXPORT(sys_net_set_udpp2p_test_param, 0x10b81ed6); | ||
EXPORT(sys_net_show_ifconfig, 0xb48636c4); | ||
EXPORT(sys_net_show_nameserver, 0x5420e419); | ||
EXPORT(sys_net_show_route, 0x79b61646); | ||
EXPORT(_net_errno_loc, 0x6005cde1); | ||
EXPORT(_net_h_errno_loc, 0xc9157d30); | ||
EXPORT(accept, 0xc94f6939); | ||
EXPORT(bind, 0xb0a59804); | ||
EXPORT(connect, 0x64f66d35); | ||
EXPORT(gethostbyaddr, 0xf7ac8941); | ||
EXPORT(gethostbyname, 0x71f4c717); | ||
EXPORT(getpeername, 0xf9ec2db6); | ||
EXPORT(getsockname, 0x13efe7f5); | ||
EXPORT(getsockopt, 0x5a045bd1); | ||
EXPORT(inet_addr, 0xdabbc2c0); | ||
EXPORT(inet_aton, 0xa9a079e0); | ||
EXPORT(inet_lnaof, 0x566893ce); | ||
EXPORT(inet_makeaddr, 0xb4152c74); | ||
EXPORT(inet_netof, 0xe39a62a7); | ||
EXPORT(inet_network, 0x506ad863); | ||
EXPORT(inet_ntoa, 0x858a930b); | ||
EXPORT(inet_ntop, 0xc98a3146); | ||
EXPORT(inet_pton, 0x8af3825e); | ||
EXPORT(listen, 0x28e208bb); | ||
EXPORT(recv, 0xfba04f37); | ||
EXPORT(recvfrom, 0x1f953b9f); | ||
EXPORT(recvmsg, 0xc9d09c34); | ||
EXPORT(send, 0xdc751b40); | ||
EXPORT(sendmsg, 0xad09481b); | ||
EXPORT(sendto, 0x9647570b); | ||
EXPORT(setsockopt, 0x88f03575); | ||
EXPORT(shutdown, 0xa50777c6); | ||
EXPORT(socket, 0x9c056962); | ||
EXPORT(socketclose, 0x6db6e8cd); | ||
EXPORT(socketpoll, 0x051ee3ee); | ||
EXPORT(socketselect, 0x3f09e20a); | ||
EXPORT(net_abort_resolver, 0x8ccf05ed); | ||
EXPORT(net_abort_socket, 0x8d1b77fb); | ||
EXPORT(net_close_dump, 0x44328aa2); | ||
EXPORT(net_finalize_network, 0xb68d5625); | ||
EXPORT(net_free_thread_context, 0xfdb8f926); | ||
EXPORT(net_get_lib_name_server, 0x1d14d6e4); | ||
EXPORT(net_get_netemu_test_param, 0x368823c0); | ||
EXPORT(net_get_sockinfo, 0x3b27c780); | ||
EXPORT(net_get_sockinfo_ex, 0xa765d029); | ||
EXPORT(net_get_test_param, 0xa5a86557); | ||
EXPORT(net_get_udpp2p_test_param, 0x05bd4438); | ||
EXPORT(net_if_ctl, 0x27fb339d); | ||
EXPORT(net_initialize_network_ex, 0x139a9e9b); | ||
EXPORT(net_open_dump, 0xab447704); | ||
EXPORT(net_read_dump, 0x89c9917c); | ||
EXPORT(net_set_lib_name_server, 0x9a318259); | ||
EXPORT(net_set_netemu_test_param, 0xe2434507); | ||
EXPORT(net_set_resolver_configurations, 0x7687d48c); | ||
EXPORT(net_set_test_param, 0x4ab0b9b9); | ||
EXPORT(net_set_udpp2p_test_param, 0x10b81ed6); | ||
EXPORT(net_show_ifconfig, 0xb48636c4); | ||
EXPORT(net_show_nameserver, 0x5420e419); | ||
EXPORT(net_show_route, 0x79b61646); | ||
|
||
#endif |
Empty file.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters