Changeset View
Changeset View
Standalone View
Standalone View
sys/netinet/libalias/alias.h
Show First 20 Lines • Show All 222 Lines • ▼ Show 20 Lines | |||||
#endif | #endif | ||||
/* | /* | ||||
* If PKT_ALIAS_SKIP_GLOBAL is set, nat instance is not checked for matching | * If PKT_ALIAS_SKIP_GLOBAL is set, nat instance is not checked for matching | ||||
* states in 'ipfw nat global' rule. | * states in 'ipfw nat global' rule. | ||||
*/ | */ | ||||
#define PKT_ALIAS_SKIP_GLOBAL 0x200 | #define PKT_ALIAS_SKIP_GLOBAL 0x200 | ||||
/* | |||||
* Like PKT_ALIAS_UNREGISTERED_ONLY, but includes the RFC 6598 | |||||
* (Carrier Grade NAT) address range as follows: | |||||
* | |||||
* 100.64.0.0 -> 100.127.255.255 | |||||
*/ | |||||
#define PKT_ALIAS_UNREGISTERED_RFC6598 0x400 | |||||
melifaro: Can the definition be "..UNREGISTERED_CGN" or "..UNREGISTERED_SHARED" as stated in IANA… | |||||
/* Function return codes. */ | /* Function return codes. */ | ||||
#define PKT_ALIAS_ERROR -1 | #define PKT_ALIAS_ERROR -1 | ||||
#define PKT_ALIAS_OK 1 | #define PKT_ALIAS_OK 1 | ||||
#define PKT_ALIAS_IGNORED 2 | #define PKT_ALIAS_IGNORED 2 | ||||
#define PKT_ALIAS_UNRESOLVED_FRAGMENT 3 | #define PKT_ALIAS_UNRESOLVED_FRAGMENT 3 | ||||
#define PKT_ALIAS_FOUND_HEADER_FRAGMENT 4 | #define PKT_ALIAS_FOUND_HEADER_FRAGMENT 4 | ||||
#endif /* !_ALIAS_H_ */ | #endif /* !_ALIAS_H_ */ | ||||
/* lint -restore */ | /* lint -restore */ |
Can the definition be "..UNREGISTERED_CGN" or "..UNREGISTERED_SHARED" as stated in IANA registry to be consistent with the rest of the patch?