Prusa MINI Firmware overview
|
#include "lwip/arch.h"
Go to the source code of this file.
Macros | |
#define | IP_PROTO_ICMP 1 |
#define | IP_PROTO_IGMP 2 |
#define | IP_PROTO_UDP 17 |
#define | IP_PROTO_UDPLITE 136 |
#define | IP_PROTO_TCP 6 |
#define | IP_HDR_GET_VERSION(ptr) ((*(u8_t*)(ptr)) >> 4) |
IP protocol definitions
#define IP_PROTO_ICMP 1 |
#define IP_PROTO_IGMP 2 |
#define IP_PROTO_UDP 17 |
#define IP_PROTO_UDPLITE 136 |
#define IP_PROTO_TCP 6 |
#define IP_HDR_GET_VERSION | ( | ptr | ) | ((*(u8_t*)(ptr)) >> 4) |
This operates on a void* by loading the first byte