Home
last modified time | relevance | path

Searched refs:chap_type (Results 1 – 1 of 1) sorted by relevance

/freebsd/usr.sbin/ppp/
H A Dlcp.c664 int pos, op, callback_req, chap_type; in LcpDecodeConfig() local
822 chap_type = opt->hdr.len == 5 ? opt->data[2] : 0; in LcpDecodeConfig()
825 Auth2Nam(proto, chap_type)); in LcpDecodeConfig()
842 if ((chap_type == 0x05 && IsAccepted(lcp->cfg.chap05)) in LcpDecodeConfig()
844 || (chap_type == 0x80 && (IsAccepted(lcp->cfg.chap80nt) || in LcpDecodeConfig()
846 || (chap_type == 0x81 && IsAccepted(lcp->cfg.chap81)) in LcpDecodeConfig()
850 lcp->his_authtype = chap_type; in LcpDecodeConfig()
854 if (chap_type == 0x80) { in LcpDecodeConfig()
856 } else if (chap_type == 0x81) { in LcpDecodeConfig()
860 if (chap_type != 0x05) in LcpDecodeConfig()
[all …]