Lines Matching refs:itag
4259 struct ipsec_tag *itag;
4266 itag = (struct ipsec_tag*)(tag + 1);
4267 itag->socket = 0;
4268 itag->history_count = 0;
4305 struct ipsec_tag *itag)
4307 if (itag && itag->socket == NULL && itag->history_count == 0) {
4308 m_tag_delete(m, ((struct m_tag*)itag) - 1);
4337 struct ipsec_tag *itag;
4339 itag = ipsec_findaux(m);
4340 if (itag)
4341 return itag->socket;
4352 struct ipsec_tag *itag;
4354 itag = ipsec_addaux(m);
4355 if (!itag)
4357 if (itag->history_count == IPSEC_HISTORY_MAX)
4360 p = &itag->history[itag->history_count];
4361 itag->history_count++;
4375 struct ipsec_tag *itag;
4377 itag = ipsec_findaux(m);
4378 if (!itag)
4380 if (itag->history_count == 0)
4383 *lenp = (int)(itag->history_count * sizeof(struct ipsec_history));
4384 return itag->history;
4391 struct ipsec_tag *itag;
4393 itag = ipsec_findaux(m);
4394 if (itag) {
4395 itag->history_count = 0;
4397 ipsec_optaux(m, itag);