Changes in uspace/lib/c/include/inet/inet.h [1c7ba2d:b8b1adb1] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/inet/inet.h
r1c7ba2d rb8b1adb1 37 37 38 38 #include <inet/addr.h> 39 #include <ipc/loc.h> 39 40 #include <sys/types.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; 41 #include <types/inet.h> 58 42 59 43 extern int inet_init(uint8_t, inet_ev_ops_t *);
Note:
See TracChangeset
for help on using the changeset viewer.