Changeset 695b6ff in mainline for uspace/lib/c
- Timestamp:
- 2013-09-12T21:26:18Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b8b1adb1, ddd0499d
- Parents:
- 4a90582
- Location:
- uspace/lib/c
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/inet.c
r4a90582 r695b6ff 111 111 112 112 ipc_call_t answer; 113 aid_t req = async_send_ 3(exch, INET_SEND, dgram->tos, ttl, df,114 &answer);113 aid_t req = async_send_4(exch, INET_SEND, dgram->iplink, dgram->tos, 114 ttl, df, &answer); 115 115 116 116 int rc = async_data_write_start(exch, &dgram->src, sizeof(inet_addr_t)); -
uspace/lib/c/generic/inet/addr.c
r4a90582 r695b6ff 47 47 #error The architecture must be either big-endian or little-endian. 48 48 #endif 49 50 const addr32_t addr32_broadcast_all_hosts = 0xffffffff; 49 51 50 52 const addr48_t addr48_broadcast = { -
uspace/lib/c/include/inet/addr.h
r4a90582 r695b6ff 68 68 } inet_naddr_t; 69 69 70 extern const addr32_t addr32_broadcast_all_hosts; 70 71 extern const addr48_t addr48_broadcast; 71 72 -
uspace/lib/c/include/inet/inet.h
r4a90582 r695b6ff 37 37 38 38 #include <inet/addr.h> 39 #include <ipc/loc.h> 39 40 #include <sys/types.h> 40 41 … … 42 43 43 44 typedef struct { 45 /** Local IP link service ID (optional) */ 46 service_id_t iplink; 44 47 inet_addr_t src; 45 48 inet_addr_t dest; -
uspace/lib/c/include/ipc/socket.h
r4a90582 r695b6ff 198 198 #define SOCKET_GET_OPT_NAME(call) \ 199 199 ({ \ 200 int opt_name = (int) IPC_GET_ARG 4(call); \200 int opt_name = (int) IPC_GET_ARG2(call); \ 201 201 opt_name; \ 202 202 }) -
uspace/lib/c/include/net/socket_codes.h
r4a90582 r695b6ff 75 75 typedef int32_t socklen_t; 76 76 77 /* Socket options */ 78 79 enum { 80 SOL_SOCKET = 1, 81 82 /* IP link to transmit on */ 83 SO_IPLINK 84 }; 85 77 86 #endif 78 87
Note:
See TracChangeset
for help on using the changeset viewer.