Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/net/tl/icmp_client.c

    r1bfd3d3 r25171e5  
    5757 * @param[out] pointer  The ICMP header pointer.
    5858 * @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.
    6161 */
    6262int
     
    6464    icmp_code_t *code, icmp_param_t *pointer, icmp_param_t *mtu)
    6565{
    66         icmp_header_t *header;
     66        icmp_header_ref header;
    6767
    68         header = (icmp_header_t *) packet_get_data(packet);
     68        header = (icmp_header_ref) packet_get_data(packet);
    6969        if (!header ||
    7070            (packet_get_data_length(packet) < sizeof(icmp_header_t))) {
     
    9292 *
    9393 * @param[in] packet    The packet.
    94  * @return              The ICMP header length in bytes.
     94 * @returns             The ICMP header length in bytes.
    9595 */
    9696size_t icmp_client_header_length(packet_t packet)
Note: See TracChangeset for help on using the changeset viewer.