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

/freebsd-9.3-release/contrib/tcpdump/
H A Dprint-pfsync.c131 struct pfsync_subheader *subh; local
145 if (len < sizeof(*subh))
148 subh = (struct pfsync_subheader *)bp;
149 bp += sizeof(*subh);
150 len -= sizeof(*subh);
151 plen -= sizeof(*subh);
153 if (subh->action >= PFSYNC_ACT_MAX) {
154 printf("\n act UNKNOWN id %d", subh->action);
158 count = ntohs(subh->count);
159 printf("\n %s count %d", actions[subh
[all...]
/freebsd-9.3-release/sys/contrib/pf/net/
H A Dif_pfsync.c890 struct pfsync_subheader subh; local
966 m_copydata(m, offset, sizeof(subh), (caddr_t)&subh);
967 offset += sizeof(subh);
969 if (subh.action >= PFSYNC_ACT_MAX) {
974 rv = (*pfsync_acts[subh.action])(&pkt, m, offset,
975 ntohs(subh.count));
2127 struct pfsync_subheader *subh;
2228 subh = (struct pfsync_subheader *)(m->m_data + offset);
2229 offset += sizeof(*subh);
[all...]

Completed in 93 milliseconds