tagnum
int optlen, taglen, tagnum;
tagnum = 1;
(void) snprintf(line, sizeof (line), "Tag# %d", tagnum);
tagnum++;
tag_name_to_num(char *tagname, uint16_t *tagnum)
if (!tagname || !tagnum) {
*tagnum = 0;
*tagnum = (uint16_t)id;
tag_name_to_num(char *tagname, uint16_t *tagnum);
open_tag(pr_context_t *context, int tagnum)
tag = &tokentable[tagnum];
if (is_header_token(tagnum) || is_file_token(tagnum)) {
} else if (is_token(tagnum)) {
context->pending_flag = tagnum;
if (is_header_token(tagnum) && (err == 0))
context->current_rec = tagnum; /* set start of new record */
check_close_rec(pr_context_t *context, int tagnum)
if ((is_header_token(tagnum) || is_file_token(tagnum)) &&
close_tag(pr_context_t *context, int tagnum)
tag = &tokentable[tagnum];
if (is_header_token(tagnum) && (err == 0))
process_tag(pr_context_t *context, int tagnum, int status, int flag)
if ((tagnum > 0) && (tagnum <= MAXTAG) &&
(tokentable[tagnum].func != NOFUNC)) {
retstat = open_tag(context, tagnum);
retstat = (*tokentable[tagnum].func)(context, status,
retstat = close_tag(context, tagnum);
"tag id %d\n"), tagnum);
int tagnum;
Err.tagnum = num;
if (Err.tagnum)
if (Err.tagnum)
(void) fprintf(stderr, ", line %d", Err.tagnum);
Err.vfix && Err.tofix && !Err.tagnum)
Err.tagnum = 0;
#define tagnum (tinfo.tagnum)
if(asn1class != UNIVERSAL || construction != PRIMITIVE || tagnum != type)\
t.tagnum != ASN1_SEQUENCE)
t->tagnum = ASN1_TAGNUM_CEILING; /* emphatically not an EOC tag */
t->tagnum = (asn1_tagnum)(o&ASN1_TAG_NUMBER_MASK);
t->tagnum = tn;
asn1_tagnum tagnum;
asn1_tagnum *tagnum,
asn1_tagnum *tagnum,
if(tagnum == (tagexpect)){\
if (tagnum != 0) return ASN1_MISSING_FIELD;
if(tagnum == tag){ \
if (tagnum > (tagexpect)) return ASN1_MISSING_FIELD; \
if (tagnum < (tagexpect)) return ASN1_MISPLACED_FIELD; \
&& (tagnum || taglen || asn1class != UNIVERSAL)) \
if (t.tagnum == choice_trusted_cas_principalName) {
} else if (t.tagnum == choice_trusted_cas_caName) {
} else if (t.tagnum == choice_trusted_cas_issuerAndSerial) {
if (tagnum == choice_trusted_cas_principalName) {
} else if (tagnum == choice_trusted_cas_caName) {
} else if (tagnum == choice_trusted_cas_issuerAndSerial) {
tagnum = ASN1_TAGNUM_CEILING;
&& (tagnum || taglen || asn1class != UNIVERSAL)) \
if (tagnum == (tagexpect)) { \
tagnum != ASN1_BITSTRING)
if (tagnum == 1) { alloc_field(val->clientPublicValue, krb5_subject_pk_info); }
&& (tagnum || taglen || asn1class != UNIVERSAL))
if (tagnum == 1) {
if (tagnum == 2) {
if (tagnum == 1) {
&& (tagnum || taglen || asn1class != UNIVERSAL))
if (tagnum == 1) {
if (tagnum == choice_pa_pk_as_rep_dhInfo) {
} else if (tagnum == choice_pa_pk_as_rep_encKeyPack) {
if (tagnum > (tagexpect)) return ASN1_MISSING_FIELD; \
if (tagnum < (tagexpect)) return ASN1_MISPLACED_FIELD; \
if (tagnum == choice_pa_pk_as_rep_draft9_dhSignedData) {
} else if (tagnum == choice_pa_pk_as_rep_draft9_encKeyPack) {
&& (tagnum || taglen || asn1class != UNIVERSAL)) \
if (tagnum == (tagexpect)) { \
if (tagnum != (tagexpect)) return ASN1_MISSING_FIELD; \
if (tagnum == (tagexpect)) { \
retval = asn1buf_sync(buf, &subbuf, asn1class, tagnum, \
tagnum = t.tagnum; \
retval = asn1buf_sync(buf, &subbuf, t.asn1class, t.tagnum, \
asn1_tagnum tagnum; \
tagnum = t4.tagnum; \
retval = asn1buf_sync(buf, &seqbuf, asn1class, tagnum, \
eseqnum = t5.tagnum; \
asn1_tagnum tagnum; \
t.tagnum != ASN1_BITSTRING)
tagnum = t2.tagnum; \
if(tagnum == 1){ alloc_field(val->client,krb5_principal_data); }
if(tagnum == 10){
if (t3.asn1class != UNIVERSAL || t3.tagnum || t3.indef) \
if(tagnum == 5){
tagnum = t3.tagnum; \
if(tagnum == 1){
if(tagnum == 8){
t1.tagnum != (tagexpect)) return ASN1_BAD_ID; \
if (tagnum == 1) {
if ( tagnum ==2) {
tagnum = t1.tagnum; \
if (tagnum == 1) {
if ( tagnum ==2) {
if (tagnum == 1) {
asn1_tagnum tagnum, unsigned int in_len,
return asn1_make_tag(buf,asn1class,CONSTRUCTED,tagnum,in_len,retlen);
asn1_tagnum tagnum, unsigned int in_len,
if(tagnum > ASN1_TAGNUM_MAX) return ASN1_OVERFLOW;
retval = asn1_make_id(buf,asn1class,construction,tagnum,&length);
asn1_tagnum tagnum, unsigned int *retlen)
if(tagnum < 31) {
(asn1_octet)tagnum));
asn1_tagnum tagcopy = tagnum;
const asn1_tagnum tagnum,
const asn1_tagnum tagnum,
const asn1_tagnum tagnum,
if (asn1_is_eoc(t.asn1class, t.tagnum, t.indef))
if (t3.asn1class != UNIVERSAL || t3.tagnum || t3.indef) \
tagnum = t3.tagnum; \
retval = asn1buf_sync(&buf,&subbuf,asn1class,tagnum,length,indef,seqindef);\
if(tagnum > (tagexpect)) clean_return(ASN1_MISSING_FIELD);\
if(tagnum < (tagexpect)) clean_return(ASN1_MISPLACED_FIELD);\
if (tagnum == (tagexpect)) { \
if(tagnum > (tagexpect)) clean_return(ASN1_MISSING_FIELD);\
if(tagnum < (tagexpect)) clean_return(ASN1_MISPLACED_FIELD);\
if (tagnum == (tagexpect)) { \
if(tagnum == 3){
if(tagnum == 6){ alloc_field((*rep)->subkey,krb5_keyblock); }
if (tagnum == 6)
if (t4.tagnum == 25) (*rep)->msg_type = KRB5_AS_REP;
else if(t4.tagnum == 26) (*rep)->msg_type = KRB5_TGS_REP;
if(tagnum == 2){ alloc_field((*rep)->subkey,krb5_keyblock); }
asn1_tagnum tagnum;\
if(tagnum == 5){ alloc_field((*rep)->r_address,krb5_address); }
if(tagnum == 4){ alloc_field((*rep)->s_address,krb5_address); }
if(tagnum == 5){ alloc_field((*rep)->r_address,krb5_address); }
if(tagnum == 7){ alloc_field((*rep)->client,krb5_principal_data); }
if (t1.tagnum != (tagexpect)) clean_return(KRB5_BADMSGTYPE); \
tagnum = t1.tagnum; \
if (tagnum == 1) {
if (tagnum == 1) {
tagnum = t2.tagnum; \
if (t.tagnum != expectedtag)
if (t.tagnum != expectedtag)
if (t.tagnum != expectedtag)
if (t.tagnum == 0) {
if (t.tagnum != 1)
if (t.tagnum != 4)
static void cpu_aflt_log(int ce_code, int tagnum, spitf_async_flt *spflt,
cpu_aflt_log(int ce_code, int tagnum, spitf_async_flt *spflt, uint_t logflags,
console_log_flag = (tagnum < 2) || aft_verbose;
(void) sprintf(buf, "[AFT%d]", tagnum);
(void) sprintf(buf, "![AFT%d]", tagnum);
extern void cpu_aflt_log(int ce_code, int tagnum, ch_async_flt_t *aflt,