Changeset f14291b in mainline for uspace/lib/c/include/net/icmp_common.h
- Timestamp:
 - 2010-10-19T20:55:53Z (15 years ago)
 - Branches:
 - lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
 - Children:
 - a93d79a
 - Parents:
 - 1882525 (diff), a7a85d16 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - File:
 - 
      
- 1 moved
 
- 
          
  uspace/lib/c/include/net/icmp_common.h (moved) (moved from uspace/lib/socket/include/icmp_common.h ) (1 diff)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
      
uspace/lib/c/include/net/icmp_common.h
r1882525 rf14291b 27 27 */ 28 28 29 /** @addtogroup icmp29 /** @addtogroup libc 30 30 * @{ 31 31 */ 32 32 33 33 /** @file 34 * ICMP module common interface.34 * ICMP module common interface. 35 35 */ 36 36 37 #ifndef __NET_ICMP_COMMON_H__38 #define __NET_ICMP_COMMON_H__37 #ifndef LIBC_ICMP_COMMON_H_ 38 #define LIBC_ICMP_COMMON_H_ 39 39 40 40 #include <ipc/services.h> 41 42 41 #include <sys/time.h> 43 42 44 /** Default timeout for incoming connections in microseconds. 45 */ 43 /** Default timeout for incoming connections in microseconds. */ 46 44 #define ICMP_CONNECT_TIMEOUT (1 * 1000 * 1000) 47 45 48 /** Connects to the ICMP module. 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). 51 * @returns The ICMP module phone on success. 52 * @returns The ICMP socket identifier if called by the bundle module. 53 * @returns ETIMEOUT if the connection timeouted. 54 */ 55 extern int icmp_connect_module(services_t service, suseconds_t timeout); 46 extern int icmp_connect_module(services_t, suseconds_t); 56 47 57 48 #endif  
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  