New enum for the IPv6 address scope.

2000-02-05  Martin Baulig  <martin@home-of-linux.org>

	* include/glibtop/interfaces.h (glibtop_ipv6_scope): New
	enum for the IPv6 address scope.
This commit is contained in:
Martin Baulig
2000-02-04 23:06:33 +00:00
committed by Martin Baulig
parent a7d39be2b5
commit faec393b8d

View File

@@ -59,6 +59,8 @@ typedef enum _glibtop_interface_type glibtop_interface_type;
typedef enum _glibtop_transport glibtop_transport; typedef enum _glibtop_transport glibtop_transport;
typedef enum _glibtop_protocol glibtop_protocol; typedef enum _glibtop_protocol glibtop_protocol;
typedef enum _glibtop_ipv6_scope glibtop_ipv6_scope;
typedef enum _glibtop_strategy glibtop_strategy; typedef enum _glibtop_strategy glibtop_strategy;
typedef enum _glibtop_interface_flags glibtop_interface_flags; typedef enum _glibtop_interface_flags glibtop_interface_flags;
@@ -110,6 +112,14 @@ enum _glibtop_interface_type {
GLIBTOP_INTERFACE_ISDN GLIBTOP_INTERFACE_ISDN
}; };
enum _glibtop_ipv6_scope {
GLIBTOP_IPV6_SCOPE_UNKNOWN = 0,
GLIBTOP_IPV6_SCOPE_LOOPBACK = 1 << 0,
GLIBTOP_IPV6_SCOPE_LINKLOCAL = 1 << 1,
GLIBTOP_IPV6_SCOPE_SITELOCAL = 1 << 2,
GLIBTOP_IPV6_SCOPE_COMPATv4 = 1 << 3
};
enum _glibtop_strategy { enum _glibtop_strategy {
GLIBTOP_INTERFACES_ALL = 0, GLIBTOP_INTERFACES_ALL = 0,
GLIBTOP_INTERFACES_BEST_MATCHING, GLIBTOP_INTERFACES_BEST_MATCHING,