Ignore:
File:
1 edited

Legend:

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

    rb8b1adb1 rc76e926  
    3636#define LIBC_INET_INET_H_
    3737
    38 #include <inet/addr.h>
    39 #include <ipc/loc.h>
    4038#include <sys/types.h>
    41 #include <types/inet.h>
     39
     40#define INET_TTL_MAX 255
     41
     42typedef struct {
     43        uint32_t ipv4;
     44} inet_addr_t;
     45
     46typedef struct {
     47        inet_addr_t src;
     48        inet_addr_t dest;
     49        uint8_t tos;
     50        void *data;
     51        size_t size;
     52} inet_dgram_t;
     53
     54typedef struct {
     55        int (*recv)(inet_dgram_t *);
     56} inet_ev_ops_t;
     57
     58typedef enum {
     59        INET_DF = 1
     60} inet_df_t;
    4261
    4362extern int inet_init(uint8_t, inet_ev_ops_t *);
Note: See TracChangeset for help on using the changeset viewer.