Changes in uspace/lib/c/include/net/packet_header.h [46d4d9f:c69d327] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/net/packet_header.h
r46d4d9f rc69d327 124 124 /** Returns whether the packet is valid. 125 125 * @param[in] packet The packet to be checked. 126 * @return True if the packet is not NULL and the magic value is126 * @returns True if the packet is not NULL and the magic value is 127 127 * correct. 128 * @return False otherwise.128 * @returns False otherwise. 129 129 */ 130 static inline int packet_is_valid(const packet_t *packet)130 static inline int packet_is_valid(const packet_t packet) 131 131 { 132 132 return packet && (packet->magic_value == PACKET_MAGIC_VALUE);
Note:
See TracChangeset
for help on using the changeset viewer.