Searched defs:tt1 (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/uts/common/inet/ip/
H A Dtn_ipopt.c57 struct cipso_tag_type_1 *tt1; local
104 tt1 = (struct cipso_tag_type_1 *)&cop[IPOPT_OLEN + 5];
105 tt1->tag_type = 1;
106 tt1->tag_align = 0;
107 tt1->tag_sl = LCLASS(bsl);
108 tt1->tag_length = 4 + i;
110 bcopy(&bsl->compartments.c1, tt1->tag_cat, i);
H A Dtnet.c651 const struct cipso_tag_type_1 *tt1; local
653 tt1 = (struct cipso_tag_type_1 *)&co->cipso_tag_type[0];
654 if (tt1->tag_type != 1 ||
655 tt1->tag_length < TSOL_TT1_MIN_LENGTH ||
656 tt1->tag_length > TSOL_TT1_MAX_LENGTH ||
657 tt1->tag_length + TSOL_CIPSO_TAG_OFFSET > co->cipso_length)
661 LCLASS_SET((_bslabel_impl_t *)sl, tt1->tag_sl);
662 bcopy(tt1->tag_cat, &((_bslabel_impl_t *)sl)->compartments,
663 tt1->tag_length - TSOL_TT1_MIN_LENGTH);

Completed in 1442 milliseconds