Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/include/inet/inetping.h

    r13be2583 r6428115  
    3838#include <inet/inet.h>
    3939#include <sys/types.h>
    40 #include <types/inetping.h>
     40
     41typedef struct {
     42        inet_addr_t src;
     43        inet_addr_t dest;
     44        uint16_t seq_no;
     45        void *data;
     46        size_t size;
     47} inetping_sdu_t;
    4148
    4249typedef struct inetping_ev_ops {
     
    4653extern int inetping_init(inetping_ev_ops_t *);
    4754extern int inetping_send(inetping_sdu_t *);
    48 extern int inetping_get_srcaddr(uint32_t, uint32_t *);
     55extern int inetping_get_srcaddr(inet_addr_t *, inet_addr_t *);
     56
    4957
    5058#endif
Note: See TracChangeset for help on using the changeset viewer.