Lines Matching defs:mtag
116 struct m_tag *mtag;
121 mtag = m_tag_find(m, PACKET_TAG_IPSEC_IN_DONE, NULL);
122 if (mtag != NULL) {
123 tdbi = (struct tdb_ident *)(mtag + 1);
160 struct m_tag *mtag;
176 mtag = m_tag_find(m, PACKET_TAG_IPSEC_IN_DONE, NULL);
177 if (mtag != NULL) {
178 tdbi = (struct tdb_ident *)(mtag + 1);
232 struct m_tag *mtag;
242 mtag = m_tag_find(*m, PACKET_TAG_IPSEC_PENDING_TDB, NULL);
243 if (mtag != NULL) {
244 tdbi = (struct tdb_ident *)(mtag + 1);
248 m_tag_delete(*m, mtag);
263 for (mtag = m_tag_first(*m); mtag != NULL;
264 mtag = m_tag_next(*m, mtag)) {
265 if (mtag->m_tag_cookie != MTAG_ABI_COMPAT)
267 if (mtag->m_tag_id != PACKET_TAG_IPSEC_OUT_DONE &&
268 mtag->m_tag_id != PACKET_TAG_IPSEC_OUT_CRYPTO_NEEDED)
278 tdbi = (struct tdb_ident *)(mtag + 1);