Changes in uspace/lib/net/tl/icmp_client.c [25171e5:1bfd3d3] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/net/tl/icmp_client.c
r25171e5 r1bfd3d3 57 57 * @param[out] pointer The ICMP header pointer. 58 58 * @param[out] mtu The ICMP header MTU. 59 * @return sThe ICMP header length.60 * @return sZero if the packet contains no data.59 * @return The ICMP header length. 60 * @return 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_ refheader;66 icmp_header_t *header; 67 67 68 header = (icmp_header_ ref) packet_get_data(packet);68 header = (icmp_header_t *) 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 sThe ICMP header length in bytes.94 * @return 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.