Lines Matching refs:GET_U_1

432 	code = GET_U_1(tptr);  in handle_ctrl_proto()
438 GET_U_1(tptr), /* ID */ in handle_ctrl_proto()
600 opt = GET_U_1(p); in print_lcp_config_options()
601 len = GET_U_1(p + 1); in print_lcp_config_options()
629 ND_PRINT(", kind: 0x%02x", GET_U_1(p + 5)); in print_lcp_config_options()
632 ND_PRINT("%02x", GET_U_1(p + 6 + i)); in print_lcp_config_options()
661 tok2str(authalg_values, "Unknown Auth Alg %u", GET_U_1(p + 4))); in print_lcp_config_options()
706 tok2str(ppp_callback_values, "Unknown", GET_U_1(p + 2)), in print_lcp_config_options()
707 GET_U_1(p + 2)); in print_lcp_config_options()
721 switch (GET_U_1(p + 2)) { /* class */ in print_lcp_config_options()
749 ND_PRINT(": Unknown class %u", GET_U_1(p + 2)); in print_lcp_config_options()
823 bittok2str(ppp_ml_flag_values, "none", GET_U_1(p) & 0xc0), in handle_mlppp()
842 ND_PRINT("[|chap 0x%02x]", GET_U_1(p)); in handle_chap()
846 code = GET_U_1(p); in handle_chap()
852 ND_PRINT(", id %u", GET_U_1(p)); /* ID */ in handle_chap()
870 val_size = GET_U_1(p); /* value size */ in handle_chap()
876 ND_PRINT("%02x", GET_U_1(p)); in handle_chap()
882 fn_print_char(ndo, GET_U_1(p)); in handle_chap()
891 fn_print_char(ndo, GET_U_1(p)); in handle_chap()
913 ND_PRINT("[|pap 0x%02x]", GET_U_1(p)); in handle_pap()
917 code = GET_U_1(p); in handle_pap()
923 ND_PRINT(", id %u", GET_U_1(p)); /* ID */ in handle_pap()
946 peerid_len = GET_U_1(p); /* Peer-ID Length */ in handle_pap()
952 fn_print_char(ndo, GET_U_1(p)); in handle_pap()
958 passwd_len = GET_U_1(p); /* Password Length */ in handle_pap()
964 fn_print_char(ndo, GET_U_1(p)); in handle_pap()
979 msg_len = GET_U_1(p); /* Msg-Length */ in handle_pap()
985 fn_print_char(ndo, GET_U_1(p)); in handle_pap()
1016 opt = GET_U_1(p); in print_ipcp_config_options()
1017 len = GET_U_1(p + 1); in print_ipcp_config_options()
1083 ipcomp_subopt = GET_U_1(p); in print_ipcp_config_options()
1084 ipcomp_suboptlen = GET_U_1(p + 1); in print_ipcp_config_options()
1154 opt = GET_U_1(p); in print_ip6cp_config_options()
1155 len = GET_U_1(p + 1); in print_ip6cp_config_options()
1214 opt = GET_U_1(p); in print_ccp_config_options()
1215 len = GET_U_1(p + 1); in print_ccp_config_options()
1238 GET_U_1(p + 2) >> 5, in print_ccp_config_options()
1239 GET_U_1(p + 2) & 0x1f); in print_ccp_config_options()
1247 (GET_U_1(p + 2) & 0xc0) >> 6, in print_ccp_config_options()
1248 (GET_U_1(p + 2) & 0x20) ? "Enabled" : "Disabled", in print_ccp_config_options()
1249 GET_U_1(p + 2) & 0x1f, in print_ccp_config_options()
1250 GET_U_1(p + 3)); in print_ccp_config_options()
1258 (GET_U_1(p + 2) & 0xf0) >> 4, in print_ccp_config_options()
1259 ((GET_U_1(p + 2) & 0x0f) == 8) ? "zlib" : "unknown", in print_ccp_config_options()
1260 GET_U_1(p + 2) & 0x0f, in print_ccp_config_options()
1261 (GET_U_1(p + 3) & 0xfc) >> 2, in print_ccp_config_options()
1262 GET_U_1(p + 3) & 0x03); in print_ccp_config_options()
1310 opt = GET_U_1(p); in print_bacp_config_options()
1311 len = GET_U_1(p + 1); in print_bacp_config_options()
1386 c = GET_U_1(s); in ppp_hdlc()
1392 c = GET_U_1(s) ^ 0x20; in ppp_hdlc()
1413 proto = GET_U_1(b); /* start with a one-octet codepoint guess */ in ppp_hdlc()
1563 if (GET_U_1(p) % 2) { in ppp_print()
1564 proto = GET_U_1(p); /* PFC is used */ in ppp_print()
1650 ND_PRINT("%c %4d %02x ", GET_U_1(p) ? 'O' : 'I', in ppp_if_print()
1651 length, GET_U_1(p + 1)); in ppp_if_print()
1682 switch (GET_U_1(p)) { in ppp_hdlc_if_print()
1692 ND_PRINT("%02x %02x %u ", GET_U_1(p), in ppp_hdlc_if_print()
1693 GET_U_1(p + 1), length); in ppp_hdlc_if_print()
1720 ND_PRINT("%02x %02x %u ", GET_U_1(p), in ppp_hdlc_if_print()
1721 GET_U_1(p + 1), length); in ppp_hdlc_if_print()
1730 ND_PRINT("unknown addr %02x; ctrl %02x", GET_U_1(p), in ppp_hdlc_if_print()
1731 GET_U_1(p + 1)); in ppp_hdlc_if_print()
1764 if (GET_U_1(p) == PPP_ADDRESS && in ppp_bsdos_if_print()
1765 GET_U_1(p + 1) == PPP_CONTROL) { in ppp_bsdos_if_print()
1767 ND_PRINT("%02x %02x ", GET_U_1(p), in ppp_bsdos_if_print()
1768 GET_U_1(p + 1)); in ppp_bsdos_if_print()
1776 if (GET_U_1(p) & 01) { in ppp_bsdos_if_print()
1778 ptype = GET_U_1(p); in ppp_bsdos_if_print()
1794 ND_PRINT("%c ", GET_U_1(p + SLC_DIR) ? 'O' : 'I'); in ppp_bsdos_if_print()
1795 llhl = GET_U_1(p + SLC_LLHL); in ppp_bsdos_if_print()
1805 ND_PRINT("%02x %02x ", GET_U_1(q), in ppp_bsdos_if_print()
1806 GET_U_1(q + 1)); in ppp_bsdos_if_print()
1816 ND_PRINT("%02x", GET_U_1(q + i)); in ppp_bsdos_if_print()
1823 if (GET_U_1(p + SLC_CHL)) { in ppp_bsdos_if_print()
1866 GET_U_1(q + i)); in ppp_bsdos_if_print()