Changeset 0773396 in mainline for uspace/lib/c/include/inet/inet.h
- Timestamp:
- 2013-12-25T13:05:25Z (10 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- bc54126c
- Parents:
- f4a47e52 (diff), 6946f23 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/inet/inet.h
rf4a47e52 r0773396 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.