Lines Matching defs:new
169 * Decrypt the packet. If this is the beginning of a new
762 vchar_t *new;
764 new = vmalloc(s->l + append->l);
765 if (new == NULL) {
771 memcpy(new->v, s->v, s->l);
772 memcpy(new->v + s->l, append->v, append->l);
775 return new;
933 struct isakmp_data *new;
940 new = (struct isakmp_data *)buffer->v;
942 new->type = attr->type;
943 new->lorv = htons(0);
977 struct isakmp_data *new;
985 new = (struct isakmp_data *)buffer->v;
988 new->type = htons(type | ISAKMP_GEN_TV);
989 new->lorv = htons(value);
1002 struct isakmp_data *new;
1010 new = (struct isakmp_data *)buffer->v;
1012 new->type = attr->type;
1013 new->lorv = htons(len);
1014 data = (char *)(new + 1);
1037 struct isakmp_data *new;
1046 new = (struct isakmp_data *)buffer->v;
1048 new->type = attr->type;
1049 new->lorv = htons(len);
1050 memcpy(new + 1, addr, len);
1063 struct isakmp_data *new;
1073 new = (struct isakmp_data *)buffer->v;
1075 new->type = attr->type;
1076 new->lorv = htons(len);
1079 memcpy(new + 1, netbuff, len);
1095 struct isakmp_data *new;
1110 new = (struct isakmp_data *)bufone->v;
1111 new->type = attr->type;
1112 new->lorv = htons(len);
1113 memcpy(new + 1, &addr[i], len);
1114 new += (len + sizeof(*attr));
1179 /* add new entry to isakmp status table */
2115 /* If size increase, intialize correctly the new records */