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 …]
826 struct pfsync_subheader subh; in pfsync_input() local892 while (offset <= len - sizeof(subh)) { in pfsync_input()893 m_copydata(m, offset, sizeof(subh), (caddr_t)&subh); in pfsync_input()894 offset += sizeof(subh); in pfsync_input()896 if (subh.action >= PFSYNC_ACT_MAX) { in pfsync_input()902 count = ntohs(subh.count); in pfsync_input()903 V_pfsyncstats.pfsyncs_iacts[subh.action] += count; in pfsync_input()904 rv = (*pfsync_acts[subh.action])(m, offset, count, flags, subh.action); in pfsync_input()928 struct pfsync_subheader subh; in pfsync6_input() local995 while (offset <= len - sizeof(subh)) { in pfsync6_input()[all …]