Home
last modified time | relevance | path

Searched refs:nt (Results 1 – 9 of 9) sorted by relevance

/xnu-8019.80.24/bsd/skywalk/namespace/
H A Dnetns.c945 struct ns_token *nt; in _netns_reserve_kpi_common() local
975 nt = *token; in _netns_reserve_kpi_common()
976 VERIFY(nt->nt_addr_len == addr_len); in _netns_reserve_kpi_common()
977 VERIFY(memcmp(nt->nt_addr, addr, addr_len) == 0); in _netns_reserve_kpi_common()
978 VERIFY(nt->nt_proto == proto); in _netns_reserve_kpi_common()
979 VERIFY(nt->nt_port == hport); in _netns_reserve_kpi_common()
980 VERIFY((nt->nt_flags & in _netns_reserve_kpi_common()
984 if ((nt->nt_flags & NETNS_CONFIGURATION_FLAGS) == in _netns_reserve_kpi_common()
986 SK_DF(NS_VERB_IP(nt->nt_addr_len) | in _netns_reserve_kpi_common()
987 NS_VERB_PROTO(nt->nt_proto), in _netns_reserve_kpi_common()
[all …]
/xnu-8019.80.24/tools/lldbmacros/
H A Dskywalk.py407 def GetNsTokenSummary(nt): argument
413 if (nt.nt_proto == IPPROTO_TCP):
415 elif (nt.nt_proto == IPPROTO_UDP):
418 proto = str(nt.nt_proto)
420 if (nt.nt_addr_len == sizeof('struct in_addr')):
421 addr = GetInAddrAsString(addressof(nt.nt_inaddr))
422 elif (nt.nt_addr_len == sizeof('struct in6_addr')):
423 addr = GetIn6AddrAsString(nt.nt_in6addr.__u6_addr.__u6_addr8)
425 addr = str(nt_addr) + " bad len {:u}".format(nt.nt_addr_len)
429 ports = "%u" % nt.nt_port
[all …]
/xnu-8019.80.24/EXTERNAL_HEADERS/corecrypto/
H A Dccn.h325 int ccn_cmpn(cc_size ns, const cc_unit *s, cc_size nt, const cc_unit *t);
342 cc_size nt, const cc_unit *t) { in ccn_subn() argument
343 assert(n >= nt); in ccn_subn()
344 return ccn_sub1(n - nt, r + nt, s + nt, ccn_sub(nt, r, s, t)); in ccn_subn()
363 cc_size nt, const cc_unit *t) { in ccn_addn() argument
364 assert(n >= nt); in ccn_addn()
365 return ccn_add1(n - nt, r + nt, s + nt, ccn_add(nt, r, s, t)); in ccn_addn()
/xnu-8019.80.24/makedefs/
H A DMakeInc.kernel315 …# -nt and -ot are evaluated differently by bash, dash, and zsh (and are not part of the POSIX spec…
317 …$(_v)if [ $(OBJROOT)/.mach_kernel.timestamp -nt $@ -o \( -e $(OBJROOT)/.mach_kernel.timestamp -a \…
367 …# -nt and -ot are evaluated differently by bash, dash, and zsh (and are not part of the POSIX spec…
369 …$(_v)if [ $(OBJROOT)/.mach_kernel.timestamp -nt $@ -o \( -e $(OBJROOT)/.mach_kernel.timestamp -a \…
409 …# -nt and -ot are evaluated differently by bash, dash, and zsh (and are not part of the POSIX spec…
411 …$(_v)if [ $(OBJROOT)/.mach_kernel.timestamp -nt $@ -o \( -e $(OBJROOT)/.mach_kernel.timestamp -a \…
H A DMakeInc.top419 …# -nt and -ot are evaluated differently by bash, dash, and zsh (and are not part of the POSIX spec…
421 …$(_v)while [ \! $(OBJROOT)/.mach_kernel.timestamp.new -nt $(OBJROOT)/.mach_kernel.timestamp -a \( …
/xnu-8019.80.24/osfmk/gssd/
H A Dgssd_mach.defs169 in nt : gssd_nametype;
179 in nt : gssd_nametype;
/xnu-8019.80.24/bsd/nfs/
H A Dnfs_gss.c646 nfs_gss_clnt_ctx_find_principal(struct nfsreq *req, uint8_t *principal, size_t plen, uint32_t nt) in nfs_gss_clnt_ctx_find_principal() argument
679 if (cp->gss_clnt_prinlen != plen || cp->gss_clnt_prinnt != nt || in nfs_gss_clnt_ctx_find_principal()
687 cp->gss_clnt_prinnt, nt); in nfs_gss_clnt_ctx_find_principal()
785 cp->gss_clnt_prinnt = nt; in nfs_gss_clnt_ctx_find_principal()
1721 nfs_gss_clnt_svcname(struct nfsmount *nmp, gssd_nametype *nt, size_t *len) in nfs_gss_clnt_svcname() argument
1733 *nt = GSSD_HOSTBASED; in nfs_gss_clnt_svcname()
1742 *nt = GSSD_HOSTBASED; in nfs_gss_clnt_svcname()
1895 int32_t nt = GSSD_STRING_NAME; in nfs_gss_clnt_gssd_upcall() local
1967 nt = cp->gss_clnt_prinnt; in nfs_gss_clnt_gssd_upcall()
1971 cp->gss_clnt_prinnt = nt = GSSD_USER; in nfs_gss_clnt_gssd_upcall()
[all …]
/xnu-8019.80.24/osfmk/i386/
H A Dpcb.c439 pmap_switch_context(thread_t ot, thread_t nt, int cnum) in pmap_switch_context() argument
442 vm_map_t nmap = nt->map, omap = ot->map; in pmap_switch_context()
445 PMAP_ACTIVATE_MAP(nmap, nt, cnum); in pmap_switch_context()
446 if (__improbable((nt->machine.mthr_do_segchk & MTHR_RSBST) && in pmap_switch_context()
/xnu-8019.80.24/libsyscall/wrappers/skywalk/
H A Dos_channel.c819 os_channel_read_nexus_extension_info(const channel_t chd, nexus_type_t *nt, in os_channel_read_nexus_extension_info() argument
825 if (nt != NULL) { in os_channel_read_nexus_extension_info()
826 *nt = nxp->nxp_type; in os_channel_read_nexus_extension_info()