diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2005-06-10 09:58:10 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2005-06-10 09:58:10 +0000 |
commit | 38bf32c05341b43c3f094cea79170097648de89f (patch) | |
tree | ea143834f22183dda5a52ec2e6e0dd9923b71ef5 /usr.sbin/bgpd/rde.h | |
parent | e9ac32bf84e6c5f68608deacf1171d30b57c187f (diff) |
Introduce attr_optlen() to get the total lenght of an optional attribute
plus header. Soon needed.
Diffstat (limited to 'usr.sbin/bgpd/rde.h')
-rw-r--r-- | usr.sbin/bgpd/rde.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/bgpd/rde.h b/usr.sbin/bgpd/rde.h index dc09c897489..a0862b3f9ec 100644 --- a/usr.sbin/bgpd/rde.h +++ b/usr.sbin/bgpd/rde.h @@ -1,4 +1,4 @@ -/* $OpenBSD: rde.h,v 1.64 2005/04/12 14:32:00 claudio Exp $ */ +/* $OpenBSD: rde.h,v 1.65 2005/06/10 09:58:09 claudio Exp $ */ /* * Copyright (c) 2003, 2004 Claudio Jeker <claudio@openbsd.org> and @@ -249,6 +249,7 @@ int rde_decisionflags(void); /* rde_attr.c */ int attr_write(void *, u_int16_t, u_int8_t, u_int8_t, void *, u_int16_t); +int attr_optlen(struct attr *); void attr_optcopy(struct rde_aspath *, struct rde_aspath *); int attr_optadd(struct rde_aspath *, u_int8_t, u_int8_t, void *, u_int16_t); |