/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/bridged/ |
H A D | dlpi.c | 136 port_dlpi_open(const char *portname, struct portdata *port, in port_dlpi_open() argument 150 rc = dlpi_open(portname, &port->dlpi, DLPI_RAW); in port_dlpi_open() 152 syslog(LOG_ERR, "can't open %s: %s", portname, in port_dlpi_open() 180 syslog(LOG_ERR, "can't bind %s: %s", portname, in port_dlpi_open() 187 portname, dlpi_strerror(rc)); in port_dlpi_open() 196 syslog(LOG_WARNING, "no DLPI notification on %s: %s", portname, in port_dlpi_open() 219 portname); in port_dlpi_open() 230 "pfil ioctl failed on %s: %m", portname); in port_dlpi_open() 233 portname); in port_dlpi_open()
|
H A D | events.c | 176 update_port(int vlan_id, const char *portname, datalink_id_t linkid, in update_port() argument 210 portname); in update_port() 223 portname); in update_port() 242 if (port->name != NULL && strcmp(portname, port->name) != 0) { in update_port() 258 (void) strlcpy(adddata.linkname, portname, in update_port() 262 syslog(LOG_ERR, "cannot bridge %s: %m", portname); in update_port() 284 syslog(LOG_ERR, "can't set PVID on %s: %m", portname); in update_port() 289 if (!port_dlpi_open(portname, port, class)) in update_port() 310 portname); in update_port()
|
H A D | rstp.c | 64 const char *portname; in flush_lt() local 72 portname = "all"; in flush_lt() 76 portname = pd->name; in flush_lt() 83 portname, reason); in flush_lt() 94 instance_name, portname); in flush_lt()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | syncloop.c | 97 char *portname; in main() local 154 portname = argv[0]; in main() 157 if (strncmp(devstr, portname, devstrlen) != 0) { in main() 159 portname) >= sizeof (dnambuf)) { in main() 162 portname); in main() 174 cp = portname; in main() 180 "syncloop: %s missing minor device number\n", portname); in main() 184 if (strlen(portname) >= DLPI_LINKNAME_MAX) { in main() 187 portname); in main() 191 if ((retval = dlpi_open(portname, &dh, DLPI_SERIAL)) != DLPI_SUCCESS) { in main() [all …]
|
/illumos-gate/usr/src/cmd/ipf/tools/ |
H A D | ipmon.c | 173 char *portname __P((int, char *, u_int)); 557 char *portname(res, proto, port) in portname() function 771 portname(res, proto, (u_int)nl->nlg_inport)); 775 portname(res, proto, (u_int)nl->nlg_outport)); 779 portname(res, proto, (u_int)nl->nlg_origport)); 859 portname(res, proto, (u_int)sl->isl_sport)); 863 portname(res, proto, (u_int)sl->isl_dport), proto); 1133 portname(res, proto, (u_int)tp->th_sport)); 1137 portname(res, proto, (u_int)tp->th_dport), 1199 portname(res, proto, [all …]
|
/illumos-gate/usr/src/cmd/ipf/lib/ |
H A D | printportcmp.c | 26 portname(pr, frp->frp_port));
|
H A D | portname.c | 11 char *portname(pr, port) in portname() function
|
H A D | Makefile | 43 portname.o portnum.o ports.o print_toif.o \
|
H A D | printnat.c | 172 s = portname(np->in_p, ntohs(np->in_dport));
|
/illumos-gate/usr/src/cmd/devfsadm/ |
H A D | port_link.c | 785 char *portname; /* pointer to a tty name */ in load_ttymondb() local 798 if ((portname = pmtab_parse_portname(cmdbuf)) == NULL) { in load_ttymondb() 807 modname, portname); in load_ttymondb() 814 if ((portnum = parse_portno(portname)) == -1) { in load_ttymondb()
|
/illumos-gate/usr/src/cmd/dlmgmtd/ |
H A D | dlmgmt_db.c | 1363 char portname[MAXLINKNAMELEN + 1]; in linkattr_upgrade() local 1402 (void) snprintf(portname, sizeof (portname), "%s:", in linkattr_upgrade() 1404 if (strlcat(new_attr_val, portname, in linkattr_upgrade()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_filter.c | 1986 port_match(enum direction which, char *portname) in port_match() argument 1991 if (isdigit(*portname)) { in port_match() 1992 port = atoi(portname); in port_match() 1994 sp = getservbyname(portname, NULL); in port_match() 1996 pr_err("invalid port number or name: %s", portname); in port_match()
|
/illumos-gate/usr/src/uts/common/inet/ipf/ |
H A D | ipf.h | 245 extern char *portname __P((int, int));
|
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/emlxs/ |
H A D | emlxs_mbox.h | 498 uint32_t portname[2]; /* N_PORT name */ member 519 uint32_t portname[2]; /* N_PORT name */ member 2031 uint32_t portname[2]; /* N_PORT name */ member 2041 uint32_t portname[2]; /* N_PORT name */ member 2115 uint32_t portname[2]; /* N_PORT name */ member 2137 uint32_t portname[2]; /* N_PORT name */ member 2497 NAME_TYPE portname; member
|
H A D | emlxs_extern.h | 112 uint32_t subcat, HBA_WWN *portname, 115 HBA_WWN *portname);
|
H A D | emlxs_dfclib.h | 1041 HBA_WWN portname; member
|
/illumos-gate/usr/src/uts/common/smbsrv/ndl/ |
H A D | spoolss.ndl | 290 DWORD portname; 324 DWORD portname;
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/ |
H A D | emlxs_event.c | 1107 HBA_WWN *portname, HBA_WWN *nodename) in emlxs_log_sd_basic_els_event() argument 1131 bcopy((uint8_t *)portname, (uint8_t *)&bp->sd_plogir_portname, in emlxs_log_sd_basic_els_event()
|
H A D | emlxs_hba.c | 2888 npname0 = mb->un.varRDnvp.portname[0]; in emlxs_get_key() 2889 npname1 = mb->un.varRDnvp.portname[1]; in emlxs_get_key()
|
/illumos-gate/usr/src/cmd/dlstat/ |
H A D | dlstat.c | 1407 char portname[MAXLINKNAMELEN]; in print_aggr_port_stats() local 1417 NULL, NULL, portname, DLPI_LINKNAME_MAX) in print_aggr_port_stats() 1423 sizeof (buf->ap_portname), "%s", portname); in print_aggr_port_stats()
|
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | spoolss_svc.c | 954 &pinfo2->portname); in spoolss_s_GetPrinter()
|
/illumos-gate/usr/src/lib/libdladm/common/ |
H A D | libdlstat.c | 2167 i_dlstat_single_port_stats(dladm_handle_t handle, const char *portname, in i_dlstat_single_port_stats() argument 2175 if (dladm_parselink(portname, module, &instance) != DLADM_STATUS_OK) in i_dlstat_single_port_stats()
|
/illumos-gate/usr/src/lib/sun_fc/common/ |
H A D | FCHBAPort.cc | 415 scsi_cmd_init(struct fcp_scsi_cmd *fscsi, const char *portname, void *reqbuf, in scsi_cmd_init() argument
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/netstat/ |
H A D | netstat.c | 169 static char *portname(uint_t port, char *proto, 7010 (void) portname(port, proto, cp, dstlen); in pr_ap() 7034 (void) portname(port, proto, cp, dstlen); in pr_ap6() 7344 portname(uint_t port, char *proto, char *dst, uint_t dstlen) in portname() function
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/impl/ |
H A D | fp.c | 7626 char *portname, *fcaname; in fp_fciocmd() local 7628 portname = kmem_zalloc(MAXPATHLEN, KM_SLEEP); in fp_fciocmd() 7629 (void) ddi_pathname(port->fp_port_dip, portname); in fp_fciocmd() 7633 "Create NPIV port %s %s %s", portname, fcaname, in fp_fciocmd() 7635 kmem_free(portname, MAXPATHLEN); in fp_fciocmd()
|