Changeset 61bfc370 in mainline for uspace/srv/net/tl/udp/udp.c
- Timestamp:
- 2011-01-07T18:57:55Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e08a733
- Parents:
- 7c34b28f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/tl/udp/udp.c
r7c34b28f r61bfc370 104 104 measured_string_t names[] = { 105 105 { 106 ( char*) "UDP_CHECKSUM_COMPUTING",106 (uint8_t *) "UDP_CHECKSUM_COMPUTING", 107 107 22 108 108 }, 109 109 { 110 ( char*) "UDP_AUTOBINDING",110 (uint8_t *) "UDP_AUTOBINDING", 111 111 15 112 112 } … … 114 114 measured_string_t *configuration; 115 115 size_t count = sizeof(names) / sizeof(measured_string_t); 116 char*data;116 uint8_t *data; 117 117 int rc; 118 118 … … 283 283 /* Find the destination socket */ 284 284 socket = socket_port_find(&udp_globals.sockets, 285 ntohs(header->destination_port),SOCKET_MAP_KEY_LISTENING, 0);285 ntohs(header->destination_port), (uint8_t *) SOCKET_MAP_KEY_LISTENING, 0); 286 286 if (!socket) { 287 287 if (tl_prepare_icmp_packet(udp_globals.net_phone,
Note:
See TracChangeset
for help on using the changeset viewer.