|
lwIP 2.0.0
lwIP 2.0.0
LightweightIPstack
|
#include "lwip/arch.h"Macros | |
| #define | IP_HDR_GET_VERSION(ptr) ((*(u8_t*)(ptr)) >> 4) |
IP protocol definitions
| #define IP_HDR_GET_VERSION | ( | ptr | ) | ((*(u8_t*)(ptr)) >> 4) |
This operates on a void* by loading the first byte