Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/inetsrv/inetsrv.h

    ra2e3ee6 r3e6a98c5  
    4040#include <adt/list.h>
    4141#include <stdbool.h>
    42 #include <inet/addr.h>
    4342#include <inet/iplink.h>
    4443#include <ipc/loc.h>
     
    6261        link_t client_list;
    6362} inetping_client_t;
     63
     64/** Host address */
     65typedef struct {
     66        uint32_t ipv4;
     67} inet_addr_t;
     68
     69/** Network address */
     70typedef struct {
     71        /** Address */
     72        uint32_t ipv4;
     73        /** Number of valid bits in @c ipv4 */
     74        int bits;
     75} inet_naddr_t;
    6476
    6577/** Address object info */
     
    172184
    173185typedef struct {
    174         uint32_t src;
    175         uint32_t dest;
     186        inet_addr_t src;
     187        inet_addr_t dest;
    176188        uint16_t seq_no;
    177189        void *data;
Note: See TracChangeset for help on using the changeset viewer.