Subversion Repositories HelenOS

Rev

Rev 4307 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4307 Rev 4350
Line 29... Line 29...
29
/** @addtogroup packet
29
/** @addtogroup packet
30
 *  @{
30
 *  @{
31
 */
31
 */
32
 
32
 
33
/** @file
33
/** @file
-
 
34
 *  Packet server module messages.
34
 */
35
 */
35
 
36
 
36
#ifndef __NET_PACKET_MESSAGES__
37
#ifndef __NET_PACKET_MESSAGES__
37
#define __NET_PACKET_MESSAGES__
38
#define __NET_PACKET_MESSAGES__
38
 
39
 
39
#include <ipc/ipc.h>
40
#include <ipc/ipc.h>
40
 
41
 
41
#include "../../messages.h"
42
#include "../../messages.h"
42
 
43
 
-
 
44
/** Packet server module messages.
-
 
45
 */
43
typedef enum {
46
typedef enum {
-
 
47
    /** Create packet message with specified content length.
-
 
48
     *  @see packet_get_1()
-
 
49
     */
44
    NET_PACKET_CREATE_1 = NET_PACKET_FIRST,
50
    NET_PACKET_CREATE_1 = NET_PACKET_FIRST,
-
 
51
    /** Create packet message with specified address length, prefix, content and suffix.
-
 
52
     *  @see packet_get_4()
-
 
53
     */
45
    NET_PACKET_CREATE_4,
54
    NET_PACKET_CREATE_4,
-
 
55
    /** Get packet message.
-
 
56
     *  @see packet_return()
-
 
57
     */
46
    NET_PACKET_GET,
58
    NET_PACKET_GET,
-
 
59
    /** Get packet size message.
-
 
60
     *  @see packet_translate()
-
 
61
     */
47
    NET_PACKET_GET_SIZE,
62
    NET_PACKET_GET_SIZE,
-
 
63
    /** Release packet message.
-
 
64
     *  @see pq_release()
-
 
65
     */
48
    NET_PACKET_RELEASE
66
    NET_PACKET_RELEASE
49
} packet_messages;
67
} packet_messages;
50
 
68
 
51
/** Returns the protocol service message parameter.
69
/** Returns the protocol service message parameter.
52
 */
70
 */