]> git.proxmox.com Git - mirror_iproute2.git/blobdiff - include/utils.h
ip: add a new parameter -Numeric
[mirror_iproute2.git] / include / utils.h
index 92bbe82d3366b175aea90674c40c1b25ce995308..0f57ee9727f8342595729dbf68088931c1f15988 100644 (file)
@@ -34,6 +34,7 @@ extern int timestamp_short;
 extern const char * _SL_;
 extern int max_flush_loops;
 extern int batch_mode;
+extern int numeric;
 extern bool do_all;
 
 #ifndef CONFDIR
@@ -127,6 +128,14 @@ struct dn_naddr
 # define CLOCK_TAI 11
 #endif
 
+#ifndef AF_XDP
+# define AF_XDP 44
+# if AF_MAX < 45
+#  undef AF_MAX
+#  define AF_MAX 45
+# endif
+#endif
+
 __u32 get_addr32(const char *name);
 int get_addr_1(inet_prefix *dst, const char *arg, int family);
 int get_prefix_1(inet_prefix *dst, char *arg, int family);