diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2003-12-21 22:16:54 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2003-12-21 22:16:54 +0000 |
commit | 8457d52edd104d4996c3c3c8894f770214c632e8 (patch) | |
tree | aa17859eab0b6d68c19b335e87f8978d0aebecca /usr.sbin/bgpd/rde.h | |
parent | 23495634e653d596492ca742142b25d18babc127 (diff) |
overhaul the write buffering code.
introduce msgbuf API and bundle all info needed for the write buffers in a
struct msgbuf.
also switch to a write queue per handled connection (each bgp session, each
pipe) instead of one big one.
fixes some subtle problems and is overall nicer.
ok claudio@
Diffstat (limited to 'usr.sbin/bgpd/rde.h')
-rw-r--r-- | usr.sbin/bgpd/rde.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.sbin/bgpd/rde.h b/usr.sbin/bgpd/rde.h index 4f1766a2544..fc9823d340f 100644 --- a/usr.sbin/bgpd/rde.h +++ b/usr.sbin/bgpd/rde.h @@ -1,4 +1,4 @@ -/* $OpenBSD: rde.h,v 1.4 2003/12/21 16:11:34 claudio Exp $ */ +/* $OpenBSD: rde.h,v 1.5 2003/12/21 22:16:53 henning Exp $ */ /* * Copyright (c) 2003 Claudio Jeker <cjeker@diehard.n-r-g.com> and @@ -244,8 +244,7 @@ struct pt_entry *pt_get(struct in_addr, int); struct pt_entry *pt_add(struct in_addr, int); void pt_remove(struct pt_entry *); struct pt_entry *pt_lookup(struct in_addr); -void pt_dump(void (*)(struct pt_entry *, int, int *, void *), - int, int *, void *); +void pt_dump(void (*)(struct pt_entry *, void *), void *); #endif /* __RDE_H__ */ |