Home
last modified time | relevance | path

Searched refs:auth_type (Results 1 – 25 of 36) sorted by relevance

12

/openbsd/usr.sbin/tcpdump/
H A Dprint-vrrp.c70 int version, type, auth_type; in vrrp_print() local
88 auth_type = bp[4]; in vrrp_print()
89 if (auth_type != 0) in vrrp_print()
90 printf(" authtype=%d", auth_type); in vrrp_print()
112 if (auth_type == 1) { /* simple text password */ in vrrp_print()
/openbsd/usr.sbin/ripd/
H A Dauth.c92 if (iface->auth_type != AUTH_NONE) { in auth_validate()
99 if (ntohs(auth_head->auth_type) != in auth_validate()
100 (u_int16_t)iface->auth_type) { in auth_validate()
106 switch (iface->auth_type) { in auth_validate()
203 auth_head.auth_type = htons(iface->auth_type); in auth_gen()
207 switch (iface->auth_type) { in auth_gen()
H A Dripd.h152 enum auth_type { enum
184 enum auth_type auth_type; member
351 const char *if_auth_name(enum auth_type);
H A Dprintconf.c111 printf("\tauth-type %s\n", if_auth_name(iface->auth_type)); in print_iface()
112 switch (iface->auth_type) { in print_iface()
H A Dparse.y82 enum auth_type auth_type; member
285 enum auth_type type;
299 defs->auth_type = type;
355 iface->auth_type = defs->auth_type;
780 defs->auth_type = AUTH_NONE; in parse_config()
H A Dlogmsg.c55 if_auth_name(enum auth_type type) in if_auth_name()
H A Drip.h72 u_int16_t auth_type; member
H A Dmessage.c264 if (iface->auth_type != AUTH_NONE) { in send_response()
305 if (iface->auth_type == AUTH_CRYPT) in send_response()
H A Dpacket.c167 if (nbr == NULL && iface->auth_type == AUTH_CRYPT) in recv_packet()
/openbsd/usr.bin/skeyinit/
H A Dskeyinit.c51 char lastc, *p, *auth_type; in main() local
58 ht = auth_type = NULL; in main()
67 auth_type = argv[i]; in main()
71 if (auth_type == NULL) in main()
72 auth_type = "skey"; in main()
172 if (!defaultsetup && strcmp(auth_type, "skey") == 0) { in main()
189 if (!auth_userokay(pp->pw_name, auth_type, NULL, NULL)) in main()
/openbsd/usr.sbin/ospfd/
H A Dospfd.h277 enum auth_type { enum
361 enum auth_type auth_type; member
487 enum auth_type auth_type; member
602 const char *if_auth_name(enum auth_type);
H A Dauth.c43 if (ntohs(ospf_hdr->auth_type) != (u_int16_t)iface->auth_type) { in auth_validate()
49 switch (iface->auth_type) { in auth_validate()
155 switch (iface->auth_type) { in auth_gen()
H A Dprintconf.c155 printf("\t\tauth-type %s\n", if_auth_name(iface->auth_type)); in print_iface()
156 switch (iface->auth_type) { in print_iface()
H A Dlogmsg.c101 if_auth_name(enum auth_type type) in if_auth_name()
H A Dparse.y103 enum auth_type auth_type; member
479 enum auth_type type;
493 defs->auth_type = type;
730 iface->auth_type = defs->auth_type;
H A Dpacket.c56 ospf_hdr.auth_type = htons(iface->auth_type); in gen_ospf_hdr()
H A Dospf.h140 u_int16_t auth_type; member
H A Dospfd.c670 if (iface->auth_type == AUTH_CRYPT) in ospf_reload()
889 i->auth_type = xi->auth_type; in merge_interfaces()
/openbsd/usr.sbin/npppd/npppd/
H A Dnpppd_config.c242 if (auth->auth_type == NPPPD_AUTH_TYPE_RADIUS) { in npppd_auth_realm_reload()
250 npppd_auth_get_type(auth_base) != auth->auth_type) { in npppd_auth_realm_reload()
261 if ((auth_base = npppd_auth_create(auth->auth_type, in npppd_auth_realm_reload()
H A Dlcp.c1097 if (dpi->auth_type != 0) { in lcp_dialin_proxy()
1099 if (_this->auth_order[i] != dpi->auth_type) in lcp_dialin_proxy()
1110 lcp_auth_string(dpi->auth_type)); in lcp_dialin_proxy()
1119 _this->fsm.ppp->peer_auth = dpi->auth_type; in lcp_dialin_proxy()
1134 switch (dpi->auth_type) { in lcp_dialin_proxy()
1158 (dpi->auth_type == 0)? "none" : lcp_auth_string(dpi->auth_type), in lcp_dialin_proxy()
H A Dnpppd_auth.c68 npppd_auth_create(int auth_type, const char *name, void *_npppd) in npppd_auth_create() argument
74 switch (auth_type) { in npppd_auth_create()
H A Dparse.y642 n->auth_type = $4;
681 if (curr_authconf->auth_type != NPPPD_AUTH_TYPE_RADIUS){
689 if (curr_authconf->auth_type != NPPPD_AUTH_TYPE_RADIUS){
1562 switch (auth->auth_type) {
H A Dnpppd.h158 int auth_type; member
/openbsd/usr.sbin/npppd/l2tp/
H A Dl2tp_call.c578 dpi->auth_type = 0; in l2tp_call_recv_ICCN()
581 dpi->auth_type = PPP_AUTH_CHAP_MD5; in l2tp_call_recv_ICCN()
584 dpi->auth_type = PPP_AUTH_PAP; in l2tp_call_recv_ICCN()
587 dpi->auth_type = PPP_AUTH_CHAP_MS; in l2tp_call_recv_ICCN()
/openbsd/usr.sbin/ospfctl/
H A Doutput.c211 if (iface->auth_type > 0) { in show_interface()
212 switch (iface->auth_type) { in show_interface()

12