summaryrefslogtreecommitdiff
path: root/conf/confbase.Y
diff options
context:
space:
mode:
authorMaria Matejka <mq@ucw.cz>2023-10-15 16:04:36 +0200
committerMaria Matejka <mq@ucw.cz>2024-03-25 14:15:30 +0100
commit08571b20598c58877e1565403d970efc2b90dba6 (patch)
tree0471beb4512650ff31f179ba375757f4f9400e01 /conf/confbase.Y
parentb95dc8f29f18eb177f91fdc4bf0716fac9b15366 (diff)
ASPA: basic data structures and Static protocol support
Diffstat (limited to 'conf/confbase.Y')
-rw-r--r--conf/confbase.Y9
1 files changed, 8 insertions, 1 deletions
diff --git a/conf/confbase.Y b/conf/confbase.Y
index ed3c1e6e..cdbdf1ce 100644
--- a/conf/confbase.Y
+++ b/conf/confbase.Y
@@ -118,7 +118,7 @@ CF_DECLS
%type <time> expr_us time
%type <a> ipa
%type <net> net_ip4_ net_ip4 net_ip6_ net_ip6 net_ip_ net_ip net_or_ipa
-%type <net_ptr> net_ net_any net_vpn4_ net_vpn6_ net_vpn_ net_roa4_ net_roa6_ net_roa_ net_ip6_sadr_ net_mpls_
+%type <net_ptr> net_ net_any net_vpn4_ net_vpn6_ net_vpn_ net_roa4_ net_roa6_ net_roa_ net_ip6_sadr_ net_mpls_ net_aspa_
%type <mls> label_stack_start label_stack
%type <t> text opttext
@@ -299,6 +299,12 @@ net_mpls_: MPLS NUM
net_fill_mpls($$, $2);
}
+net_aspa_: ASPA NUM
+{
+ $$ = cfg_alloc(sizeof(net_addr_aspa));
+ net_fill_aspa($$, $2);
+}
+
net_ip_: net_ip4_ | net_ip6_ ;
net_vpn_: net_vpn4_ | net_vpn6_ ;
net_roa_: net_roa4_ | net_roa6_ ;
@@ -310,6 +316,7 @@ net_:
| net_flow_
| net_ip6_sadr_
| net_mpls_
+ | net_aspa_
;