Lines Matching defs:mtag
127 struct m_tag *mtag;
131 mtag = m_tag_find(m, PACKET_TAG_IPSEC_IN_DONE, NULL);
132 if (mtag != NULL) {
133 tdbi = (struct tdb_ident *)(mtag + 1);
169 struct m_tag *mtag;
187 mtag = m_tag_find(m, PACKET_TAG_IPSEC_IN_DONE, NULL);
188 if (mtag != NULL) {
189 tdbi = (struct tdb_ident *)(mtag + 1);
227 struct m_tag *mtag;
229 mtag = m_tag_find(*m, PACKET_TAG_IPSEC_PENDING_TDB, NULL);
230 if (mtag != NULL) {
231 tdbi = (struct tdb_ident *)(mtag + 1);
235 m_tag_delete(*m, mtag);
251 for (mtag = m_tag_first(*m); mtag != NULL;
252 mtag = m_tag_next(*m, mtag)) {
253 if (mtag->m_tag_cookie != MTAG_ABI_COMPAT)
255 if (mtag->m_tag_id != PACKET_TAG_IPSEC_OUT_DONE &&
256 mtag->m_tag_id != PACKET_TAG_IPSEC_OUT_CRYPTO_NEEDED)
266 tdbi = (struct tdb_ident *)(mtag + 1);