/freebsd/sys/netinet6/ |
H A D | scope6.c | 324 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 D | in6_src.c | 727 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 D | in6.c | 901 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 D | mld6.c | 197 #define MLD_EMBEDSCOPE(pin6, zoneid) \ argument 200 (pin6)->s6_addr16[1] = htons((zoneid) & 0xFFFF) \
|
/freebsd/contrib/ntp/libntp/lib/isc/ |
H A D | netscope.c | 33 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 D | ip_fw_dynamic.c | 200 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 D | ip_fw_table_value.c | 119 _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 D | ip_fw_private.h | 341 uint32_t zoneid; /* scope zone id for nh6 */ member
|
H A D | ip_fw2.c | 3130 chain, tablearg, zoneid); in ipfw_chk()
|
/freebsd/contrib/ntp/libntp/lib/isc/include/isc/ |
H A D | netscope.h | 39 isc_netscope_pton(int af, char *scopename, void *addr, isc_uint32_t *zoneid);
|
/freebsd/sys/kern/ |
H A D | subr_busdma_bounce.c | 82 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 D | dtrace_ioctl.c | 654 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 D | libzfs_mount.c | 1221 zoneid_t zoneid = getzoneid(); in zfs_foreach_mountpoint() local 1262 if (zoneid == GLOBAL_ZONEID && in zfs_foreach_mountpoint()
|
/freebsd/sys/netinet/ |
H A D | ip_fw.h | 909 uint32_t zoneid; /* scope zone id for nh6 */ member
|
/freebsd/sys/cddl/contrib/opensolaris/uts/common/dtrace/ |
H A D | dtrace.c | 8352 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 D | tables.c | 1656 v->zoneid = ((struct sockaddr_in6 *) in tentry_fill_value() 1878 sa6.sin6_scope_id = v->zoneid; in table_show_value()
|