diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2006-01-03 22:20:00 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2006-01-03 22:20:00 +0000 |
commit | 4408d355bf203228e260018e43cfbc145f9ea1d3 (patch) | |
tree | d0ccb664c5001a2930f258c48055384edb874f68 /usr.sbin/bgpd/rde.h | |
parent | a3c7f60ab9ba3c37009a70632cf95b8266282878 (diff) |
Move functions shared with bgpctl into new file util.c. Simplifies the
link between bgpctl and bgpd mostly because of rde_attr.c.
Diffstat (limited to 'usr.sbin/bgpd/rde.h')
-rw-r--r-- | usr.sbin/bgpd/rde.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/bgpd/rde.h b/usr.sbin/bgpd/rde.h index e33842a4b67..2dd90e7e40f 100644 --- a/usr.sbin/bgpd/rde.h +++ b/usr.sbin/bgpd/rde.h @@ -1,4 +1,4 @@ -/* $OpenBSD: rde.h,v 1.77 2005/12/30 17:20:21 claudio Exp $ */ +/* $OpenBSD: rde.h,v 1.78 2006/01/03 22:19:59 claudio Exp $ */ /* * Copyright (c) 2003, 2004 Claudio Jeker <claudio@openbsd.org> and @@ -273,9 +273,6 @@ u_int16_t aspath_neighbor(struct aspath *); int aspath_loopfree(struct aspath *, u_int16_t); int aspath_compare(struct aspath *, struct aspath *); struct aspath *aspath_prepend(struct aspath *, u_int16_t, int); -int aspath_snprint(char *, size_t, void *, u_int16_t); -int aspath_asprint(char **, void *, u_int16_t); -size_t aspath_strlen(void *, u_int16_t); int aspath_match(struct aspath *, enum as_spec, u_int16_t); int community_match(void *, u_int16_t, int, int); int community_set(struct attr *, int, int); @@ -359,4 +356,7 @@ int rde_filter_community(struct rde_aspath *, int, int); int rde_filter_equal(struct filter_head *, struct filter_head *, enum directions); +/* util.c */ +u_int16_t aspath_extract(const void *, int); + #endif /* __RDE_H__ */ |