Changeset 0a866eeb in mainline for uspace/lib/net/include


Ignore:
Timestamp:
2010-10-08T19:45:11Z (15 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c69d327
Parents:
d52fbaf
Message:

Fix packet_get_copy() and socket_destroy_core() to use the remote packet
interfaces.

Fix packet_client.h to declare the remote packet interfaces and create
packet_local.h for the use by the packet server (or later possibly also by the
bundle build).

Location:
uspace/lib/net/include
Files:
3 edited
1 moved

Legend:

Unmodified
Added
Removed
  • uspace/lib/net/include/il_interface.h

    rd52fbaf r0a866eeb  
    4646#include <net_device.h>
    4747#include <packet/packet.h>
    48 #include <packet/packet_client.h>
     48#include <packet_client.h>
    4949#include <il_messages.h>
    5050
  • uspace/lib/net/include/netif_interface.h

    rd52fbaf r0a866eeb  
    5353
    5454#include <netif_remote.h>
    55 #include <packet/packet_client.h>
     55#include <packet_client.h>
    5656
    5757#define netif_module_message    netif_module_message_standalone
  • uspace/lib/net/include/packet_client.h

    rd52fbaf r0a866eeb  
    172172 *  @returns Other error codes as defined for the packet_return() function.
    173173 */
    174 extern int packet_translate_local(int phone, packet_ref packet, packet_id_t packet_id);
     174extern int packet_translate_remote(int phone, packet_ref packet, packet_id_t packet_id);
    175175
    176176/** Obtains the packet of the given dimensions.
     
    184184 *  @returns NULL on error.
    185185 */
    186 extern packet_t packet_get_4_local(int phone, size_t max_content, size_t addr_len, size_t max_prefix, size_t max_suffix);
     186extern packet_t packet_get_4_remote(int phone, size_t max_content, size_t addr_len, size_t max_prefix, size_t max_suffix);
    187187
    188188/** Obtains the packet of the given content size.
     
    193193 *  @returns NULL on error.
    194194 */
    195 extern packet_t packet_get_1_local(int phone, size_t content);
     195extern packet_t packet_get_1_remote(int phone, size_t content);
    196196
    197197/** Releases the packet queue.
     
    202202 *  @param[in] packet_id The packet identifier.
    203203 */
    204 extern void pq_release_local(int phone, packet_id_t packet_id);
     204extern void pq_release_remote(int phone, packet_id_t packet_id);
    205205
    206206/** Returns the packet copy.
  • uspace/lib/net/include/tl_interface.h

    rd52fbaf r0a866eeb  
    4444#include <net_device.h>
    4545#include <packet/packet.h>
    46 #include <packet/packet_client.h>
     46#include <packet_client.h>
    4747#include <tl_messages.h>
    4848
Note: See TracChangeset for help on using the changeset viewer.