Searched refs:ns (Results 51 - 75 of 202) sorted by relevance

123456789

/illumos-gate/usr/src/cmd/fm/modules/common/ext-event-transport/
H A Dfmevt_inbound.c149 char *ns, *s; local
158 ns = strsep(&s, FMEV_RS_SEPARATOR);
160 if (s == NULL || s == ns + 1)
169 ns = fmd_hdl_alloc(hdl, len + 1, FMD_SLEEP);
170 (void) strncpy(ns, ruleset, len);
171 ns[len] = '\0';
177 *nsp = ns; /* caller must free if alloc == B_TRUE */
212 char *ns, *subsys; local
221 if (!fmevt_rs_burst(NULL, buf, &ns, &subsys, B_FALSE))
330 char *ns, *subsy local
[all...]
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dspd.c364 netstack_t *ns = ipss->ipsec_netstack; local
381 ITP_REFRELE(node, ns);
387 ipsec_config_flush(ns);
421 ipsec_alg_unreg(algtype, i, ns);
427 ipsid_gc(ns);
428 ipsid_fini(ns);
477 boolean_t global_cleanup, netstack_t *ns)
489 ipsec_free_tables(ns->netstack_ipsec) :
500 ipsec_alloc_tables(int kmflag, netstack_t *ns) argument
503 ipsec_stack_t *ipss = ns
476 ipsec_alloc_table(ipsec_policy_head_t *iph, int nchains, int kmflag, boolean_t global_cleanup, netstack_t *ns) argument
588 ipsec_stack_init(netstackid_t stackid, netstack_t *ns) argument
710 alg_insert_sortlist(enum ipsec_algtype at, uint8_t algid, netstack_t *ns) argument
750 alg_remove_sortlist(enum ipsec_algtype at, uint8_t algid, netstack_t *ns) argument
774 ipsec_alg_reg(ipsec_algtype_t algtype, ipsec_alginfo_t *alg, netstack_t *ns) argument
793 ipsec_alg_unreg(ipsec_algtype_t algtype, uint8_t algid, netstack_t *ns) argument
812 ipsec_system_policy(netstack_t *ns) argument
822 ipsec_inactive_policy(netstack_t *ns) argument
836 ipsec_swap_policy(ipsec_policy_head_t *active, ipsec_policy_head_t *inactive, netstack_t *ns) argument
887 ipsec_swap_global_policy(netstack_t *ns) argument
960 ipsec_copy_polhead(ipsec_policy_head_t *sph, ipsec_policy_head_t *dph, netstack_t *ns) argument
1009 ipsec_clone_system_policy(netstack_t *ns) argument
1023 ipsec_log_policy_failure(int type, char *func_name, ipha_t *ipha, ip6_t *ip6h, boolean_t secure, netstack_t *ns) argument
1058 ipsec_rl_strlog(netstack_t *ns, short mid, short sid, char level, ushort_t sl, char *fmt, ...) argument
1086 ipsec_config_flush(netstack_t *ns) argument
1102 act_alg_adjust(uint_t algtype, uint_t algid, uint16_t *minbits, uint16_t *maxbits, netstack_t *ns) argument
1138 ipsec_check_action(ipsec_act_t *act, int *diag, netstack_t *ns) argument
1189 ipsec_setup_act(ipsec_act_t *outact, ipsec_act_t *act, uint_t auth_alg, uint_t encr_alg, uint_t eauth_alg, netstack_t *ns) argument
1214 ipsec_act_wildcard_expand(ipsec_act_t *act, uint_t *nact, netstack_t *ns) argument
1370 ipsec_actvec_from_req(const ipsec_req_t *req, ipsec_act_t **actp, uint_t *nactp, netstack_t *ns) argument
1522 ipsec_check_ipsecin_unique(ip_recv_attr_t *ira, const char **reason, kstat_named_t **counter, uint64_t pkt_unique, netstack_t *ns) argument
1565 ipsec_check_ipsecin_action(ip_recv_attr_t *ira, mblk_t *mp, ipsec_action_t *ap, ipha_t *ipha, ip6_t *ip6h, const char **reason, kstat_named_t **counter, netstack_t *ns) argument
1799 ipsec_check_ipsecin_latch(ip_recv_attr_t *ira, mblk_t *mp, ipsec_latch_t *ipl, ipsec_action_t *ap, ipha_t *ipha, ip6_t *ip6h, const char **reason, kstat_named_t **counter, conn_t *connp, netstack_t *ns) argument
1856 ipsec_check_ipsecin_policy(mblk_t *data_mp, ipsec_policy_t *ipsp, ipha_t *ipha, ip6_t *ip6h, uint64_t pkt_unique, ip_recv_attr_t *ira, netstack_t *ns) argument
2085 ipsec_find_policy(int direction, const conn_t *connp, ipsec_selector_t *sel, netstack_t *ns) argument
2115 ipsec_check_global_policy(mblk_t *data_mp, conn_t *connp, ipha_t *ipha, ip6_t *ip6h, ip_recv_attr_t *ira, netstack_t *ns) argument
2463 netstack_t *ns; local
3125 selkey_hash(const ipsec_selkey_t *selkey, netstack_t *ns) argument
3162 ipsec_act_find(const ipsec_act_t *a, int n, netstack_t *ns) argument
3304 netstack_t *ns; local
3366 ipsec_find_sel(ipsec_selkey_t *selkey, netstack_t *ns) argument
3420 ipsec_sel_rel(ipsec_sel_t **spp, netstack_t *ns) argument
3467 ipsec_policy_create(ipsec_selkey_t *keys, const ipsec_act_t *a, int nacts, int prio, uint64_t *index_ptr, netstack_t *ns) argument
3536 ipsec_policy_delete(ipsec_policy_head_t *php, ipsec_selkey_t *keys, int dir, netstack_t *ns) argument
3583 ipsec_policy_delete_index(ipsec_policy_head_t *php, uint64_t policy_index, netstack_t *ns) argument
3814 ipsec_enter_policy(ipsec_policy_head_t *php, ipsec_policy_t *ipp, int direction, netstack_t *ns) argument
3879 ipsec_polhead_insert(ipsec_policy_head_t *ph, ipsec_act_t *actp, uint_t nact, int fam, int ptype, netstack_t *ns) argument
3898 ipsec_polhead_flush(ipsec_policy_head_t *php, netstack_t *ns) argument
3912 ipsec_polhead_free(ipsec_policy_head_t *php, netstack_t *ns) argument
3975 ipsec_polhead_split(ipsec_policy_head_t *php, netstack_t *ns) argument
4027 netstack_t *ns = ixa->ixa_ipst->ips_netstack; local
4203 netstack_t *ns = ipst->ips_netstack; local
4278 netstack_t *ns = connp->conn_netstack; local
4411 netstack_t *ns = connp->conn_netstack; local
4555 ipsid_lookup(int idtype, char *idstring, netstack_t *ns) argument
4610 ipsid_gc(netstack_t *ns) argument
4659 ipsid_init(netstack_t *ns) argument
4675 ipsid_fini(netstack_t *ns) argument
4693 ipsec_alg_fix_min_max(ipsec_alginfo_t *alg, ipsec_algtype_t alg_type, netstack_t *ns) argument
5019 netstack_t *ns; local
5030 ipsec_prov_update_callback_stack(uint32_t event, void *event_arg, netstack_t *ns) argument
5191 netstack_t *ns = iptun->iptun_ns; local
5463 ipsec_check_ipsecin_policy_reasm(mblk_t *attr_mp, ipsec_policy_t *pol, ipha_t *inner_ipv4, ip6_t *inner_ipv6, uint64_t pkt_unique, netstack_t *ns) argument
5543 ipsec_tun_inbound(ip_recv_attr_t *ira, mblk_t *data_mp, ipsec_tun_pol_t *itp, ipha_t *inner_ipv4, ip6_t *inner_ipv6, ipha_t *outer_ipv4, ip6_t *outer_ipv6, int outer_hdr_len, netstack_t *ns) argument
5935 itp_free(ipsec_tun_pol_t *node, netstack_t *ns) argument
5950 itp_unlink(ipsec_tun_pol_t *node, netstack_t *ns) argument
5967 get_tunnel_policy(char *name, netstack_t *ns) argument
5990 itp_walk(void (*iterator)(ipsec_tun_pol_t *, void *, netstack_t *), void *arg, netstack_t *ns) argument
6008 tunnel_polhead_init(ipsec_policy_head_t *iph, netstack_t *ns) argument
6030 create_tunnel_policy(char *name, int *errno, uint64_t *gen, netstack_t *ns) argument
[all...]
H A Dipsecesp.c134 static void *ipsecesp_stack_init(netstackid_t stackid, netstack_t *ns);
282 netstack_t *ns; local
291 ns = netstack_find_by_stackid(stackid);
292 if (ns == NULL)
294 ipss = ns->netstack_ipsec;
296 netstack_rele(ns);
308 netstack_rele(ns);
374 netstack_t *ns = espstack->ipsecesp_netstack; local
378 espstack->ipsecesp_reap_delay, ns);
380 espstack->ipsecesp_reap_delay, ns);
449 ipsecesp_fill_defs(sadb_x_ecomb_t *ecomb, netstack_t *ns) argument
510 ipsecesp_stack_init(netstackid_t stackid, netstack_t *ns) argument
589 netstack_t *ns; local
655 netstack_t *ns = assoc->ipsa_netstack; local
1051 netstack_t *ns = assoc->ipsa_netstack; local
1140 netstack_t *ns = ira->ira_ill->ill_ipst->ips_netstack; local
1189 esp_insert_prop(sadb_prop_t *prop, ipsacq_t *acqrec, uint_t combs, netstack_t *ns) argument
1304 esp_send_acquire(ipsacq_t *acqrec, mblk_t *extended, netstack_t *ns) argument
1649 netstack_t *ns = ira->ira_ill->ill_ipst->ips_netstack; local
1789 netstack_t *ns = ira->ira_ill->ill_ipst->ips_netstack; local
1860 netstack_t *ns; local
1947 netstack_t *ns; local
2086 netstack_t *ns = ira->ira_ill->ill_ipst->ips_netstack; local
2260 esp_prepare_udp(netstack_t *ns, mblk_t *mp, ipha_t *ipha) argument
2303 netstack_t *ns; local
2339 netstack_t *ns = assoc->ipsa_netstack; local
2408 netstack_t *ns = ixa->ixa_ipst->ips_netstack; local
2622 netstack_t *ns = ixa->ixa_ipst->ips_netstack; local
2974 netstack_t *ns = ira->ira_ill->ill_ipst->ips_netstack; local
3226 ipsecesp_algs_changed(netstack_t *ns) argument
3270 netstack_t *ns = ira->ira_ill->ill_ipst->ips_netstack; local
3529 netstack_t *ns = ixa->ixa_ipst->ips_netstack; local
3560 esp_add_sa(mblk_t *mp, keysock_in_t *ksi, int *diagnostic, netstack_t *ns) argument
4172 netstack_t *ns = ira->ira_ill->ill_ipst->ips_netstack; local
[all...]
H A Dspdsock.c157 static void *spdsock_stack_init(netstackid_t stackid, netstack_t *ns);
312 spdsock_stack_init(netstackid_t stackid, netstack_t *ns) argument
318 spds->spds_netstack = ns;
571 spdsock_flush_node(ipsec_tun_pol_t *itp, void *cookie, netstack_t *ns) argument
579 spdsock_flush_one(iph, ns); /* Releases iph refhold. */
593 spdsock_flush_one(ipsec_policy_head_t *iph, netstack_t *ns) argument
596 ipsec_polhead_flush(iph, ns);
598 IPPH_REFRELE(iph, ns);
607 netstack_t *ns = ss->spdsock_spds->spds_netstack; local
611 spdsock_flush_one(iph, ns);
1202 netstack_t *ns = ss->spdsock_spds->spds_netstack; local
1300 spdsock_flip_node(ipsec_tun_pol_t *itp, void *ignoreme, netstack_t *ns) argument
1316 netstack_t *ns = ss->spdsock_spds->spds_netstack; local
1447 netstack_t *ns = ss->spdsock_spds->spds_netstack; local
1958 netstack_t *ns = ss->spdsock_spds->spds_netstack; local
2064 netstack_t *ns = ss->spdsock_spds->spds_netstack; local
2108 spdsock_clone_node(ipsec_tun_pol_t *itp, void *ep, netstack_t *ns) argument
2127 netstack_t *ns = ss->spdsock_spds->spds_netstack; local
2895 netstack_t *ns = ss->spdsock_spds->spds_netstack; local
2982 netstack_t *ns = spds->spds_netstack; local
3164 spdsock_update_pending_algs(netstack_t *ns) argument
3505 netstack_t *ns; local
3639 netstack_t *ns = spds->spds_netstack; local
[all...]
H A Dipsecah.c154 static void *ipsecah_stack_init(netstackid_t stackid, netstack_t *ns);
231 netstack_t *ns; local
240 ns = netstack_find_by_stackid(stackid);
241 if (ns == NULL)
243 ipss = ns->netstack_ipsec;
245 netstack_rele(ns);
254 netstack_rele(ns);
267 netstack_t *ns = ahstack->ipsecah_netstack; local
271 ahstack->ipsecah_reap_delay, ns);
273 ahstack->ipsecah_reap_delay, ns);
342 ipsecah_fill_defs(sadb_x_ecomb_t *ecomb, netstack_t *ns) argument
404 ipsecah_stack_init(netstackid_t stackid, netstack_t *ns) argument
482 netstack_t *ns; local
695 ipsecah_algs_changed(netstack_t *ns) argument
739 netstack_t *ns; local
784 netstack_t *ns = ahstack->ipsecah_netstack; local
1006 netstack_t *ns = ixa->ixa_ipst->ips_netstack; local
1032 ah_add_sa(mblk_t *mp, keysock_in_t *ksi, int *diagnostic, netstack_t *ns) argument
1555 netstack_t *ns = assoc->ipsa_netstack; local
1654 netstack_t *ns = assoc->ipsa_netstack; local
1743 ah_insert_prop(sadb_prop_t *prop, ipsacq_t *acqrec, uint_t combs, netstack_t *ns) argument
1840 ah_send_acquire(ipsacq_t *acqrec, mblk_t *extended, netstack_t *ns) argument
2304 netstack_t *ns = ira->ira_ill->ill_ipst->ips_netstack; local
2638 netstack_t *ns = ira->ira_ill->ill_ipst->ips_netstack; local
2681 netstack_t *ns; local
2755 netstack_t *ns; local
3387 netstack_t *ns = ixa->ixa_ipst->ips_netstack; local
3529 netstack_t *ns = ira->ira_ill->ill_ipst->ips_netstack; local
3642 netstack_t *ns = ira->ira_ill->ill_ipst->ips_netstack; local
3876 netstack_t *ns = ixa->ixa_ipst->ips_netstack; local
3988 netstack_t *ns = ira->ira_ill->ill_ipst->ips_netstack; local
[all...]
/illumos-gate/usr/src/uts/i86pc/os/
H A Dmemscrub.c480 uint64_t ns = next->ml_address; local
488 if ((start >= ns && start <= ne) || (end >= ns && end <= ne) ||
489 (start < ns && end > ne))
493 (void *)(uintptr_t)ns, (void *)(uintptr_t)ne);
506 if (end + 1 == ns) {
517 if (ns > start)
/illumos-gate/usr/src/cmd/ipf/tools/
H A Dipfs.c223 int c, lock = -1, devfd = -1, err = 0, rw = -1, ns = -1, set = 0; local
259 if ((ns >= 0) || dirname || (rw != -1) || set)
261 ns = 0;
265 if (dirname || (rw != -1) || (ns == -1))
275 if ((ns >= 0) || dirname || (rw != -1) || set)
277 ns = 1;
290 if (dirname || (rw != -1) || (ns == -1))
308 if (!filename || ns < 0)
310 if (ns == 0)
316 if ((ns >
[all...]
/illumos-gate/usr/src/cmd/print/printmgr/com/sun/admin/pm/client/
H A DpmTop.java90 NameService ns = null; field in class:pmTop
142 ns = systemns;
147 ns.checkAuth();
152 if (ns.isAuth()) {
370 listModel.insertlistTable(PrinterUtil.getPrinterList(ns),
416 " " + PrinterUtil.getDefaultPrinter(ns));
855 Printer newpr = new Printer(myTop.ns);
898 "\n ns.getNameService(): " + ns.getNameService());
900 if (!serverNS.equals(ns
[all...]
H A DpmCalls.java144 public static void debugshowPrinterList(NameService ns) { argument
149 list = PrinterUtil.getPrinterList(ns);
/illumos-gate/usr/src/cmd/print/printmgr/com/sun/admin/pm/server/
H A DDoPrinterMod.java41 NameService ns = new NameService();
71 modify(p, ns);
90 NameService ns) throws Exception
94 Printer curr = new Printer(ns);
97 DoPrinterView.view(curr, ns);
107 modifyLocal(p, curr, ns);
109 modifyRemote(p, curr, ns);
120 NameService ns) throws Exception
132 String nameservice = ns.getNameService();
334 DoPrinterNS.set("modify", p, ns);
88 modify( Printer p, NameService ns) argument
117 modifyLocal( Printer p, Printer curr, NameService ns) argument
616 modifyRemote( Printer p, Printer curr, NameService ns) argument
[all...]
H A DTest.java179 NameService ns = null;
181 ns = new NameService(nameservice);
190 ns.setNameServiceHost(nshost);
192 ns.setUser(user);
194 ns.setPasswd(passwd);
197 ns.checkAuth();
203 Printer p = new Printer(ns);
225 plist = PrinterUtil.getPrinterList(ns);
H A DHost.java288 public synchronized static void isNSConfigured(String ns) argument
291 Debug.message("SVR: Host.isNSConfigured() " + ns);
298 if (ns.equals("system")) {
300 } else if (ns.equals("nis")) {
322 } else if (ns.equals("ldap")) {
348 "Unkown name service " + ns);
H A DDoPrinterView.java46 NameService ns = new NameService();
49 view(p, ns);
69 NameService ns) throws Exception
74 viewLocal(p, ns);
76 viewRemote(p, ns);
87 NameService ns) throws Exception
100 String nsarg = ns.getNameService();
168 Printer p, NameService ns) throws Exception
445 if (ns.getNameService().equals("system"))
450 viewRemote(p, ns);
67 view( Printer p, NameService ns) argument
85 viewRemote( Printer p, NameService ns) argument
167 viewLocal( Printer p, NameService ns) argument
[all...]
/illumos-gate/usr/src/uts/intel/sv/
H A DMakefile47 CONF_SRCDIR = $(UTSBASE)/common/avs/ns/sv
/illumos-gate/usr/src/uts/sparc/nskern/
H A DMakefile48 CONF_SRCDIR = $(UTSBASE)/common/avs/ns/solaris
/illumos-gate/usr/src/uts/sparc/sv/
H A DMakefile47 CONF_SRCDIR = $(UTSBASE)/common/avs/ns/sv
/illumos-gate/usr/src/cmd/sgs/libelf/misc/
H A DString.c62 String *ns; local
66 if ((ns = (String *)malloc(sz + sizeof (StringGuts) + 1)) == NULL)
68 (void) memcpy(ns, s, s->sg.max + sizeof (StringGuts) + 1);
71 if ((ns = (String *)realloc(s, sz + sizeof (StringGuts) + 1)) == NULL)
74 ns->sg.max = sz;
75 return (ns);
/illumos-gate/usr/src/lib/print/libpapi-dynamic/common/
H A Dnss.c397 setprinterentry(int stayopen, char *ns) argument
402 private_ns = ns;
425 getprinterentry(char *ns) argument
438 private_ns = ns;
459 printf("getprinterentry(%s): 0x%8.8x\n", (ns ? ns : "NULL"), result);
473 getprinterbyname(char *name, char *ns) argument
502 private_ns = ns;
521 printf("getprinterbyname(%s): %s = 0x%8.8x\n", (ns ? ns
[all...]
/illumos-gate/usr/src/lib/libresolv2/common/resolv/
H A Dres_mkquery.c343 int ns; local
364 ns = socket(AF_INET, SOCK_STREAM, 0);
367 if (connect(ns, (struct sockaddr *) &ns_sin,
369 close(ns);
373 close(ns);
/illumos-gate/usr/src/lib/libresolv/
H A Dres_mkquery.c74 int ns; local
98 ns = socket(AF_INET, SOCK_STREAM, 0);
101 if (connect(ns, (struct sockaddr *) &ns_sin,
103 (void) close(ns);
107 (void) close(ns);
/illumos-gate/usr/src/lib/print/libprint/common/
H A Dnss_convert.c41 #include <ns.h>
139 _cvt_nss_entry_to_printer(char *entry, char *ns) argument
164 name, aliases, ns, NULL);
/illumos-gate/usr/src/uts/common/inet/udp/
H A Dudp_stats.c484 netstack_t *ns; local
492 ns = netstack_find_by_stackid(stackid);
493 if (ns == NULL)
495 us = ns->netstack_udp;
497 netstack_rele(ns);
507 netstack_rele(ns);
563 netstack_t *ns; local
570 ns = netstack_find_by_stackid(stackid);
571 if (ns == NULL)
573 us = ns
[all...]
/illumos-gate/usr/src/cmd/luxadm/
H A Derrormsgs.c62 char *ns; local
65 ns = (char *)calloc(1, 1);
67 ns = (char *)calloc(1, strlen(s) + 1);
68 if (ns != NULL) {
69 (void) strncpy(ns, s, (strlen(s) + 1));
72 return (ns);
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dnetstack.c125 netstackid_lookup_cb(uintptr_t addr, const netstack_t *ns, void *arg) argument
128 if (ns->netstack_stackid == nid)
/illumos-gate/usr/src/lib/libbe/common/
H A Dbe_list.c734 size_t k, ns; /* subordinate index, count */ local
750 for (ns = 0, p = ptrlist[ibe]->be_node_snapshots;
751 ns < nmax && p != NULL;
752 ns++, p = p->be_next_snapshot) {
753 slist[ns] = p;
755 if (ns < 2)
757 slist[ns] = NULL; /* add terminator */
759 qsort(slist, ns, sizeof (be_snapshot_list_t *),
763 for (k = 0; k < ns; k++)
780 for (ns
[all...]

Completed in 199 milliseconds

123456789