Home
last modified time | relevance | path

Searched refs:pfs_1301 (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/tcpdump/
H A Dprint-pfsync.c397 if (s->pfs_1301.direction == PF_OUT) { in print_state()
398 src = &s->pfs_1301.src; in print_state()
399 dst = &s->pfs_1301.dst; in print_state()
400 sk = &s->pfs_1301.key[PF_SK_STACK]; in print_state()
401 nk = &s->pfs_1301.key[PF_SK_WIRE]; in print_state()
402 if (s->pfs_1301.proto == IPPROTO_ICMP || s->pfs_1301.proto == IPPROTO_ICMPV6) in print_state()
405 src = &s->pfs_1301.dst; in print_state()
406 dst = &s->pfs_1301.src; in print_state()
407 sk = &s->pfs_1301.key[PF_SK_WIRE]; in print_state()
408 nk = &s->pfs_1301.key[PF_SK_STACK]; in print_state()
[all …]
/freebsd/sys/netpfil/pf/
H A Dif_pfsync.c531 if (sp->pfs_1301.creatorid == 0) { in pfsync_state_import()
534 ntohl(sp->pfs_1301.creatorid)); in pfsync_state_import()
538 if ((kif = pfi_kkif_find(sp->pfs_1301.ifname)) == NULL) { in pfsync_state_import()
541 sp->pfs_1301.ifname); in pfsync_state_import()
551 if (sp->pfs_1301.rule != htonl(-1) && sp->pfs_1301.anchor == htonl(-1) && in pfsync_state_import()
552 (flags & (PFSYNC_SI_IOCTL | PFSYNC_SI_CKSUM)) && ntohl(sp->pfs_1301.rule) < in pfsync_state_import()
555 PF_RULESET_FILTER].active.ptr_array[ntohl(sp->pfs_1301.rule)]; in pfsync_state_import()
574 bcopy(&sp->pfs_1301.key, key, sizeof(struct pfsync_state_key) * 2); in pfsync_state_import()
578 kw = &sp->pfs_1301.key[PF_SK_WIRE]; in pfsync_state_import()
579 ks = &sp->pfs_1301.key[PF_SK_STACK]; in pfsync_state_import()
[all …]
H A Dpf_ioctl.c5576 sp->pfs_1301.key[PF_SK_WIRE].addr[0] = st->key[PF_SK_WIRE]->addr[0]; in pfsync_state_export()
5577 sp->pfs_1301.key[PF_SK_WIRE].addr[1] = st->key[PF_SK_WIRE]->addr[1]; in pfsync_state_export()
5578 sp->pfs_1301.key[PF_SK_WIRE].port[0] = st->key[PF_SK_WIRE]->port[0]; in pfsync_state_export()
5579 sp->pfs_1301.key[PF_SK_WIRE].port[1] = st->key[PF_SK_WIRE]->port[1]; in pfsync_state_export()
5580 sp->pfs_1301.key[PF_SK_STACK].addr[0] = st->key[PF_SK_STACK]->addr[0]; in pfsync_state_export()
5581 sp->pfs_1301.key[PF_SK_STACK].addr[1] = st->key[PF_SK_STACK]->addr[1]; in pfsync_state_export()
5582 sp->pfs_1301.key[PF_SK_STACK].port[0] = st->key[PF_SK_STACK]->port[0]; in pfsync_state_export()
5583 sp->pfs_1301.key[PF_SK_STACK].port[1] = st->key[PF_SK_STACK]->port[1]; in pfsync_state_export()
5584 sp->pfs_1301.proto = st->key[PF_SK_WIRE]->proto; in pfsync_state_export()
5585 sp->pfs_1301.af = st->key[PF_SK_WIRE]->af; in pfsync_state_export()
[all …]
/freebsd/sys/net/
H A Dpfvar.h1212 struct pfsync_state_1301 pfs_1301; member