#define SIZE_OF_IP_HEADER

This commit is contained in:
Ondrej Filip 2000-06-07 01:18:36 +00:00
parent bd457b8d21
commit 3df89cefc1
3 changed files with 3 additions and 1 deletions

View file

@ -37,6 +37,7 @@ typedef u32 ip_addr;
#define BITS_PER_IP_ADDRESS 32 #define BITS_PER_IP_ADDRESS 32
#define STD_ADDRESS_P_LENGTH 15 #define STD_ADDRESS_P_LENGTH 15
#define SIZE_OF_IP_HEADER 24
#define IPA_NONE (_MI(0)) #define IPA_NONE (_MI(0))

View file

@ -24,6 +24,7 @@ typedef struct ipv6_addr {
#define BITS_PER_IP_ADDRESS 128 #define BITS_PER_IP_ADDRESS 128
#define STD_ADDRESS_P_LENGTH 39 #define STD_ADDRESS_P_LENGTH 39
#define SIZE_OF_IP_HEADER 40
#define IPA_NONE _MI(0,0,0,0) #define IPA_NONE _MI(0,0,0,0)

View file

@ -9,7 +9,7 @@
#ifndef _BIRD_OSPF_H_ #ifndef _BIRD_OSPF_H_
#define _BIRD_OSPF_H_ #define _BIRD_OSPF_H_
#define SIPH 64 /* FIXME Size Of IP header */ #define SIPH SIZE_OF_IP_HEADER
#define MAXNETS 10 #define MAXNETS 10
#ifdef LOCAL_DEBUG #ifdef LOCAL_DEBUG
#define OSPF_FORCE_DEBUG 1 #define OSPF_FORCE_DEBUG 1