/dports/net/openbgpd6/openbgpd-6.9p0/src/bgpd/ |
H A D | bgpd.h | 195 struct bgpd_addr { struct 436 struct bgpd_addr prefix; 664 struct bgpd_addr prefix; 699 struct bgpd_addr net; 727 struct bgpd_addr addr; 743 struct bgpd_addr addr; 768 struct bgpd_addr addr; 785 struct bgpd_addr prefix; 875 struct bgpd_addr prefix; 1013 struct bgpd_addr addr; [all …]
|
H A D | rde.h | 86 struct bgpd_addr remote_addr; 87 struct bgpd_addr local_v4_addr; 88 struct bgpd_addr local_v6_addr; 244 struct bgpd_addr exit_nexthop; 245 struct bgpd_addr true_nexthop; 246 struct bgpd_addr nexthop_net; 367 const struct bgpd_addr *, u_int8_t); 514 struct pt_entry *pt_lookup(struct bgpd_addr *); 573 struct bgpd_addr *, int); 579 struct bgpd_addr *, int); [all …]
|
H A D | util.c | 38 log_addr(const struct bgpd_addr *addr) in log_addr() 498 nlri_get_prefix(u_char *p, u_int16_t len, struct bgpd_addr *prefix, in nlri_get_prefix() 510 bzero(prefix, sizeof(struct bgpd_addr)); in nlri_get_prefix() 524 nlri_get_prefix6(u_char *p, u_int16_t len, struct bgpd_addr *prefix, in nlri_get_prefix6() 536 bzero(prefix, sizeof(struct bgpd_addr)); in nlri_get_prefix6() 550 nlri_get_vpn4(u_char *p, u_int16_t len, struct bgpd_addr *prefix, in nlri_get_vpn4() 564 bzero(prefix, sizeof(struct bgpd_addr)); in nlri_get_vpn4() 613 nlri_get_vpn6(u_char *p, u_int16_t len, struct bgpd_addr *prefix, in nlri_get_vpn6() 627 memset(prefix, 0, sizeof(struct bgpd_addr)); in nlri_get_vpn6() 685 prefix_compare(const struct bgpd_addr *a, const struct bgpd_addr *b, in prefix_compare() [all …]
|
H A D | rde_prefix.c | 73 pt_getaddr(struct pt_entry *pte, struct bgpd_addr *addr) in pt_getaddr() 75 bzero(addr, sizeof(struct bgpd_addr)); in pt_getaddr() 107 pt_fill(struct bgpd_addr *prefix, int prefixlen) in pt_fill() 161 pt_get(struct bgpd_addr *prefix, int prefixlen) in pt_get() 170 pt_add(struct bgpd_addr *prefix, int prefixlen) in pt_add() 195 pt_lookup(struct bgpd_addr *addr) in pt_lookup()
|
H A D | rde_rib.c | 42 struct rib_entry *rib_add(struct rib *, struct bgpd_addr *, int); 314 rib_match(struct rib *rib, struct bgpd_addr *addr) in rib_match() 924 prefix_match(struct rde_peer *peer, struct bgpd_addr *addr) in prefix_match() 1098 struct bgpd_addr *prefix, int prefixlen) in prefix_withdraw() 1617 struct nexthop_head *nexthop_hash(struct bgpd_addr *); 1618 struct nexthop *nexthop_lookup(struct bgpd_addr *); 1837 nexthop_get(struct bgpd_addr *nexthop) in nexthop_get() 1896 struct bgpd_addr *a, *b; in nexthop_compare() 1927 nexthop_lookup(struct bgpd_addr *nexthop) in nexthop_lookup() 1933 sizeof(struct bgpd_addr)) == 0) in nexthop_lookup() [all …]
|
H A D | pfkey.c | 50 struct bgpd_addr *, struct bgpd_addr *, 58 static struct bgpd_addr * 72 struct bgpd_addr *src, struct bgpd_addr *dst, u_int32_t spi, in pfkey_send() 511 pfkey_sa_add(struct bgpd_addr *src, struct bgpd_addr *dst, u_int8_t keylen, in pfkey_sa_add() 528 pfkey_sa_remove(struct bgpd_addr *src, struct bgpd_addr *dst, u_int32_t *spi) in pfkey_sa_remove() 597 struct bgpd_addr *local_addr = pfkey_localaddr(p); in pfkey_ipsec_establish()
|
H A D | session.h | 213 struct bgpd_addr local_addr; 219 struct bgpd_addr local; 220 struct bgpd_addr local_alt; 221 struct bgpd_addr remote;
|
H A D | mrt.c | 38 struct bgpd_addr *, int); 148 struct bgpd_addr *nexthop, int v2) in mrt_attr_dump() 271 struct bgpd_addr addr, nexthop, *nh; in mrt_dump_entry_mp() 333 bzero(&nexthop, sizeof(struct bgpd_addr)); in mrt_dump_entry_mp() 410 struct bgpd_addr addr, *nh; in mrt_dump_entry() 427 bzero(&addr, sizeof(struct bgpd_addr)); in mrt_dump_entry() 496 struct bgpd_addr addr; in mrt_dump_entry_v2() 540 struct bgpd_addr *nh; in mrt_dump_entry_v2() 545 bzero(&addr, sizeof(struct bgpd_addr)); in mrt_dump_entry_v2()
|
H A D | rde_update.c | 102 struct bgpd_addr addr; in up_generate_updates() 186 struct rib_entry *rib_add(struct rib *, struct bgpd_addr *, int); 198 struct bgpd_addr addr; in up_generate_default() 244 static struct bgpd_addr * 247 struct bgpd_addr *peer_local; in up_get_nexthop() 602 struct bgpd_addr addr; in up_dump_prefix() 757 struct bgpd_addr *nexthop; in up_generate_mp_reach()
|
H A D | kroute-disabled.c | 43 struct bgpd_addr nexthop; 49 struct bgpd_addr prefix; 144 knexthop_find(struct ktable *kt, struct bgpd_addr *addr) in knexthop_find() 192 kr_nexthop_add(u_int rtableid, struct bgpd_addr *addr, struct bgpd_config *conf) in kr_nexthop_add() 222 kr_nexthop_delete(u_int rtableid, struct bgpd_addr *addr, in kr_nexthop_delete() 303 struct bgpd_addr addr; in knexthop_send_update()
|
H A D | rde.c | 1044 struct bgpd_addr p = { in rde_dispatch_imsg_rtr() 1132 struct bgpd_addr prefix; in rde_update_dispatch() 1591 struct bgpd_addr nexthop; in rde_attr_parse() 2034 struct bgpd_addr nexthop; in rde_get_mp_nexthop() 2453 struct bgpd_addr addr; in rde_dump_prefix_upcall() 2490 struct bgpd_addr addr; in rde_dump_adjout_prefix_upcall() 2813 struct bgpd_addr addr; in rde_send_kroute() 3508 struct bgpd_addr prefix; in rde_softreconfig_in() 3641 struct bgpd_addr prefix; in rde_roa_softreload() 3971 struct bgpd_addr addr; in network_dump_upcall() [all …]
|
H A D | rde_filter.c | 182 rde_prefix_match(struct filter_prefix *fp, struct bgpd_addr *prefix, in rde_prefix_match() 215 struct bgpd_addr *prefix, u_int8_t plen, u_int8_t vstate) in rde_filter_match() 250 struct bgpd_addr *nexthop, *cmpaddr; in rde_filter_match() 770 struct rde_peer *from, struct bgpd_addr *prefix, u_int8_t plen, in rde_filter()
|
H A D | rde_trie.c | 317 trie_add(struct trie_head *th, struct bgpd_addr *prefix, u_int8_t plen, in trie_add() 556 trie_match(struct trie_head *th, struct bgpd_addr *prefix, u_int8_t plen, in trie_match() 673 trie_roa_check(struct trie_head *th, struct bgpd_addr *prefix, u_int8_t plen, in trie_roa_check()
|
H A D | config.c | 34 int host_ip(const char *, struct bgpd_addr *, u_int8_t *); 386 host(const char *s, struct bgpd_addr *h, u_int8_t *len) in host() 420 host_ip(const char *s, struct bgpd_addr *h, u_int8_t *len) in host_ip()
|
H A D | pfkey-linux.c | 77 install_tcp_md5(int fd, struct bgpd_addr *addr, char *key, u_int8_t key_len) in install_tcp_md5()
|
H A D | pftable.c | 174 pftable_add_work(const char *table, struct bgpd_addr *addr, in pftable_add_work()
|
H A D | kroute.c | 67 struct bgpd_addr nexthop; 73 struct bgpd_addr prefix; 143 struct knexthop_node *knexthop_find(struct ktable *, struct bgpd_addr *); 1010 kr_nexthop_add(u_int rtableid, struct bgpd_addr *addr, struct bgpd_config *conf) in kr_nexthop_add() 1040 kr_nexthop_delete(u_int rtableid, struct bgpd_addr *addr, in kr_nexthop_delete() 1090 struct bgpd_addr *addr; in kr_show_route() 1139 sizeof(struct bgpd_addr)) { in kr_show_route() 2096 knexthop_find(struct ktable *kt, struct bgpd_addr *addr) in knexthop_find() 3565 struct bgpd_addr prefix; in dispatch_rtmsg_addr()
|
H A D | session.c | 101 int session_match_mask(struct peer *, struct bgpd_addr *); 1052 struct bgpd_addr *bind_addr = NULL; in session_connect() 1223 struct bgpd_addr ba, bb; in sa_cmp() 1232 get_alternate_addr(struct sockaddr *sa, struct bgpd_addr *alt) in get_alternate_addr() 3025 struct bgpd_addr addr; in getpeerbyip() 3102 struct bgpd_addr remote_addr; in session_template_clone() 3134 session_match_mask(struct peer *p, struct bgpd_addr *a) in session_match_mask()
|
/dports/net/openbgpd6/openbgpd-6.9p0/src/bgpctl/ |
H A D | mrtparser.h | 22 struct bgpd_addr addr; 42 struct bgpd_addr nexthop; 54 struct bgpd_addr prefix; 63 struct bgpd_addr src; 64 struct bgpd_addr dst; 73 struct bgpd_addr src; 74 struct bgpd_addr dst;
|
H A D | parser.h | 62 struct bgpd_addr addr; 63 struct bgpd_addr peeraddr; 84 int parse_prefix(const char *, size_t, struct bgpd_addr *,
|
H A D | util.c | 38 log_addr(const struct bgpd_addr *addr) in log_addr() 498 nlri_get_prefix(u_char *p, u_int16_t len, struct bgpd_addr *prefix, in nlri_get_prefix() 510 bzero(prefix, sizeof(struct bgpd_addr)); in nlri_get_prefix() 524 nlri_get_prefix6(u_char *p, u_int16_t len, struct bgpd_addr *prefix, in nlri_get_prefix6() 536 bzero(prefix, sizeof(struct bgpd_addr)); in nlri_get_prefix6() 550 nlri_get_vpn4(u_char *p, u_int16_t len, struct bgpd_addr *prefix, in nlri_get_vpn4() 564 bzero(prefix, sizeof(struct bgpd_addr)); in nlri_get_vpn4() 613 nlri_get_vpn6(u_char *p, u_int16_t len, struct bgpd_addr *prefix, in nlri_get_vpn6() 627 memset(prefix, 0, sizeof(struct bgpd_addr)); in nlri_get_vpn6() 685 prefix_compare(const struct bgpd_addr *a, const struct bgpd_addr *b, in prefix_compare() [all …]
|
H A D | bgpctl.h | 44 char *fmt_peer(const char *, const struct bgpd_addr *, int);
|
H A D | parser.c | 488 int parse_addr(const char *, struct bgpd_addr *); 891 parse_addr(const char *word, struct bgpd_addr *addr) in parse_addr() 899 bzero(addr, sizeof(struct bgpd_addr)); in parse_addr() 922 parse_prefix(const char *word, size_t wordlen, struct bgpd_addr *addr, u_int8_t *prefixlen) in parse_prefix() 931 bzero(addr, sizeof(struct bgpd_addr)); in parse_prefix()
|
H A D | mrtparser.c | 50 int mrt_extract_addr(void *, u_int, struct bgpd_addr *, u_int8_t); 51 int mrt_extract_prefix(void *, u_int, u_int8_t, struct bgpd_addr *, 959 mrt_extract_addr(void *msg, u_int len, struct bgpd_addr *addr, u_int8_t aid) in mrt_extract_addr() 1000 struct bgpd_addr *prefix, u_int8_t *prefixlen, int verbose) in mrt_extract_prefix()
|
H A D | output_json.c | 545 struct bgpd_addr prefix; in json_attr() 696 struct bgpd_addr nexthop; in json_attr()
|