-/* $OpenBSD: bgpd.h,v 1.335 2018/09/07 10:49:22 claudio Exp $ */
+/* $OpenBSD: bgpd.h,v 1.336 2018/09/07 11:50:32 benno Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
/* parse.y */
int cmdline_symset(char *);
struct prefixset *find_prefixset(char *, struct prefixset_head *);
-struct prefixset_item *find_prefixsetitem(struct prefixset_item *i,
- struct prefixset_items_h *psitems);
/* pftable.c */
int pftable_exists(const char *);
-/* $OpenBSD: parse.y,v 1.336 2018/09/07 09:38:04 benno Exp $ */
+/* $OpenBSD: parse.y,v 1.337 2018/09/07 11:50:32 benno Exp $ */
/*
* Copyright (c) 2002, 2003, 2004 Henning Brauer <henning@openbsd.org>
return (NULL);
}
-/* returns the prefixset_item from psitems that matches i */
-struct prefixset_item *
-find_prefixsetitem(struct prefixset_item *i, struct prefixset_items_h *psitems)
-{
- struct prefixset_item *psi;
-
- SIMPLEQ_FOREACH(psi, psitems, entry) {
- if (memcmp(&i->p, &psi->p, sizeof(psi->p)) == 0)
- return(psi);
- }
- return (NULL);
-}
-
int
get_id(struct peer *newpeer)
{