Lines Matching defs:?r
9 * Redistribution and use in source and binary forms, with or without
16 * documentation and/or other materials provided with the distribution.
18 * may be used to endorse or promote products derived from this software
829 struct saproto *pr;
862 for (pr = iph2->approval->head; pr != NULL; pr = pr->next) {
871 tlen = sizeof(*d) + pr->spisize;
891 d->proto_id = pr->proto_id;
892 d->spi_size = pr->spisize;
898 spi = (u_int8_t *)&pr->spi;
899 spi += sizeof(pr->spi);
900 spi -= pr->spisize;
901 memcpy(d + 1, spi, pr->spisize);
1135 struct saproto *pr;
1140 pr = iph2->approval->head;
1143 tlen = sizeof(*n) + pr->spisize;
1161 n->proto_id = pr->proto_id; /* IPSEC AH/ESP/whatever*/
1162 n->spi_size = pr->spisize;
1164 memcpy(n + 1, &pr->spi, sizeof(u_int32_t)); // Wcast-align fix - copy instead of assign
1166 memcpy((caddr_t)(n + 1) + pr->spisize, data->v, data->l);
1385 * XXX Which is SPI to be included, inbound or outbound ?
1388 isakmp_add_pl_n(vchar_t *buf0, u_int8_t **np_p, int type, struct saproto *pr, vchar_t *data)
1398 tlen = sizeof(*n) + pr->spisize;
1417 n->proto_id = pr->proto_id; /* IPSEC AH/ESP/whatever*/
1418 n->spi_size = pr->spisize;
1420 memcpy(n + 1, &pr->spi, sizeof(u_int32_t)); // Wcast-align fix - copy instead of assign with cast
1422 memcpy((caddr_t)(n + 1) + pr->spisize, data->v, data->l);
1581 * or we can do it the hard way.
1892 Or is this already done by calling function? */
2229 * 1) implicitly does dpd (e.g. phase2 exchanges), or