Home
last modified time | relevance | path

Searched refs:didx (Results 1 – 6 of 6) sorted by relevance

/freebsd/sys/netpfil/pf/
H A Dpf.c611 if (PF_ANEQ(pd->dst, &nk->addr[pd->didx], pd->af)) in pf_packet_rework_nat()
613 &th->th_sum, &nk->addr[pd->didx], in pf_packet_rework_nat()
614 nk->port[pd->didx], 0, pd->af); in pf_packet_rework_nat()
625 if (PF_ANEQ(pd->dst, &nk->addr[pd->didx], pd->af)) in pf_packet_rework_nat()
627 &uh->uh_sum, &nk->addr[pd->didx], in pf_packet_rework_nat()
628 nk->port[pd->didx], 1, pd->af); in pf_packet_rework_nat()
641 if (PF_ANEQ(pd->dst, &nk->addr[pd->didx], pd->af)) { in pf_packet_rework_nat()
643 &checksum, &nk->addr[pd->didx], in pf_packet_rework_nat()
644 nk->port[pd->didx], 1, pd->af); in pf_packet_rework_nat()
676 if (PF_ANEQ(pd->dst, &nk->addr[pd->didx], pd->af)) { in pf_packet_rework_nat()
[all …]
H A Dpf_nl.c1268 int sidx, didx; in pf_handle_natlook() local
1283 didx = (attrs.direction == PF_IN) ? 0 : 1; in pf_handle_natlook()
1289 PF_ACPY(&key.addr[didx], &attrs.dst, attrs.af); in pf_handle_natlook()
1290 key.port[didx] = attrs.dport; in pf_handle_natlook()
1313 nlattr_add_in6_addr(nw, PF_NL_DST_ADDR, &sk->addr[didx].v6); in pf_handle_natlook()
1315 nlattr_add_u16(nw, PF_NL_DST_PORT, sk->port[didx]); in pf_handle_natlook()
H A Dpf_ioctl.c4072 int sidx, didx; in pfioctl() local
4076 didx = (direction == PF_IN) ? 0 : 1; in pfioctl()
4091 PF_ACPY(&key.addr[didx], &pnl->daddr, pnl->af); in pfioctl()
4092 key.port[didx] = pnl->dport; in pfioctl()
4105 PF_ACPY(&pnl->rdaddr, &sk->addr[didx], sk->af); in pfioctl()
4106 pnl->rdport = sk->port[didx]; in pfioctl()
/freebsd/contrib/bsnmp/snmpd/
H A Dtrans_lsock.c580 struct asn_oid didx; in op_lsock_port() local
604 asn_slice_oid(&didx, &value->var, sub, value->var.len); in op_lsock_port()
606 &oid_begemotSnmpdLocalPortTable, &didx, sizeof(*ld), in op_lsock_port()
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dbtree.c559 uint32_t count, zfs_btree_core_t *dest, uint32_t didx, in bt_transfer_core() argument
566 bcpy(source->btc_elems + sidx * size, dest->btc_elems + didx * size, in bt_transfer_core()
571 dest->btc_children + didx + (shape == BSS_TRAPEZOID ? 0 : 1), in bt_transfer_core()
577 uint32_t count, zfs_btree_leaf_t *dest, uint32_t didx) in bt_transfer_leaf() argument
584 dest->btl_elems + (dest->btl_hdr.bth_first + didx) * size, in bt_transfer_leaf()
/freebsd/sys/net/
H A Dpfvar.h1629 u_int8_t didx; /* key index for destination */ member