Changes in uspace/lib/packet/generic/packet_server.c [28a3e74:ffa2c8ef] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/packet/generic/packet_server.c
r28a3e74 rffa2c8ef 112 112 size_t max_content, size_t max_suffix) 113 113 { 114 / * Clear the packet content */114 // clear the packet content 115 115 bzero(((void *) packet) + sizeof(packet_t), 116 116 packet->length - sizeof(packet_t)); 117 117 118 / * Clear the packet header */118 // clear the packet header 119 119 packet->order = 0; 120 120 packet->metric = 0; … … 151 151 assert(fibril_mutex_is_locked(&ps_globals.lock)); 152 152 153 / * Already locked */153 // already locked 154 154 packet = (packet_t *) mmap(NULL, length, PROTO_READ | PROTO_WRITE, 155 155 MAP_SHARED | MAP_ANONYMOUS, 0, 0);
Note:
See TracChangeset
for help on using the changeset viewer.