Searched refs:pt_entry (Results 1 - 4 of 4) sorted by relevance

/openbsd-current/usr.sbin/bgpd/
H A Drde_prefix.c36 * unlinks from the prefix table and frees the pt_entry.
42 * pt_empty: returns true if there is no bgp prefix linked to the pt_entry.
44 * pt_alloc: allocate a AF specific pt_entry. Internal function.
45 * pt_free: free a pt_entry. Internal function.
49 static struct pt_entry *pt_alloc(struct pt_entry *, int len);
50 static void pt_free(struct pt_entry *);
53 RB_ENTRY(pt_entry) pt_e;
62 RB_ENTRY(pt_entry) pt_e;
71 RB_ENTRY(pt_entry) pt_
[all...]
H A Drde.h47 struct pt_entry *prefix;
256 struct pt_entry { struct
257 RB_ENTRY(pt_entry) pt_e;
276 struct pt_entry *pt;
498 void pt_getaddr(struct pt_entry *, struct bgpd_addr *);
499 int pt_getflowspec(struct pt_entry *, uint8_t **);
500 struct pt_entry *pt_fill(struct bgpd_addr *, int);
501 struct pt_entry *pt_get(struct bgpd_addr *, int);
502 struct pt_entry *pt_add(struct bgpd_addr *, int);
503 struct pt_entry *pt_get_flo
[all...]
H A Drde_update.c405 struct pt_entry *pte;
/openbsd-current/regress/usr.sbin/bgpd/unittests/
H A Drde_decide_test.c36 struct pt_entry dummy_pt;
406 pt_getaddr(struct pt_entry *pte, struct bgpd_addr *addr)

Completed in 144 milliseconds