Lines Matching defs:lcp
78 lookup_ctrl_t *lcp = (lookup_ctrl_t *)p2;
79 uint32_t tag = lcp->id[1];
111 len = lcp->data[1].ui;
112 name = lcp->data[2].ptr;
113 lc.type = lcp->type;
143 attr->value.ui != lcp->data[1].ui) {
146 attr->value.ui = lcp->data[1].ui;
848 lookup_ctrl_t *lcp = (lookup_ctrl_t *)p2;
855 lcp->op[i] != 0) {
861 lcp->id[i] != 0) {
862 switch (lcp->id[i]) {
866 lcp->data[i].ptr = (uchar_t *)malloc(attr->len);
867 if (lcp->data[i].ptr != NULL) {
868 (void) strcpy((char *)lcp->data[i].ptr,
878 lcp->data[i].ui = attr->value.ui;
883 lcp->data[i].ptr = (uchar_t *)malloc(attr->len);
884 if (lcp->data[i].ptr != NULL) {
885 (void) strcpy((char *)lcp->data[i].ptr,
895 lcp->data[i].ip = (in6_addr_t *)malloc(attr->len);
896 if (lcp->data[i].ip != NULL) {
897 (void) memcpy(lcp->data[i].ip,
907 lcp->data[i].ui = attr->value.ui;
912 lcp->data[i].ip = (in6_addr_t *)malloc(attr->len);
913 if (lcp->data[i].ip != NULL) {
914 (void) memcpy(lcp->data[i].ip,
923 attr = &obj->attrs[ATTR_INDEX_PORTAL(lcp->id[i])];
925 lcp->data[i].ui = attr->value.ui;
927 lcp->data[i].ui = 0;
932 lcp->data[i].ui = 0;