Searched refs:auth_conf (Results 1 – 9 of 9) sorted by relevance
/openbsd/usr.sbin/bgpd/ |
H A D | control.c | 565 explicit_bzero(&peer.auth_conf, sizeof(peer.auth_conf)); in control_imsg_relay() 566 peer.auth_conf.method = p->auth_conf.method; in control_imsg_relay()
|
H A D | session.c | 1052 if (p->auth_conf.method != AUTH_NONE && sysdep.no_pfkey) { in session_accept() 1059 if (tcp_md5_check(connfd, &p->auth_conf) == -1) { in session_accept() 1105 if (peer->auth_conf.method != AUTH_NONE && sysdep.no_pfkey) { in session_connect() 1112 if (tcp_md5_set(peer->fd, &peer->auth_conf, in session_connect() 3808 if (p->auth_conf.method == AUTH_MD5SIG && in merge_peers() 3809 np->auth_conf.method != AUTH_MD5SIG) in merge_peers() 3811 else if (np->auth_conf.method == AUTH_MD5SIG) in merge_peers() 3815 memcpy(&p->auth_conf, &np->auth_conf, sizeof(p->auth_conf)); in merge_peers() 3867 if (np->auth_conf.method == AUTH_MD5SIG) in merge_peers()
|
H A D | session.h | 207 struct auth_config auth_conf; member
|
H A D | bgpd.c | 665 if (pfkey_send_conf(ibuf_se, p->conf.id, &p->auth_conf) == -1) in send_config() 669 if (pfkey_establish(&p->auth_state, &p->auth_conf, in send_config() 953 &p->auth_conf, session_localaddr(p), in dispatch_imsg()
|
H A D | parse.y | 2112 if (merge_auth_conf(&curpeer->auth_conf, &$1) == 0) 5087 if ((p->auth_conf.method == AUTH_IPSEC_IKE_ESP || in neighbor_consistent() 5088 p->auth_conf.method == AUTH_IPSEC_IKE_AH || in neighbor_consistent() 5089 p->auth_conf.method == AUTH_IPSEC_MANUAL_ESP || in neighbor_consistent() 5090 p->auth_conf.method == AUTH_IPSEC_MANUAL_AH) && in neighbor_consistent() 5098 if ((p->auth_conf.method == AUTH_IPSEC_MANUAL_ESP || in neighbor_consistent() 5099 p->auth_conf.method == AUTH_IPSEC_MANUAL_AH) && in neighbor_consistent() 5100 (!p->auth_conf.spi_in || !p->auth_conf.spi_out)) { in neighbor_consistent()
|
H A D | pfkey.c | 825 struct auth_config *auth = &p->auth_conf; in pfkey_recv_conf()
|
H A D | printconf.c | 871 print_auth(&peer->auth_conf, c); in print_peer()
|
/openbsd/usr.sbin/bgpctl/ |
H A D | output_json.c | 246 if (p->auth_conf.method != AUTH_NONE) in json_neighbor_full() 248 fmt_auth_method(p->auth_conf.method)); in json_neighbor_full()
|
H A D | output.c | 307 printf("%s\n", fmt_auth_method(p->auth_conf.method)); in show_neighbor_full()
|