Lines Matching defs:bp
1293 caddr_t bp;
1327 bp = (caddr_t)(sab + 1);
1336 pbuf = isakmp_parsewoh(ISAKMP_NPTYPE_P, (struct isakmp_gen *)bp, tlen);
1466 caddr_t bp;
1474 bp = (caddr_t)prop + sizeof(struct isakmp_pl_p) + prop->spi_size;
1477 pbuf = isakmp_parsewoh(ISAKMP_NPTYPE_T, (struct isakmp_gen *)bp, tlen);
1576 caddr_t bp;
1590 bp = newsa->v;
1592 ((struct isakmp_gen *)bp)->len = htons(newtlen);
1595 ((struct ipsecdoi_sa_b *)bp)->doi = htonl(iph1->rmconf->doitype);
1596 ((struct ipsecdoi_sa_b *)bp)->sit = htonl(iph1->rmconf->sittype);
1597 bp += sizeof(struct ipsecdoi_sa_b);
1610 memcpy(bp, p->prop, prophlen);
1611 ((struct isakmp_pl_p *)bp)->h.np = ISAKMP_NPTYPE_NONE;
1612 ((struct isakmp_pl_p *)bp)->h.len = htons(prophlen + trnslen);
1613 ((struct isakmp_pl_p *)bp)->num_t = 1;
1614 np_p = &((struct isakmp_pl_p *)bp)->h.np;
1615 memset(bp + sizeof(struct isakmp_pl_p), 0, p->prop->spi_size);
1616 bp += prophlen;
1619 memcpy(bp, p->trns, trnslen);
1620 ((struct isakmp_pl_t *)bp)->h.np = ISAKMP_NPTYPE_NONE;
1621 ((struct isakmp_pl_t *)bp)->h.len = htons(trnslen);
1622 bp += trnslen;
1704 caddr_t bp;
1740 bp = newsa->v;
1743 ((struct isakmp_gen *)bp)->len = htons(newtlen);
1744 bp += sizeof(struct ipsecdoi_sa_b);
1768 memcpy(bp, p->prop, prophlen);
1769 ((struct isakmp_pl_p *)bp)->h.np = ISAKMP_NPTYPE_NONE;
1770 ((struct isakmp_pl_p *)bp)->h.len = htons(prophlen + trnslen);
1771 ((struct isakmp_pl_p *)bp)->num_t = 1;
1772 np_p = &((struct isakmp_pl_p *)bp)->h.np;
1773 bp += prophlen;
1776 memcpy(bp, p->trns, trnslen);
1777 ((struct isakmp_pl_t *)bp)->h.np = ISAKMP_NPTYPE_NONE;
1778 ((struct isakmp_pl_t *)bp)->h.len = htons(trnslen);
1779 bp += trnslen;