summaryrefslogtreecommitdiff
path: root/sysdep/linux/netlink/netlink.Y
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2012-04-30 22:21:52 +0200
committerOndrej Zajicek <santiago@crfreenet.org>2012-04-30 22:25:24 +0200
commitf1aceff59bbf942bc11c2e9a4c51e381c06f2b20 (patch)
treef309df0372a59198a795ab776deef6c4276f1ad8 /sysdep/linux/netlink/netlink.Y
parent396dfa9042305f62da1f56589c4b98fac57fc2f6 (diff)
Cleanup in sysdep KRT code, part 2.
Remove support for historic Linux kernels, merge krt-iface, krt-set and krt-scan stub headers.
Diffstat (limited to 'sysdep/linux/netlink/netlink.Y')
-rw-r--r--sysdep/linux/netlink/netlink.Y32
1 files changed, 0 insertions, 32 deletions
diff --git a/sysdep/linux/netlink/netlink.Y b/sysdep/linux/netlink/netlink.Y
deleted file mode 100644
index 51689ff9..00000000
--- a/sysdep/linux/netlink/netlink.Y
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * BIRD -- Linux Netlink Configuration
- *
- * (c) 1999--2000 Martin Mares <mj@ucw.cz>
- *
- * Can be freely distributed and used under the terms of the GNU GPL.
- */
-
-CF_HDR
-
-CF_DECLS
-
-CF_KEYWORDS(ASYNC, KERNEL, TABLE, KRT_PREFSRC, KRT_REALM)
-
-CF_GRAMMAR
-
-CF_ADDTO(kern_proto, kern_proto nl_item ';')
-
-nl_item:
- KERNEL TABLE expr {
- if ($3 <= 0 || $3 >= NL_NUM_TABLES)
- cf_error("Kernel routing table number out of range");
- THIS_KRT->sys.table_id = $3;
- }
- ;
-
-CF_ADDTO(dynamic_attr, KRT_PREFSRC { $$ = f_new_dynamic_attr(EAF_TYPE_IP_ADDRESS, T_IP, EA_KRT_PREFSRC); })
-CF_ADDTO(dynamic_attr, KRT_REALM { $$ = f_new_dynamic_attr(EAF_TYPE_INT, T_INT, EA_KRT_REALM); })
-
-CF_CODE
-
-CF_END