-/* $OpenBSD: bgpd.h,v 1.328 2018/07/22 16:52:27 claudio Exp $ */
+/* $OpenBSD: bgpd.h,v 1.329 2018/08/08 14:29:05 claudio Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
int64_t ld2;
};
-struct wire_largecommunity {
- uint32_t as;
- uint32_t ld1;
- uint32_t ld2;
-};
-
struct filter_extcommunity {
u_int16_t flags;
u_int8_t type;
-/* $OpenBSD: rde_attr.c,v 1.106 2018/08/08 13:32:36 claudio Exp $ */
+/* $OpenBSD: rde_attr.c,v 1.107 2018/08/08 14:29:05 claudio Exp $ */
/*
* Copyright (c) 2004 Claudio Jeker <claudio@openbsd.org>
return (0);
}
+struct wire_largecommunity {
+ uint32_t as;
+ uint32_t ld1;
+ uint32_t ld2;
+};
+
int
community_large_match(struct rde_aspath *asp, int64_t as, int64_t ld1,
int64_t ld2)