/titanic_44/usr/src/cmd/cmd-inet/usr.lib/pppoe/ |
H A D | pppoed.c | 266 struct ppptun_control *ptc; in handle_input() local 268 if (ctrllen != sizeof (*ptc)) { in handle_input() 273 ptc = (struct ppptun_control *)ctrlbuf; in handle_input() 276 switch (ptc->ptc_action) { in handle_input() 278 logdbg("test reply for discriminator %X", ptc->ptc_discrim); in handle_input() 286 ptc->ptc_rsessid, ptc->ptc_name); in handle_input() 288 ptc->ptc_rsessid); in handle_input() 289 ptc->ptc_action = PTCA_CONTROL; in handle_input() 290 ctrl.len = sizeof (*ptc); in handle_input() 291 ctrl.buf = (caddr_t)ptc; in handle_input() [all …]
|
H A D | pppoec.c | 590 struct ppptun_control *ptc; in send_pppoe() local 593 ptc = (struct ppptun_control *)pkt_octl; in send_pppoe() 594 (void) memset(ptc, '\0', sizeof (*ptc)); in send_pppoe() 595 ptc->ptc_discrim = PPPOE_DISCRIM; in send_pppoe() 596 ptc->ptc_action = PTCA_CONTROL; in send_pppoe() 597 ptc->ptc_address = *destaddr; in send_pppoe() 598 ctrl.len = sizeof (*ptc); in send_pppoe() 599 ctrl.buf = (caddr_t)ptc; in send_pppoe() 657 struct ppptun_control *ptc; in find_all_servers() local 681 if (ctrl.len != sizeof (*ptc)) { in find_all_servers() [all …]
|
H A D | pppoed.h | 46 struct ppptun_control *ptc);
|
H A D | options.c | 2072 launch_service(int tunfd, poep_t *poep, void *srvp, struct ppptun_control *ptc) in launch_service() argument 2103 ptp.ptp_address = ptc->ptc_address; in launch_service() 2113 cp = strchr(ptc->ptc_name, ':'); in launch_service() 2115 cp = ptc->ptc_name + strlen(ptc->ptc_name); in launch_service() 2117 cp-ptc->ptc_name, ptc->ptc_name); in launch_service() 2121 cp-ptc->ptc_name, ptc->ptc_name); in launch_service() 2228 ctrl.len = sizeof (*ptc); in launch_service() 2229 ctrl.buf = (caddr_t)ptc; in launch_service() 2233 logerr("putmsg %s: %s", ptc->ptc_name, in launch_service()
|
/titanic_44/usr/src/uts/i86pc/cpu/generic_cpu/ |
H A D | gcpu_poll_subr.c | 47 gcpu_poll_trace(gcpu_poll_trace_ctl_t *ptc, uint8_t what, uint8_t nerr) in gcpu_poll_trace() argument 54 if (ptc->mptc_tbufs == NULL) in gcpu_poll_trace() 57 next = (ptc->mptc_curtrace + 1) % gcpu_poll_trace_nent; in gcpu_poll_trace() 58 pt = &ptc->mptc_tbufs[next]; in gcpu_poll_trace() 66 ptc->mptc_curtrace = next; in gcpu_poll_trace() 70 gcpu_poll_trace_init(gcpu_poll_trace_ctl_t *ptc) in gcpu_poll_trace_init() argument 79 ptc->mptc_tbufs = tbufs; in gcpu_poll_trace_init() 80 ptc->mptc_curtrace = 0; in gcpu_poll_trace_init()
|
H A D | gcpu_poll_ntv.c | 284 gcpu_poll_trace_ctl_t *ptc = &gcpu->gcpu_mca.gcpu_polltrace; in gcpu_mca_poll_init() local 288 gcpu_poll_trace_init(ptc); in gcpu_mca_poll_init() 298 gcpu_poll_trace_ctl_t *ptc = &gcpu->gcpu_mca.gcpu_polltrace; in gcpu_mca_poll_fini() local 302 if (gcpu_poll_trace_always && (ptc->mptc_tbufs != NULL)) { in gcpu_mca_poll_fini() 303 kmem_free(ptc->mptc_tbufs, sizeof (gcpu_poll_trace_t) * in gcpu_mca_poll_fini()
|
/titanic_44/usr/src/cmd/cmd-inet/usr.bin/pppd/plugins/ |
H A D | pppoe.c | 409 handle_action(struct ppptun_control *ptc, struct strbuf *ctrl, in handle_action() argument 412 switch (ptc->ptc_action) { in handle_action() 414 return (handle_pppoe_input(&ptc->ptc_address, ctrl, data)); in handle_action() 417 warn("bad control message; session %u on %s", ptc->ptc_rsessid, in handle_action() 418 ptc->ptc_name); in handle_action() 433 struct ppptun_control *ptc; in pppoe_sys_read_packet() local 437 ptc = (struct ppptun_control *)ctrl->buf; in pppoe_sys_read_packet() 439 if (ptc->ptc_discrim == PPPOE_DISCRIM) { in pppoe_sys_read_packet() 441 if (ctrl->len == sizeof (*ptc)) in pppoe_sys_read_packet() 442 retv = handle_action(ptc, ctrl, data); in pppoe_sys_read_packet()
|
/titanic_44/usr/src/cmd/csh/ |
H A D | sh.tchar.c | 92 tchar *ptc; in tstostr() local 104 ptc = from; in tstostr() 105 while (wc = (wchar_t)((*ptc++)&TRIM)) { in tstostr() 116 ptc = from; in tstostr() 118 while (wc = (wchar_t)((*ptc++)&TRIM)) { in tstostr() 142 tchar *ptc = to; in mbstotcs() local 167 *(ptc++) = (tchar)wc; in mbstotcs() 174 *ptc = (tchar)0; in mbstotcs()
|
/titanic_44/usr/src/uts/common/io/ppp/sppptun/ |
H A D | sppptun.c | 538 struct ppptun_control *ptc; in make_control() local 539 mblk_t *mp = allocb(sizeof (*ptc), BPRI_HI); in make_control() 543 ptc = (struct ppptun_control *)mp->b_wptr; in make_control() 544 bzero(ptc, sizeof (*ptc)); in make_control() 545 mp->b_wptr += sizeof (*ptc); in make_control() 547 ptc->ptc_rsessid = tclabout->tcl_rsessid; in make_control() 548 ptc->ptc_address = tclabout->tcl_address; in make_control() 550 ptc->ptc_discrim = tclto->tcl_ctlval; in make_control() 551 ptc->ptc_action = action; in make_control() 553 (void) strncpy(ptc->ptc_name, tllabout->tll_name, in make_control() [all …]
|
/titanic_44/usr/src/uts/sparc/ptc/ |
H A D | Makefile | 41 MODULE = ptc
|
/titanic_44/usr/src/uts/intel/ptc/ |
H A D | Makefile | 42 MODULE = ptc
|
/titanic_44/usr/src/uts/intel/ptsl/ |
H A D | Makefile | 72 LDFLAGS += -dy -N drv/ptc
|
/titanic_44/usr/src/uts/sparc/ptsl/ |
H A D | Makefile | 66 LDFLAGS += -dy -N drv/ptc
|
/titanic_44/usr/src/uts/i86pc/os/cpupm/ |
H A D | cpu_acpi.c | 204 cpu_acpi_ptc_t *ptc; in cpu_acpi_cache_ptc() local 208 ptc = &CPU_ACPI_PTC(handle)[0]; in cpu_acpi_cache_ptc() 209 if ((ret = cpu_acpi_cache_ctrl_regs(handle, PTC_OBJ, ptc)) == 0) in cpu_acpi_cache_ptc()
|
/titanic_44/usr/src/uts/sparc/ |
H A D | Makefile.sparc | 218 DRV_KMODS += pseudo ptc ptm pts ptsl ramdisk random rsm rts sad
|
/titanic_44/usr/src/uts/intel/ |
H A D | Makefile.intel | 302 DRV_KMODS += ptc
|
/titanic_44/usr/src/pkg/manifests/ |
H A D | system-kernel.mf | 234 driver name=ptc perms="* 0666 root sys" 372 file path=kernel/drv/$(ARCH64)/ptc group=sys 450 file path=kernel/drv/ptc.conf group=sys
|
/titanic_44/usr/src/cmd/ssh/doc/ |
H A D | ChangeLog | 2152 - Added autoconf code to detect /dev/ptmx (Solaris) and /dev/ptc (AIX)
|