Changes in uspace/lib/net/include/tl_common.h [849ed54:14f1db0] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/net/include/tl_common.h
r849ed54 r14f1db0 49 49 DEVICE_MAP_DECLARE(packet_dimensions, packet_dimension_t); 50 50 51 extern int tl_get_ip_packet_dimension(int, packet_dimensions_ref, 52 device_id_t, packet_dimension_ref *); 53 51 54 /** Gets the address port. 52 55 * Supports AF_INET and AF_INET6 address families. … … 59 62 */ 60 63 extern int tl_get_address_port(const struct sockaddr * addr, int addrlen, uint16_t * port); 61 62 /** Gets IP packet dimensions.63 * Tries to search a cache and queries the IP module if not found.64 * The reply is cached then.65 * @param[in] ip_phone The IP moduel phone for (semi)remote calls.66 * @param[in] packet_dimensions The packet dimensions cache.67 * @param[in] device_id The device identifier.68 * @param[out] packet_dimension The IP packet dimensions.69 * @returns EOK on success.70 * @returns EBADMEM if the packet_dimension parameter is NULL.71 * @return ENOMEM if there is not enough memory left.72 * @returns EINVAL if the packet_dimensions cache is not valid.73 * @returns Other codes as defined for the ip_packet_size_req() function.74 */75 extern int tl_get_ip_packet_dimension(int ip_phone, packet_dimensions_ref packet_dimensions, device_id_t device_id, packet_dimension_ref * packet_dimension);76 64 77 65 /** Updates IP device packet dimensions cache.
Note:
See TracChangeset
for help on using the changeset viewer.