Changeset 46d4d9f in mainline for uspace/lib/net/tl
- Timestamp:
- 2010-11-20T17:04:59Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- dd5046dd
- Parents:
- fdbc3ff
- Location:
- uspace/lib/net/tl
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/net/tl/icmp_client.c
rfdbc3ff r46d4d9f 61 61 */ 62 62 int 63 icmp_client_process_packet(packet_t packet, icmp_type_t *type,63 icmp_client_process_packet(packet_t *packet, icmp_type_t *type, 64 64 icmp_code_t *code, icmp_param_t *pointer, icmp_param_t *mtu) 65 65 { … … 94 94 * @return The ICMP header length in bytes. 95 95 */ 96 size_t icmp_client_header_length(packet_t packet)96 size_t icmp_client_header_length(packet_t *packet) 97 97 { 98 98 if (packet_get_data_length(packet) < sizeof(icmp_header_t)) -
uspace/lib/net/tl/icmp_remote.c
rfdbc3ff r46d4d9f 63 63 int 64 64 icmp_destination_unreachable_msg(int icmp_phone, icmp_code_t code, 65 icmp_param_t mtu, packet_t packet)65 icmp_param_t mtu, packet_t *packet) 66 66 { 67 67 async_msg_3(icmp_phone, NET_ICMP_DEST_UNREACH, (ipcarg_t) code, … … 82 82 * @return ENOMEM if there is not enough memory left. 83 83 */ 84 int icmp_source_quench_msg(int icmp_phone, packet_t packet)84 int icmp_source_quench_msg(int icmp_phone, packet_t *packet) 85 85 { 86 86 async_msg_2(icmp_phone, NET_ICMP_SOURCE_QUENCH, 0, … … 102 102 * @return ENOMEM if there is not enough memory left. 103 103 */ 104 int icmp_time_exceeded_msg(int icmp_phone, icmp_code_t code, packet_t packet)104 int icmp_time_exceeded_msg(int icmp_phone, icmp_code_t code, packet_t *packet) 105 105 { 106 106 async_msg_2(icmp_phone, NET_ICMP_TIME_EXCEEDED, (ipcarg_t) code, … … 124 124 */ 125 125 int icmp_parameter_problem_msg(int icmp_phone, icmp_code_t code, 126 icmp_param_t pointer, packet_t packet)126 icmp_param_t pointer, packet_t *packet) 127 127 { 128 128 async_msg_3(icmp_phone, NET_ICMP_PARAMETERPROB, (ipcarg_t) code, -
uspace/lib/net/tl/socket_core.c
rfdbc3ff r46d4d9f 522 522 * function. 523 523 */ 524 int socket_reply_packets(packet_t packet, size_t *length)525 { 526 packet_t next_packet;524 int socket_reply_packets(packet_t *packet, size_t *length) 525 { 526 packet_t *next_packet; 527 527 size_t fragments; 528 528 size_t *lengths; -
uspace/lib/net/tl/tl_common.c
rfdbc3ff r46d4d9f 248 248 */ 249 249 int 250 tl_prepare_icmp_packet(int packet_phone, int icmp_phone, packet_t packet,250 tl_prepare_icmp_packet(int packet_phone, int icmp_phone, packet_t *packet, 251 251 services_t error) 252 252 { 253 packet_t next;253 packet_t *next; 254 254 uint8_t *src; 255 255 int length; … … 287 287 */ 288 288 int 289 tl_socket_read_packet_data(int packet_phone, packet_t * packet, size_t prefix,289 tl_socket_read_packet_data(int packet_phone, packet_t **packet, size_t prefix, 290 290 const packet_dimension_t *dimension, const struct sockaddr *addr, 291 291 socklen_t addrlen) -
uspace/lib/net/tl/tl_interface.c
rfdbc3ff r46d4d9f 58 58 */ 59 59 int 60 tl_received_msg(int tl_phone, device_id_t device_id, packet_t packet,60 tl_received_msg(int tl_phone, device_id_t device_id, packet_t *packet, 61 61 services_t target, services_t error) 62 62 {
Note:
See TracChangeset
for help on using the changeset viewer.