Changeset 832


Ignore:
Timestamp:
05/26/06 10:30:39 (7 years ago)
Author:
spa1
Message:

Fixed some documentation errors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/libtrace.h.in

    r827 r832  
    894894libtrace_icmp_t *trace_get_icmp_from_ip(libtrace_ip_t *ip,uint32_t *remaining); 
    895895 
    896 /** Get the destination MAC addres 
     896/** Get the destination MAC address 
    897897 * @param packet        the packet opaque pointer 
    898898 * @return a pointer to the destination mac, (or NULL if there is no  
     
    902902uint8_t *trace_get_destination_mac(libtrace_packet_t *packet); 
    903903 
    904 /** Get the source MAC addres 
     904/** Get the source MAC address 
    905905 * @param packet        the packet opaque pointer 
    906906 * @return a pointer to the source mac, (or NULL if there is no source MAC) 
     
    909909uint8_t *trace_get_source_mac(libtrace_packet_t *packet); 
    910910 
    911 /** Get the source addres 
     911/** Get the source IP address 
    912912 * @param packet        the packet opaque pointer 
    913913 * @param addr          a pointer to a sockaddr to store the address in, or NULL to use 
     
    919919                struct sockaddr *addr); 
    920920 
    921 /** Get the source addres 
     921/** Get the destination IP address 
    922922 * @param packet        the packet opaque pointer 
    923923 * @param addr          a pointer to a sockaddr to store the address in, or NULL to use 
    924924 *                      static storage. 
    925  * @return NULL if there is no source address, or a sockaddr holding a v4 or v6 address 
     925 * @return NULL if there is no destination address, or a sockaddr holding a v4 or v6 address 
    926926 */ 
    927927DLLEXPORT SIMPLE_FUNCTION 
Note: See TracChangeset for help on using the changeset viewer.