Home | History | Annotate | Download | only in racoon

Lines Matching refs:bp

1293 	caddr_t bp;
1323 bp = (caddr_t)(sab + 1);
1332 pbuf = isakmp_parsewoh(ISAKMP_NPTYPE_P, (struct isakmp_gen *)bp, tlen);
1462 caddr_t bp;
1470 bp = (caddr_t)prop + sizeof(struct isakmp_pl_p) + prop->spi_size;
1473 pbuf = isakmp_parsewoh(ISAKMP_NPTYPE_T, (struct isakmp_gen *)bp, tlen);
1572 caddr_t bp;
1586 bp = newsa->v;
1588 ((struct isakmp_gen *)bp)->len = htons(newtlen);
1591 ((struct ipsecdoi_sa_b *)bp)->doi = htonl(iph1->rmconf->doitype);
1592 ((struct ipsecdoi_sa_b *)bp)->sit = htonl(iph1->rmconf->sittype);
1593 bp += sizeof(struct ipsecdoi_sa_b);
1606 memcpy(bp, p->prop, prophlen);
1607 ((struct isakmp_pl_p *)bp)->h.np = ISAKMP_NPTYPE_NONE;
1608 ((struct isakmp_pl_p *)bp)->h.len = htons(prophlen + trnslen);
1609 ((struct isakmp_pl_p *)bp)->num_t = 1;
1610 np_p = &((struct isakmp_pl_p *)bp)->h.np;
1611 memset(bp + sizeof(struct isakmp_pl_p), 0, p->prop->spi_size);
1612 bp += prophlen;
1615 memcpy(bp, p->trns, trnslen);
1616 ((struct isakmp_pl_t *)bp)->h.np = ISAKMP_NPTYPE_NONE;
1617 ((struct isakmp_pl_t *)bp)->h.len = htons(trnslen);
1618 bp += trnslen;
1700 caddr_t bp;
1736 bp = newsa->v;
1739 ((struct isakmp_gen *)bp)->len = htons(newtlen);
1740 bp += sizeof(struct ipsecdoi_sa_b);
1764 memcpy(bp, p->prop, prophlen);
1765 ((struct isakmp_pl_p *)bp)->h.np = ISAKMP_NPTYPE_NONE;
1766 ((struct isakmp_pl_p *)bp)->h.len = htons(prophlen + trnslen);
1767 ((struct isakmp_pl_p *)bp)->num_t = 1;
1768 np_p = &((struct isakmp_pl_p *)bp)->h.np;
1769 bp += prophlen;
1772 memcpy(bp, p->trns, trnslen);
1773 ((struct isakmp_pl_t *)bp)->h.np = ISAKMP_NPTYPE_NONE;
1774 ((struct isakmp_pl_t *)bp)->h.len = htons(trnslen);
1775 bp += trnslen;