Lines Matching refs:itag
3938 struct ipsec_tag *itag;
3945 itag = (struct ipsec_tag*)(tag + 1);
3946 itag->socket = 0;
3947 itag->history_count = 0;
3984 struct ipsec_tag *itag)
3986 if (itag && itag->socket == NULL && itag->history_count == 0) {
3987 m_tag_delete(m, ((struct m_tag*)itag) - 1);
4016 struct ipsec_tag *itag;
4018 itag = ipsec_findaux(m);
4019 if (itag)
4020 return itag->socket;
4031 struct ipsec_tag *itag;
4033 itag = ipsec_addaux(m);
4034 if (!itag)
4036 if (itag->history_count == IPSEC_HISTORY_MAX)
4039 p = &itag->history[itag->history_count];
4040 itag->history_count++;
4054 struct ipsec_tag *itag;
4056 itag = ipsec_findaux(m);
4057 if (!itag)
4059 if (itag->history_count == 0)
4062 *lenp = (int)(itag->history_count * sizeof(struct ipsec_history));
4063 return itag->history;
4070 struct ipsec_tag *itag;
4072 itag = ipsec_findaux(m);
4073 if (itag) {
4074 itag->history_count = 0;
4076 ipsec_optaux(m, itag);