Lines Matching refs:iecode
718 #define IE_IS_SINGLE_OCTET(iecode) ((iecode) & 0x80) argument
719 #define IE_IS_SHIFT(iecode) (((iecode) & 0xF0) == 0x90) argument
720 #define IE_SHIFT_IS_NON_LOCKING(iecode) ((iecode) & 0x08) argument
721 #define IE_SHIFT_IS_LOCKING(iecode) (!(IE_SHIFT_IS_NON_LOCKING(iecode))) argument
722 #define IE_SHIFT_CODESET(iecode) ((iecode) & 0x07) argument
775 static int fr_q933_print_ie_codeset_0_5(netdissect_options *ndo, u_int iecode,
778 typedef int (*codeset_pr_func_t)(netdissect_options *, u_int iecode,
818 u_int iecode; in q933_print() local
884 iecode = GET_U_1(p); in q933_print()
885 if (IE_IS_SHIFT(iecode)) { in q933_print()
895 codeset = IE_SHIFT_CODESET(iecode); in q933_print()
904 if (IE_SHIFT_IS_LOCKING(iecode)) { in q933_print()
984 iecode = GET_U_1(p); in q933_print()
989 if (IE_IS_SINGLE_OCTET(iecode)) { in q933_print()
993 if (IE_IS_SHIFT(iecode)) { in q933_print()
997 if (IE_SHIFT_IS_LOCKING(iecode)) { in q933_print()
1015 codeset = IE_SHIFT_CODESET(iecode); in q933_print()
1037 "unknown", iecode), in q933_print()
1038 iecode, in q933_print()
1043 if (iecode == 0 || ielength == 0) { in q933_print()
1055 ie_is_known = fr_q933_print_ie_codeset[codeset](ndo, iecode, ielength, p); in q933_print()
1091 fr_q933_print_ie_codeset_0_5(netdissect_options *ndo, u_int iecode, in fr_q933_print_ie_codeset_0_5() argument
1096 switch (iecode) { in fr_q933_print_ie_codeset_0_5()