Home
last modified time | relevance | path

Searched refs:zoneid (Results 1 – 16 of 16) sorted by relevance

/freebsd/sys/netinet6/
H A Dscope6.c324 u_int32_t zoneid; in sa6_embedscope() local
326 if ((zoneid = sin6->sin6_scope_id) == 0 && defaultok) in sa6_embedscope()
327 zoneid = scope6_addr2default(&sin6->sin6_addr); in sa6_embedscope()
329 if (zoneid != 0 && in sa6_embedscope()
341 if (ifnet_byindex(zoneid) == NULL) { in sa6_embedscope()
348 sin6->sin6_addr.s6_addr16[1] = htons(zoneid & 0xffff); in sa6_embedscope()
362 u_int32_t zoneid; in sa6_recoverscope() local
369 zoneid = ntohs(sin6->sin6_addr.s6_addr16[1]); in sa6_recoverscope()
370 if (zoneid) { in sa6_recoverscope()
375 if (!ifnet_byindex(zoneid)) { in sa6_recoverscope()
[all …]
H A Din6_src.c727 uint32_t zoneid = ntohs(in6_getscope(dst)); in selectroute() local
728 if (zoneid > 0) { in selectroute()
729 ifp = in6_getlinkifnet(zoneid); in selectroute()
H A Din6.c901 u_int32_t zoneid; in in6_validate_ifra() local
904 if (in6_setscope(&in6_tmp, ifp, &zoneid)) in in6_validate_ifra()
908 if (dst6.sin6_scope_id != zoneid) in in6_validate_ifra()
911 dst6.sin6_scope_id = zoneid; in in6_validate_ifra()
1623 in6ifa_ifwithaddr(const struct in6_addr *addr, uint32_t zoneid, bool referenced) in in6ifa_ifwithaddr() argument
1631 if (zoneid != 0 && in in6ifa_ifwithaddr()
1632 zoneid != ia->ia_addr.sin6_scope_id) in in6ifa_ifwithaddr()
H A Dmld6.c197 #define MLD_EMBEDSCOPE(pin6, zoneid) \ argument
200 (pin6)->s6_addr16[1] = htons((zoneid) & 0xFFFF) \
/freebsd/contrib/ntp/libntp/lib/isc/
H A Dnetscope.c33 isc_netscope_pton(int af, char *scopename, void *addr, isc_uint32_t *zoneid) { in isc_netscope_pton() argument
74 *zoneid = zone; in isc_netscope_pton()
/freebsd/sys/netpfil/ipfw/
H A Dip_fw_dynamic.c200 uint32_t zoneid; /* IPv6 scope zone id */ member
1186 dyn_lookup_ipv6_state(const struct ipfw_flow_id *pkt, uint32_t zoneid, in dyn_lookup_ipv6_state() argument
1200 if (s->proto != pkt->proto || s->zoneid != zoneid) in dyn_lookup_ipv6_state()
1228 dyn_lookup_ipv6_state_locked(const struct ipfw_flow_id *pkt, uint32_t zoneid, in dyn_lookup_ipv6_state_locked() argument
1238 s->zoneid != zoneid) in dyn_lookup_ipv6_state_locked()
1259 dyn_lookup_ipv6_parent(const struct ipfw_flow_id *pkt, uint32_t zoneid, in dyn_lookup_ipv6_parent() argument
1282 s->dport == pkt->dst_port && s->zoneid == zoneid && in dyn_lookup_ipv6_parent()
1296 dyn_lookup_ipv6_parent_locked(const struct ipfw_flow_id *pkt, uint32_t zoneid, in dyn_lookup_ipv6_parent_locked() argument
1308 s->dport == pkt->dst_port && s->zoneid == zoneid && in dyn_lookup_ipv6_parent_locked()
1638 dyn_alloc_ipv6_state(const struct ipfw_flow_id *pkt, uint32_t zoneid, in dyn_alloc_ipv6_state() argument
[all …]
H A Dip_fw_table_value.c119 _MCPY(zoneid, IPFW_VTYPE_NH6); in mask_table_value()
655 v.zoneid = iv->zoneid; in ipfw_import_table_value_v1()
682 iv.zoneid = v->zoneid; in ipfw_export_table_value_v1()
H A Dip_fw_private.h341 uint32_t zoneid; /* scope zone id for nh6 */ member
H A Dip_fw2.c3130 chain, tablearg, zoneid); in ipfw_chk()
/freebsd/contrib/ntp/libntp/lib/isc/include/isc/
H A Dnetscope.h39 isc_netscope_pton(int af, char *scopename, void *addr, isc_uint32_t *zoneid);
/freebsd/sys/kern/
H A Dsubr_busdma_bounce.c82 char zoneid[8]; member
199 snprintf(bz->zoneid, sizeof(bz->zoneid), "zone%d", busdma_zonecount); in alloc_bounce_zone()
209 SYSCTL_STATIC_CHILDREN(_hw_busdma), OID_AUTO, bz->zoneid, in alloc_bounce_zone()
/freebsd/sys/cddl/dev/dtrace/
H A Ddtrace_ioctl.c654 zoneid_t zoneid = 0; in dtrace_ioctl() local
681 dtrace_cred2priv(td->td_ucred, &priv, &uid, &zoneid); in dtrace_ioctl()
689 priv, uid, zoneid)) != 0) in dtrace_ioctl()
701 dtrace_match_priv(probe, priv, uid, zoneid)) in dtrace_ioctl()
/freebsd/sys/contrib/openzfs/lib/libzfs/
H A Dlibzfs_mount.c1221 zoneid_t zoneid = getzoneid(); in zfs_foreach_mountpoint() local
1262 if (zoneid == GLOBAL_ZONEID && in zfs_foreach_mountpoint()
/freebsd/sys/netinet/
H A Dip_fw.h909 uint32_t zoneid; /* scope zone id for nh6 */ member
/freebsd/sys/cddl/contrib/opensolaris/uts/common/dtrace/
H A Ddtrace.c8352 zoneid_t zoneid) argument
8384 zoneid != prp->dtpr_provider->dtpv_priv.dtpp_zoneid) {
8399 uint32_t priv, uid_t uid, zoneid_t zoneid) argument
8419 if (dtrace_match_priv(prp, priv, uid, zoneid) == 0)
8566 zoneid_t zoneid, int (*matched)(dtrace_probe_t *, void *), void *arg) argument
8581 dtrace_match_probe(probe, pkp, priv, uid, zoneid) > 0) {
8624 zoneid) <= 0)
8644 if (dtrace_match_probe(probe, pkp, priv, uid, zoneid) <= 0)
9421 zoneid_t zoneid; local
9437 &priv, &uid, &zoneid);
[all …]
/freebsd/sbin/ipfw/
H A Dtables.c1656 v->zoneid = ((struct sockaddr_in6 *) in tentry_fill_value()
1878 sa6.sin6_scope_id = v->zoneid; in table_show_value()