Changeset c5bff3c in mainline for uspace/srv/net/udp/ucall.h
- Timestamp:
- 2012-04-28T16:22:15Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8013637
- Parents:
- 81716eb (diff), 76983ff (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
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/udp/ucall.h
r81716eb rc5bff3c 1 1 /* 2 * Copyright (c) 20 09 Lukas Mejdrech2 * Copyright (c) 2012 Jiri Svoboda 3 3 * All rights reserved. 4 4 * … … 27 27 */ 28 28 29 /** @addtogroup libc29 /** @addtogroup udp 30 30 * @{ 31 31 */ 32 33 /** @file 34 * ICMP module application interface. 32 /** @file UDP user calls 35 33 */ 36 34 37 #ifndef LIBC_ICMP_API_H_38 #define LIBC_ICMP_API_H_35 #ifndef UCALL_H 36 #define UCALL_H 39 37 40 #include <net/socket_codes.h>41 #include <net/inet.h>42 38 #include <sys/types.h> 43 #include <sys/time.h> 44 #include <adt/measured_strings.h> 45 #include <net/ip_codes.h> 46 #include <net/icmp_codes.h> 47 #include <net/icmp_common.h> 48 #include <async.h> 39 #include "udp_type.h" 49 40 50 /** @name ICMP module application interface 51 * This interface is used by other application modules. 52 */ 53 /*@{*/ 54 55 extern int icmp_echo_msg(async_sess_t *, size_t, mseconds_t, ip_ttl_t, ip_tos_t,56 int, const struct sockaddr *, socklen_t);57 58 /*@}*/ 41 extern udp_error_t udp_uc_create(udp_assoc_t **); 42 extern udp_error_t udp_uc_set_foreign(udp_assoc_t *, udp_sock_t *); 43 extern udp_error_t udp_uc_set_local(udp_assoc_t *, udp_sock_t *); 44 extern udp_error_t udp_uc_send(udp_assoc_t *, udp_sock_t *, void *, size_t, 45 xflags_t); 46 extern udp_error_t udp_uc_receive(udp_assoc_t *, void *, size_t, size_t *, 47 xflags_t *, udp_sock_t *); 48 extern void udp_uc_status(udp_assoc_t *, udp_assoc_status_t *); 49 extern void udp_uc_destroy(udp_assoc_t *); 59 50 60 51 #endif
Note:
See TracChangeset
for help on using the changeset viewer.