Home
last modified time | relevance | path

Searched refs:daddr (Results 1 – 25 of 74) sorted by relevance

123

/freebsd/sys/ufs/ufs/
H A Dufs_bmap.c99 ufs2_daddr_t daddr, in readindir() argument
112 KASSERT(daddr != 0, in readindir()
115 bp->b_blkno = blkptrtodb(ump, daddr); in readindir()
167 ufs2_daddr_t daddr; in ufs_bmaparray() local
242 daddr = DIP(ip, i_ib[ap->in_off]); in ufs_bmaparray()
252 if ((daddr == 0 && !incore(&vp->v_bufobj, metalbn)) || metalbn == bn) in ufs_bmaparray()
260 error = readindir(vp, metalbn, daddr, &bp); in ufs_bmaparray()
265 daddr = ((ufs1_daddr_t *)bp->b_data)[ap->in_off]; in ufs_bmaparray()
267 daddr = ((ufs2_daddr_t *)bp->b_data)[ap->in_off]; in ufs_bmaparray()
268 if ((error = UFS_CHECK_BLKNO(mp, ip->i_number, daddr, in ufs_bmaparray()
[all …]
/freebsd/sys/fs/ext2fs/
H A Dext2_bmap.c155 readindir(struct vnode *vp, e2fs_lbn_t lbn, e2fs_daddr_t daddr, struct buf **bpp) in readindir() argument
167 KASSERT(daddr != 0, in readindir()
170 bp->b_blkno = blkptrtodb(ump, daddr); in readindir()
217 daddr_t daddr; in ext2_bmaparray() local
265 daddr = ip->i_ib[ap->in_off]; in ext2_bmaparray()
275 if ((daddr == 0 && !incore(&vp->v_bufobj, metalbn)) || metalbn == bn) in ext2_bmaparray()
283 error = readindir(vp, metalbn, daddr, &bp); in ext2_bmaparray()
287 daddr = le32toh(((e2fs_daddr_t *)bp->b_data)[ap->in_off]); in ext2_bmaparray()
288 if (num == 1 && daddr && runp) { in ext2_bmaparray()
308 *bnp = blkptrtodb(ump, daddr); in ext2_bmaparray()
[all …]
/freebsd/sys/netpfil/ipfw/nat64/
H A Dnat64clat.c88 struct in6_addr saddr, daddr; in nat64clat_handle_ip4() local
100 memcpy(&daddr, &cfg->base.plat_prefix, sizeof(daddr)); in nat64clat_handle_ip4()
101 nat64_embed_ip4(&daddr, cfg->base.plat_plen, ip->ip_dst.s_addr); in nat64clat_handle_ip4()
107 return (nat64_do_handle_ip4(m, &saddr, &daddr, 0, &cfg->base, in nat64clat_handle_ip4()
152 uint32_t daddr; in nat64clat_handle_icmp6() local
189 daddr = nat64_extract_ip4(&ip6i->ip6_dst, cfg->base.clat_plen); in nat64clat_handle_icmp6()
190 if (daddr == 0) { in nat64clat_handle_icmp6()
199 return (nat64_handle_icmp6(m, 0, daddr, 0, &cfg->base, logdata)); in nat64clat_handle_icmp6()
H A Dnat64stl.c87 struct in6_addr saddr, daddr; in nat64stl_handle_ip4() local
97 daddr = TARG_VAL(chain, tablearg, nh6); in nat64stl_handle_ip4()
98 if (nat64_check_ip6(&daddr) != 0) in nat64stl_handle_ip4()
108 return (nat64_do_handle_ip4(m, &saddr, &daddr, 0, &cfg->base, in nat64stl_handle_ip4()
/freebsd/tools/tools/netmap/
H A Dpkt_hash.c212 uint32_t saddr, daddr; in decode_ipv6_n_hash() local
220 daddr = ipv6h->ip6_dst.s6_addr[0] | in decode_ipv6_n_hash()
227 ntohl(daddr), in decode_ipv6_n_hash()
238 ntohl(daddr), in decode_ipv6_n_hash()
245 ntohl(daddr), in decode_ipv6_n_hash()
272 ntohl(daddr), in decode_ipv6_n_hash()
287 uint32_t saddr, daddr, rc; in decode_others_n_hash() local
293 daddr = ethh->ether_dhost[5] | in decode_others_n_hash()
299 ntohl(daddr), in decode_others_n_hash()
/freebsd/sys/netpfil/pf/
H A Dpf_lb.c136 struct pf_addr *daddr, uint16_t dport, int rs_num, in pf_match_translation() argument
177 PF_MISMATCHAW(&dst->addr, daddr, pd->af, dst->neg, NULL, in pf_match_translation()
180 else if (xdst != NULL && PF_MISMATCHAW(xdst, daddr, pd->af, in pf_match_translation()
226 struct pf_addr *saddr, uint16_t sport, struct pf_addr *daddr, in pf_get_sport() argument
291 PF_ACPY(&key.addr[0], daddr, key.af); in pf_get_sport()
415 struct pf_addr *saddr, uint16_t sport, struct pf_addr *daddr, in pf_get_mape_sport() argument
436 if (!pf_get_sport(af, proto, r, saddr, sport, daddr, dport, in pf_get_mape_sport()
442 if (!pf_get_sport(af, proto, r, saddr, sport, daddr, dport, in pf_get_mape_sport()
701 struct pf_state_key **nkp, struct pf_addr *saddr, struct pf_addr *daddr, in pf_get_translation() argument
720 sport, daddr, dport, PF_RULESET_BINAT, anchor_stack); in pf_get_translation()
[all …]
/freebsd/contrib/pf/ftp-proxy/
H A Dfilter.c362 memcpy(&k.daddr.v4, &proxy->sin_addr.s_addr, sizeof(k.daddr.v4)); in server_lookup4()
372 memcpy(&server->sin_addr.s_addr, &r.daddr.v4, in server_lookup4()
390 memcpy(&k.daddr.v6, &proxy->sin6_addr.s6_addr, sizeof(k.daddr.v6)); in server_lookup6()
400 memcpy(&server->sin6_addr.s6_addr, &r.daddr.v6, in server_lookup6()
/freebsd/contrib/pf/tftp-proxy/
H A Dfilter.c373 memcpy(&k.daddr.v4, &proxy->sin_addr.s_addr, sizeof(k.daddr.v4)); in server_lookup4()
383 memcpy(&server->sin_addr.s_addr, &r.daddr.v4, in server_lookup4()
401 memcpy(&k.daddr.v6, &proxy->sin6_addr.s6_addr, sizeof k.daddr.v6); in server_lookup6()
411 memcpy(&server->sin6_addr.s6_addr, &r.daddr.v6, in server_lookup6()
/freebsd/sys/dev/qlnx/qlnxe/
H A Decore_tcp_ip.h76 u32 daddr; member
106 struct ecore_in6_addr daddr; member
/freebsd/contrib/tcpdump/
H A Dprint-esp.c102 union inaddr_u daddr; member
656 if (strtoaddr6(spikey, &sa1.daddr.in6) == 1) { in esp_print_decode_onesecret()
658 } else if (strtoaddr(spikey, &sa1.daddr.in4) == 1) { in esp_print_decode_onesecret()
793 UNALIGNED_MEMCMP(&sa->daddr.in6, &ip6->ip6_dst, in esp_print()
808 UNALIGNED_MEMCMP(&sa->daddr.in4, &ip->ip_dst, in esp_print()
H A Dpflog.h147 struct pf_addr daddr; member
/freebsd/sys/arm/freescale/vybrid/
H A Dvf_edma.h130 bus_addr_t daddr; member
162 uint32_t daddr; member
/freebsd/sys/netinet6/
H A Dip_fw_nat64.h162 struct in_addr daddr; /* Remote IPv4 address */ member
184 struct in_addr daddr; /* Remote IPv4 address */ member
/freebsd/sys/dev/cxgbe/iw_cxgbe/
H A Dmem.c186 dma_addr_t daddr; in _c4iw_write_mem_dma() local
189 daddr = dma_map_single(rhp->ibdev.dma_device, data, len, DMA_TO_DEVICE); in _c4iw_write_mem_dma()
190 if (dma_mapping_error(rhp->ibdev.dma_device, daddr)) in _c4iw_write_mem_dma()
192 save = daddr; in _c4iw_write_mem_dma()
204 (void *)daddr, !remain); in _c4iw_write_mem_dma()
209 daddr = daddr + dmalen; in _c4iw_write_mem_dma()
/freebsd/sys/dev/mlx5/mlx5_accel/
H A Dmlx5_ipsec.c201 attrs->daddr.a4 = saidx->dst.sin.sin_addr.s_addr; in mlx5e_ipsec_build_accel_xfrm_attrs()
204 memcpy(&attrs->daddr.a6, &saidx->dst.sin6.sin6_addr, 16); in mlx5e_ipsec_build_accel_xfrm_attrs()
613 attrs->daddr.a4 = spidx->dst.sin.sin_addr.s_addr; in mlx5e_ipsec_build_accel_pol_attrs()
616 memcpy(&attrs->daddr.a6, &spidx->dst.sin6.sin6_addr, 16); in mlx5e_ipsec_build_accel_pol_attrs()
628 attrs->daddr.a4 = inp->inp_faddr.s_addr; in mlx5e_ipsec_build_accel_pol_attrs()
632 memcpy(&attrs->daddr.a6, &inp->in6p_laddr, 16); in mlx5e_ipsec_build_accel_pol_attrs()
H A Dipsec.h102 } daddr; member
183 } daddr; member
H A Dmlx5_ipsec_fs.c465 __be32 *daddr) in setup_fte_addr4() argument
475 outer_headers.dst_ipv4_dst_ipv6.ipv4_layout.ipv4), daddr, 4); in setup_fte_addr4()
483 __be32 *daddr) in setup_fte_addr6() argument
493 outer_headers.dst_ipv4_dst_ipv6.ipv6_layout.ipv6), daddr, 16); in setup_fte_addr6()
556 setup_fte_addr4(spec, &attrs->saddr.a4, &attrs->daddr.a4); in rx_add_rule()
558 setup_fte_addr6(spec, attrs->saddr.a6, attrs->daddr.a6); in rx_add_rule()
1167 setup_fte_addr4(spec, &attrs->saddr.a4, &attrs->daddr.a4); in tx_add_reqid_ip_rules()
1169 setup_fte_addr6(spec, attrs->saddr.a6, attrs->daddr.a6); in tx_add_reqid_ip_rules()
1280 setup_fte_addr4(spec, &attrs->saddr.a4, &attrs->daddr.a4); in tx_add_policy()
1282 setup_fte_addr6(spec, attrs->saddr.a6, attrs->daddr.a6); in tx_add_policy()
[all …]
/freebsd/libexec/rbootd/
H A Drmp.h74 u_int8_t daddr[RMP_ADDRLEN]; member
/freebsd/crypto/openssh/
H A Dssh-keyscan.c663 char daddr[128]; in do_host() local
682 if (addr_ntop(&addr, daddr, sizeof(daddr)) != 0) { in do_host()
687 debug("CIDR expand: address %s", daddr); in do_host()
688 do_one_host(daddr); in do_host()
/freebsd/sys/compat/linuxkpi/common/include/linux/
H A Dip.h53 uint32_t daddr; member
/freebsd/sbin/ipf/ipfstat/
H A Dipfstat.c202 i6addr_t saddr, daddr; in main() local
212 daddr.in4.s_addr = INADDR_ANY; /* default any v4 dest addr */ in main()
215 daddr.in6 = in6addr_any; /* default any v6 dest addr */ in main()
303 parse_ipportstr(optarg, &daddr, &dport); in main()
425 topipstates(saddr, daddr, sport, dport, protocol, in main()
1274 static void topipstates(i6addr_t saddr, i6addr_t daddr, int sport, int dport, in topipstates() argument
1353 (daddr.in4.s_addr != INADDR_ANY && in topipstates()
1354 daddr.in4.s_addr != ips.is_daddr)) in topipstates()
1362 (IP6_NEQ(&daddr, &in6addr_any) && in topipstates()
1363 IP6_NEQ(&daddr, &ips.is_dst))) in topipstates()
[all …]
/freebsd/contrib/openbsm/bin/auditdistd/
H A Dproto_tls.c340 char *saddr, *daddr; in tls_exec_client() local
365 daddr = strdup(dstaddr); in tls_exec_client()
366 if (daddr == NULL) in tls_exec_client()
368 bcopy("tcp://", daddr, 6); in tls_exec_client()
371 if (proto_connect(saddr, daddr, timeout, &tcp) == -1) in tls_exec_client()
/freebsd/sys/cddl/contrib/opensolaris/uts/common/dtrace/
H A Ddtrace.c2844 uintptr_t daddr, saddr, dlimit, slimit; in dtrace_speculation_commit() local
2958 daddr = (uintptr_t)dest->dtb_tomax + offs; in dtrace_speculation_commit()
2959 dlimit = daddr + src->dtb_offset; in dtrace_speculation_commit()
2965 while (dlimit - daddr >= sizeof (uint64_t)) { in dtrace_speculation_commit()
2966 *((uint64_t *)daddr) = *((uint64_t *)saddr); in dtrace_speculation_commit()
2968 daddr += sizeof (uint64_t); in dtrace_speculation_commit()
2975 while (dlimit - daddr) in dtrace_speculation_commit()
2976 *((uint8_t *)daddr++) = *((uint8_t *)saddr++); in dtrace_speculation_commit()
4558 uintptr_t baddr = tupregs[0].dttk_value, daddr; local
4583 daddr
5177 uintptr_t daddr = tupregs[0].dttk_value; global() local
9472 uintptr_t daddr = (uintptr_t)dhp->dofhp_dof; global() local
9561 uintptr_t daddr = (uintptr_t)dhp->dofhp_dof; global() local
9590 uintptr_t daddr = (uintptr_t)dhp->dofhp_dof; global() local
9618 uintptr_t daddr = (uintptr_t)dhp->dofhp_dof; global() local
13564 uintptr_t daddr = (uintptr_t)dof; global() local
13635 uintptr_t daddr = (uintptr_t)dof; global() local
13822 uintptr_t daddr = (uintptr_t)dof; global() local
14020 uintptr_t daddr = (uintptr_t)dof; global() local
14103 uintptr_t daddr = (uintptr_t)dof; global() local
16165 uintptr_t daddr = (uintptr_t)dof; global() local
16388 uintptr_t daddr = (uintptr_t)dof; global() local
[all...]
/freebsd/contrib/libpcap/
H A Dpflog.h150 struct pf_addr daddr; member
/freebsd/sys/dev/ida/
H A Dida.c755 void *daddr; in ida_ioctl() local
771 daddr = &uc->d.buf; in ida_ioctl()
773 daddr = &data; in ida_ioctl()
777 error = ida_command(sc, uc->command, daddr, len, in ida_ioctl()

123