Changeset 1a0fb3f8 in mainline for uspace/srv/net/include/icmp_common.h
- Timestamp:
- 2010-01-04T22:47:30Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ede63e4
- Parents:
- b648ae4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/include/icmp_common.h
rb648ae4 r1a0fb3f8 40 40 #include <ipc/services.h> 41 41 42 #include <sys/time.h> 43 44 /** Default timeout for incoming connections in microseconds. 45 */ 46 #define ICMP_CONNECT_TIMEOUT ( 1 * 1000 * 1000 ) 47 42 48 /** Connects to the ICMP module. 43 49 * @param service The ICMP module service. Ignored parameter. 50 * @param[in] timeout The connection timeout in microseconds. No timeout if set to zero (0). 44 51 * @returns The ICMP module phone on success. 45 52 * @returns The ICMP socket identifier if called by the bundle module. 53 * @returns ETIMEOUT if the connection timeouted. 46 54 */ 47 int icmp_connect_module( services_t service );55 int icmp_connect_module( services_t service, suseconds_t timeout ); 48 56 49 57 #endif
Note:
See TracChangeset
for help on using the changeset viewer.