mirror of
https://gitlab.labs.nic.cz/labs/bird.git
synced 2024-05-11 16:54:54 +00:00
#define SIZE_OF_IP_HEADER
This commit is contained in:
@@ -37,6 +37,7 @@ typedef u32 ip_addr;
|
||||
|
||||
#define BITS_PER_IP_ADDRESS 32
|
||||
#define STD_ADDRESS_P_LENGTH 15
|
||||
#define SIZE_OF_IP_HEADER 24
|
||||
|
||||
#define IPA_NONE (_MI(0))
|
||||
|
||||
|
@@ -24,6 +24,7 @@ typedef struct ipv6_addr {
|
||||
|
||||
#define BITS_PER_IP_ADDRESS 128
|
||||
#define STD_ADDRESS_P_LENGTH 39
|
||||
#define SIZE_OF_IP_HEADER 40
|
||||
|
||||
#define IPA_NONE _MI(0,0,0,0)
|
||||
|
||||
|
Reference in New Issue
Block a user