Home | History | Annotate | Download | only in racoon

Lines Matching defs:new

167 	 * Decrypt the packet. If this is the beginning of a new
760 vchar_t *new;
762 new = vmalloc(s->l + append->l);
763 if (new == NULL) {
769 memcpy(new->v, s->v, s->l);
770 memcpy(new->v + s->l, append->v, append->l);
773 return new;
924 struct isakmp_data *new;
931 new = (struct isakmp_data *)buffer->v;
933 new->type = attr->type;
934 new->lorv = htons(0);
968 struct isakmp_data *new;
976 new = (struct isakmp_data *)buffer->v;
979 new->type = htons(type | ISAKMP_GEN_TV);
980 new->lorv = htons(value);
993 struct isakmp_data *new;
1001 new = (struct isakmp_data *)buffer->v;
1003 new->type = attr->type;
1004 new->lorv = htons(len);
1005 data = (char *)(new + 1);
1028 struct isakmp_data *new;
1037 new = (struct isakmp_data *)buffer->v;
1039 new->type = attr->type;
1040 new->lorv = htons(len);
1041 memcpy(new + 1, addr, len);
1056 struct isakmp_data *new;
1071 new = (struct isakmp_data *)bufone->v;
1072 new->type = attr->type;
1073 new->lorv = htons(len);
1074 memcpy(new + 1, &addr[i], len);
1075 new += (len + sizeof(*attr));
1140 /* add new entry to isakmp status table */
2109 /* If size increase, intialize correctly the new records */