Changeset 98abd40 in mainline for uspace/srv/net/udp/udp_type.h
- Timestamp:
- 2013-07-06T21:57:22Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c8bb1633, cdc8a391
- Parents:
- b8e72fd1 (diff), 507c6f3 (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/srv/net/udp/udp_type.h
rb8e72fd1 r98abd40 40 40 #include <socket_core.h> 41 41 #include <sys/types.h> 42 #include <inet/addr.h> 42 43 43 44 #define UDP_FRAGMENT_SIZE 4096 … … 57 58 58 59 typedef enum { 59 XF_DUMMY 60 XF_DUMMY = 0x1 60 61 } xflags_t; 61 62 typedef struct {63 uint32_t ipv4;64 } netaddr_t;65 66 enum netaddr {67 UDP_IPV4_ANY = 068 };69 62 70 63 enum udp_port { … … 73 66 74 67 typedef struct { 75 netaddr_t addr;68 inet_addr_t addr; 76 69 uint16_t port; 77 70 } udp_sock_t; … … 93 86 typedef struct { 94 87 /** Source address */ 95 netaddr_t src;88 inet_addr_t src; 96 89 /** Destination address */ 97 netaddr_t dest;98 90 inet_addr_t dest; 91 99 92 /** Encoded PDU data including header */ 100 93 void *data;
Note:
See TracChangeset
for help on using the changeset viewer.