Rev 3912 | Rev 4307 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3912 | Rev 3990 | ||
---|---|---|---|
Line 35... | Line 35... | ||
35 | */ |
35 | */ |
36 | 36 | ||
37 | #ifndef __NET_PACKET_HEADER_H__ |
37 | #ifndef __NET_PACKET_HEADER_H__ |
38 | #define __NET_PACKET_HEADER_H__ |
38 | #define __NET_PACKET_HEADER_H__ |
39 | 39 | ||
40 | #include <ipc/services.h> |
- | |
41 | - | ||
42 | #include "packet.h" |
40 | #include "packet.h" |
43 | 41 | ||
44 | /** Packet integrity check magic value. |
42 | /** Packet integrity check magic value. |
45 | */ |
43 | */ |
46 | #define PACKET_MAGIC_VALUE 0x11227788 |
44 | #define PACKET_MAGIC_VALUE 0x11227788 |
Line 49... | Line 47... | ||
49 | */ |
47 | */ |
50 | struct packet{ |
48 | struct packet{ |
51 | /** Packet identifier. |
49 | /** Packet identifier. |
52 | */ |
50 | */ |
53 | packet_id_t packet_id; |
51 | packet_id_t packet_id; |
54 | //TODO packet owner not used |
- | |
55 | /** Packet owner. |
- | |
56 | */ |
- | |
57 | services_t owner; |
- | |
58 | //TODO needed packet mode? |
- | |
59 | /** Packet mode. |
- | |
60 | */ |
- | |
61 | packet_mode_t mode; |
- | |
62 | /** Packet queue sorting value. |
52 | /** Packet queue sorting value. |
63 | * The packet queue is sorted the ascending order. |
53 | * The packet queue is sorted the ascending order. |
64 | */ |
54 | */ |
65 | int order; |
55 | int order; |
66 | /** Packet metric. |
56 | /** Packet metric. |