Changes in uspace/lib/c/include/inet/inet.h [b8b1adb1:1c7ba2d] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/inet/inet.h
rb8b1adb1 r1c7ba2d 37 37 38 38 #include <inet/addr.h> 39 #include <ipc/loc.h>40 39 #include <sys/types.h> 41 #include <types/inet.h> 40 41 #define INET_TTL_MAX 255 42 43 typedef struct { 44 inet_addr_t src; 45 inet_addr_t dest; 46 uint8_t tos; 47 void *data; 48 size_t size; 49 } inet_dgram_t; 50 51 typedef struct { 52 int (*recv)(inet_dgram_t *); 53 } inet_ev_ops_t; 54 55 typedef enum { 56 INET_DF = 1 57 } inet_df_t; 42 58 43 59 extern int inet_init(uint8_t, inet_ev_ops_t *);
Note:
See TracChangeset
for help on using the changeset viewer.