Searched refs:subh (Results 1 - 2 of 2) sorted by relevance

/freebsd-11-stable/contrib/tcpdump/
H A Dprint-pfsync.c136 struct pfsync_subheader *subh; local
150 if (len < sizeof(*subh))
153 subh = (struct pfsync_subheader *)bp;
154 bp += sizeof(*subh);
155 len -= sizeof(*subh);
156 plen -= sizeof(*subh);
158 if (subh->action >= PFSYNC_ACT_MAX) {
160 subh->action));
164 count = ntohs(subh->count);
165 ND_PRINT((ndo, "\n %s count %d", actions[subh
[all...]
/freebsd-11-stable/sys/netpfil/pf/
H A Dif_pfsync.c636 struct pfsync_subheader subh; local
707 while (offset <= len - sizeof(subh)) {
708 m_copydata(m, offset, sizeof(subh), (caddr_t)&subh);
709 offset += sizeof(subh);
711 if (subh.action >= PFSYNC_ACT_MAX) {
717 count = ntohs(subh.count);
718 V_pfsyncstats.pfsyncs_iacts[subh.action] += count;
719 rv = (*pfsync_acts[subh.action])(&pkt, m, offset, count);
1573 struct pfsync_subheader *subh; local
2057 struct pfsync_subheader subh; member in struct:__anon5454
2202 struct pfsync_subheader subh; member in struct:__anon5455
[all...]

Completed in 108 milliseconds