Changes in uspace/lib/net/tl/icmp_client.c [1bfd3d3:25171e5] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/net/tl/icmp_client.c
r1bfd3d3 r25171e5 57 57 * @param[out] pointer The ICMP header pointer. 58 58 * @param[out] mtu The ICMP header MTU. 59 * @return The ICMP header length.60 * @return Zero if the packet contains no data.59 * @returns The ICMP header length. 60 * @returns Zero if the packet contains no data. 61 61 */ 62 62 int … … 64 64 icmp_code_t *code, icmp_param_t *pointer, icmp_param_t *mtu) 65 65 { 66 icmp_header_ t *header;66 icmp_header_ref header; 67 67 68 header = (icmp_header_ t *) packet_get_data(packet);68 header = (icmp_header_ref) packet_get_data(packet); 69 69 if (!header || 70 70 (packet_get_data_length(packet) < sizeof(icmp_header_t))) { … … 92 92 * 93 93 * @param[in] packet The packet. 94 * @return The ICMP header length in bytes.94 * @returns The ICMP header length in bytes. 95 95 */ 96 96 size_t icmp_client_header_length(packet_t packet)
Note:
See TracChangeset
for help on using the changeset viewer.