Searched refs:srcext (Results 1 – 5 of 5) sorted by relevance
67 KMF_X509_EXTENSION *srcext) in copy_extension_data() argument71 if (dstext == NULL || srcext == NULL) in copy_extension_data()76 ret = copy_data(&dstext->extnId, &srcext->extnId); in copy_extension_data()80 dstext->extnId.Length = srcext->extnId.Length; in copy_extension_data()81 dstext->critical = srcext->critical; in copy_extension_data()82 dstext->format = srcext->format; in copy_extension_data()84 ret = copy_data(&dstext->BERvalue, &srcext->BERvalue); in copy_extension_data()97 &srcext->value.tagAndValue->value); in copy_extension_data()101 dstext->value.tagAndValue->type = srcext->value.tagAndValue->type; in copy_extension_data()
1942 sadb_address_t *srcext, *dstext; in sadb_addrfix() local2067 srcext = (sadb_address_t *)extv[SADB_EXT_ADDRESS_SRC]; in sadb_addrfix()2069 if (dstext == NULL || srcext == NULL) in sadb_addrfix()2073 src = (struct sockaddr_in *)(srcext + 1); in sadb_addrfix()2088 if (srcext->sadb_address_proto != dstext->sadb_address_proto) { in sadb_addrfix()2089 if (srcext->sadb_address_proto == 0) { in sadb_addrfix()2090 srcext->sadb_address_proto = dstext->sadb_address_proto; in sadb_addrfix()2092 dstext->sadb_address_proto = srcext->sadb_address_proto; in sadb_addrfix()2225 sq->srcext = (sadb_address_t *)ksi->ks_in_extv[SADB_EXT_ADDRESS_SRC]; in sadb_form_query()2232 if ((req & IPSA_Q_SRC) && (sq->srcext == NULL)) { in sadb_form_query()[all …]
1035 sadb_address_t *srcext = in ah_add_sa() local1057 if (srcext == NULL) { in ah_add_sa()1082 src = (struct sockaddr_in *)(srcext + 1); in ah_add_sa()1205 sadb_address_t *srcext = in ah_del_sa() local1212 else if (srcext != NULL) in ah_del_sa()1213 sin = (struct sockaddr_in *)(srcext + 1); in ah_del_sa()
3563 sadb_address_t *srcext = local3592 if (srcext == NULL) {3617 src = (struct sockaddr_in *)(srcext + 1);3836 sadb_address_t *srcext = local3843 } else if (srcext != NULL) {3844 sin = (struct sockaddr_in *)(srcext + 1);
682 sadb_address_t *srcext, *dstext; member