Searched refs:subh (Results 1 – 2 of 2) sorted by relevance
140 struct pfsync_subheader *subh; in pfsync_print() local154 if (len < sizeof(*subh)) in pfsync_print()157 subh = (struct pfsync_subheader *)bp; in pfsync_print()158 bp += sizeof(*subh); in pfsync_print()159 len -= sizeof(*subh); in pfsync_print()160 plen -= sizeof(*subh); in pfsync_print()162 if (subh->action >= PFSYNC_ACT_MAX) { in pfsync_print()164 subh->action); in pfsync_print()168 count = ntohs(subh->count); in pfsync_print()169 ND_PRINT("\n %s count %d", actions[subh->action].name, in pfsync_print()[all …]
762 struct pfsync_subheader subh; in pfsync_input() local828 while (offset <= len - sizeof(subh)) { in pfsync_input()829 m_copydata(m, offset, sizeof(subh), (caddr_t)&subh); in pfsync_input()830 offset += sizeof(subh); in pfsync_input()832 if (subh.action >= PFSYNC_ACT_MAX) { in pfsync_input()838 count = ntohs(subh.count); in pfsync_input()839 V_pfsyncstats.pfsyncs_iacts[subh.action] += count; in pfsync_input()840 rv = (*pfsync_acts[subh.action])(m, offset, count, flags, subh.action); in pfsync_input()864 struct pfsync_subheader subh; in pfsync6_input() local931 while (offset <= len - sizeof(subh)) { in pfsync6_input()[all …]