Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/tcpdump/
H A Dprint-pfsync.c140 struct pfsync_subheader *subh; in pfsync_print() local
154 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()
164 subh->action); in pfsync_print()
168 count = ntohs(subh->count); in pfsync_print()
171 alen = actions[subh->action].len; in pfsync_print()
173 if (subh->action == PFSYNC_ACT_EOF) in pfsync_print()
[all …]
/freebsd-14.2/sys/netpfil/pf/
H A Dif_pfsync.c829 m_copydata(m, offset, sizeof(subh), (caddr_t)&subh); in pfsync_input()
830 offset += sizeof(subh); in pfsync_input()
840 rv = (*pfsync_acts[subh.action])(m, offset, count, flags, subh.action); in pfsync_input()
932 m_copydata(m, offset, sizeof(subh), (caddr_t)&subh); in pfsync6_input()
933 offset += sizeof(subh); in pfsync6_input()
943 rv = (*pfsync_acts[subh.action])(m, offset, count, flags, subh.action); in pfsync6_input()
1878 offset += sizeof(*subh); in pfsync_sendout()
1933 offset += sizeof(*subh); in pfsync_sendout()
1936 subh->count = htons(1); in pfsync_sendout()
2353 r.subh.count = htons(1); in pfsync_clear_states()
[all …]