/external/libppp/src/ |
D | physical.h | 26 struct physical; 63 int (*awaitcarrier)(struct physical *); 64 int (*removefromset)(struct physical *, fd_set *, fd_set *, fd_set *); 65 int (*raw)(struct physical *); 66 void (*offline)(struct physical *); 67 void (*cooked)(struct physical *); 68 void (*setasyncparams)(struct physical *, u_int32_t, u_int32_t); 69 void (*stoptimer)(struct physical *); 70 void (*destroy)(struct physical *); 71 ssize_t (*read)(struct physical *, void *, size_t); [all …]
|
D | datalink.c | 117 if (dl->physical->type == PHYS_DEDICATED && !dl->bundle->CleaningUp && in datalink_HangupDone() 118 dl->physical->fd != -1) { in datalink_HangupDone() 125 physical_Close(dl->physical); in datalink_HangupDone() 140 if (!physical_SetMode(dl->physical, PHYS_BACKGROUND)) in datalink_HangupDone() 153 (dl->physical->type == PHYS_DIRECT) || in datalink_HangupDone() 155 !(dl->physical->type & (PHYS_DDIAL|PHYS_DEDICATED)))) { in datalink_HangupDone() 162 !(dl->physical->type & (PHYS_DIRECT|PHYS_BACKGROUND|PHYS_FOREGROUND))) in datalink_HangupDone() 219 } else if (!physical_Raw(dl->physical)) { in datalink_LoginDone() 227 physical_StopDeviceTimer(dl->physical); in datalink_LoginDone() 228 if (dl->physical->type == PHYS_DEDICATED) in datalink_LoginDone() [all …]
|
D | lqr.c | 165 struct physical *p = link2physical(lcp->fsm.link); in SendLqrReport() 203 struct physical *p = link2physical(l); in lqr_Input() 269 struct physical *physical = link2physical(lcp->fsm.link); in lqr_Setup() local 272 physical->hdlc.lqm.lqr.resent = 0; in lqr_Setup() 273 physical->hdlc.lqm.echo.seq_sent = 0; in lqr_Setup() 274 physical->hdlc.lqm.echo.seq_recv = 0; in lqr_Setup() 275 memset(&physical->hdlc.lqm.lqr.peer, '\0', in lqr_Setup() 276 sizeof physical->hdlc.lqm.lqr.peer); in lqr_Setup() 278 physical->hdlc.lqm.method = lcp->cfg.echo ? LQM_ECHO : 0; in lqr_Setup() 280 physical->hdlc.lqm.method |= LQM_LQR; in lqr_Setup() [all …]
|
D | pap.c | 85 struct bundle *bundle = authp->physical->dl->bundle; in pap_Req() 109 link_PushPacket(&authp->physical->link, bp, bundle, in pap_Req() 110 LINK_QUEUES(&authp->physical->link) - 1, PROTO_PAP); in pap_Req() 138 link_PushPacket(&authp->physical->link, bp, authp->physical->dl->bundle, in SendPapCode() 139 LINK_QUEUES(&authp->physical->link) - 1, PROTO_PAP); in SendPapCode() 145 struct bundle *bundle = authp->physical->dl->bundle; in pap_Success() 147 datalink_GotAuthname(authp->physical->dl, authp->in.name); in pap_Success() 154 authp->physical->link.lcp.auth_ineed = 0; in pap_Success() 156 physical_Login(authp->physical, authp->in.name); in pap_Success() 158 if (authp->physical->link.lcp.auth_iwait == 0) in pap_Success() [all …]
|
D | physical.c | 124 struct device *(*create)(struct physical *); 125 struct device *(*iov2device)(int, struct physical *, struct iovec *, 166 physical_SetDescriptor(struct physical *p) in physical_SetDescriptor() 175 struct physical * 178 struct physical *p; in physical_Create() 180 p = (struct physical *)malloc(sizeof(struct physical)); in physical_Create() 257 physical_SetParity(struct physical *p, const char *str) in physical_SetParity() 278 physical_GetSpeed(struct physical *p) in physical_GetSpeed() 287 physical_SetSpeed(struct physical *p, unsigned speed) in physical_SetSpeed() 298 physical_Raw(struct physical *p) in physical_Raw() [all …]
|
D | chap.c | 100 ChapOutput(struct physical *physical, u_int code, u_int id, in ChapOutput() argument 120 link_PushPacket(&physical->link, bp, physical->dl->bundle, in ChapOutput() 121 LINK_QUEUES(&physical->link) - 1, PROTO_CHAP); in ChapOutput() 320 chap->auth.physical->dl->bundle, 0, pid); in chap_StartChild() 383 ChapOutput(chap->auth.physical, CHAP_RESPONSE, chap->auth.id, in chap_Respond() 391 ChapOutput(chap->auth.physical, CHAP_FAILURE, chap->auth.id, in chap_Respond() 454 int lanman = chap->auth.physical->link.lcp.his_authtype == 0x80 && in chap_Read() 456 IsAccepted(chap->auth.physical->link.lcp.cfg.chap80lm)) || in chap_Read() 457 !IsAccepted(chap->auth.physical->link.lcp.cfg.chap80nt)); in chap_Read() 469 , chap->auth.physical->link.lcp.his_authtype, lanman in chap_Read() [all …]
|
D | i4b.c | 102 struct physical *p = data; in i4b_Timeout() 157 i4b_StartTimer(struct physical *p) in i4b_StartTimer() 172 i4b_AwaitCarrier(struct physical *p) in i4b_AwaitCarrier() 188 i4b_Raw(struct physical *p) in i4b_Raw() 203 i4b_Offline(struct physical *p) in i4b_Offline() 219 i4b_Cooked(struct physical *p) in i4b_Cooked() 230 i4b_StopTimer(struct physical *p) in i4b_StopTimer() 238 i4b_Free(struct physical *p) in i4b_Free() 247 i4b_Speed(struct physical *p) in i4b_Speed() 260 i4b_OpenInfo(struct physical *p) in i4b_OpenInfo() [all …]
|
D | cbcp.h | 30 struct physical; 48 struct physical *p; /* On this physical link */ 61 extern void cbcp_Init(struct cbcp *, struct physical *); 65 extern void cbcp_ReceiveTerminateReq(struct physical *);
|
D | chat.h | 36 struct physical; 40 struct physical *physical; member 79 extern void chat_Init(struct chat *, struct physical *);
|
D | auth.h | 31 struct physical; 49 struct physical *physical; member 59 extern void auth_Init(struct authinfo *, struct physical *,
|
D | tcp.h | 29 struct physical; 31 extern struct device *tcp_Create(struct physical *); 32 extern struct device *tcp_iov2device(int, struct physical *,
|
D | udp.h | 29 struct physical; 32 extern struct device *udp_Create(struct physical *); 33 extern struct device *udp_iov2device(int, struct physical *,
|
D | exec.h | 29 struct physical; 32 extern struct device *exec_Create(struct physical *); 33 extern struct device *exec_iov2device(int, struct physical *,
|
D | atm.h | 29 struct physical; 32 extern struct device *atm_Create(struct physical *); 33 extern struct device *atm_iov2device(int, struct physical *,
|
D | i4b.h | 29 struct physical; 34 extern struct device *i4b_Create(struct physical *); 35 extern struct device *i4b_iov2device(int, struct physical *,
|
D | tty.h | 29 struct physical; 34 extern struct device *tty_Create(struct physical *); 35 extern struct device *tty_iov2device(int, struct physical *,
|
D | netgraph.h | 29 struct physical; 34 extern struct device *ng_Create(struct physical *); 35 extern struct device *ng_iov2device(int, struct physical *, struct iovec *,
|
D | ether.h | 29 struct physical; 34 extern struct device *ether_Create(struct physical *); 35 extern struct device *ether_iov2device(int, struct physical *, struct iovec *,
|
D | tty.c | 119 struct physical *p = data; in tty_Timeout() 181 tty_StartTimer(struct physical *p) in tty_StartTimer() 196 tty_AwaitCarrier(struct physical *p) in tty_AwaitCarrier() 227 tty_SetAsyncParams(struct physical *p, u_int32_t mymap, u_int32_t hismap) in tty_SetAsyncParams() 253 LoadLineDiscipline(struct physical *p) in LoadLineDiscipline() 382 UnloadLineDiscipline(struct physical *p) in UnloadLineDiscipline() 407 tty_Write(struct physical *p, const void *v, size_t n) in tty_Write() 418 tty_Read(struct physical *p, void *v, size_t n) in tty_Read() 432 tty_Raw(struct physical *p) in tty_Raw() 474 tty_Offline(struct physical *p) in tty_Offline() [all …]
|
D | chat.c | 83 static void ExecStr(struct physical *, char *, char *, int); 264 ExecStr(c->physical, c->exp + 3, c->exp + 3, sizeof c->exp - 3); in chat_UpdateSet() 319 return physical_doUpdateSet(&c->physical->desc, r, NULL, e, n, 1); in chat_UpdateSet() 321 return physical_doUpdateSet(&c->physical->desc, NULL, w, e, n, 1); in chat_UpdateSet() 328 return c->argptr && physical_IsSet(&c->physical->desc, fdset); in chat_IsSet() 392 in = physical_Read(c->physical, c->bufend, in); in chat_Read() 509 if (physical_IsSync(c->physical)) { in chat_Write() 520 wrote = physical_Write(c->physical, c->argptr, c->arglen); in chat_Write() 527 if (physical_IsSync(c->physical)) { in chat_Write() 531 } else if (wrote < 2 && physical_IsSync(c->physical)) { in chat_Write() [all …]
|
D | atm.c | 78 atm_Sendto(struct physical *p, const void *v, size_t n) in atm_Sendto() 89 atm_Recvfrom(struct physical *p, void *v, size_t n) in atm_Recvfrom() 100 atm_Free(struct physical *p) in atm_Free() 144 atm_iov2device(int type, struct physical *p, struct iovec *iov, int *niov, in atm_iov2device() 168 atm_CreateDevice(struct physical *p, const char *iface, unsigned vpi, in atm_CreateDevice() 208 atm_Create(struct physical *p) in atm_Create()
|
D | command.c | 263 Concatinate(arg->cx->physical->link.lcp.cfg.ident, in IdentCommand() 264 sizeof arg->cx->physical->link.lcp.cfg.ident, in IdentCommand() 276 return lcp_SendIdentification(&arg->cx->physical->link.lcp) ? 0 : 1; in SendIdentification() 395 if ((arg->cx && !(arg->cx->physical->type & (PHYS_INTERACTIVE|PHYS_AUTO))) in DialCommand() 910 if (arg->cx->physical->async.cfg.EscMap[32]) { in ShowEscape() 915 if (arg->cx->physical->async.cfg.EscMap[code]) in ShowEscape() 917 if (arg->cx->physical->async.cfg.EscMap[code] & (1 << bit)) { in ShowEscape() 937 if (!arg->cx->physical->link.lcp.fsm.StoppedTimer.load) in ShowStopped() 941 arg->cx->physical->link.lcp.fsm.StoppedTimer.load / SECTICKS); in ShowStopped() 944 if (!arg->cx->physical->link.ccp.fsm.StoppedTimer.load) in ShowStopped() [all …]
|
D | lqr.h | 64 struct physical; 77 extern void lqr_Stop(struct physical *, int); 78 extern void lqr_StopTimer(struct physical *);
|
D | ether.c | 120 ether_Write(struct physical *p, const void *v, size_t n) in ether_Write() 128 ether_Read(struct physical *p, void *v, size_t n) in ether_Read() 136 ether_RemoveFromSet(struct physical *p, fd_set *r, fd_set *w, fd_set *e) in ether_RemoveFromSet() 158 ether_Free(struct physical *p) in ether_Free() 169 ether_OpenInfo(struct physical *p) in ether_OpenInfo() 184 ether_Slot(struct physical *p) in ether_Slot() 312 ether_AwaitCarrier(struct physical *p) in ether_AwaitCarrier() 346 ether_iov2device(int type, struct physical *p, struct iovec *iov, int *niov, in ether_iov2device() 378 struct physical *p = descriptor2physical(d); in ether_UpdateSet() 397 struct physical *p = descriptor2physical(d); in ether_IsSet() [all …]
|
/external/qemu/target-mips/ |
D | helper.c | 38 int no_mmu_map_address (CPUState *env, target_phys_addr_t *physical, int *prot, in no_mmu_map_address() argument 41 *physical = address; in no_mmu_map_address() 47 int fixed_mmu_map_address (CPUState *env, target_phys_addr_t *physical, int *prot, in fixed_mmu_map_address() argument 52 *physical = address + 0x40000000UL; in fixed_mmu_map_address() 54 *physical = address; in fixed_mmu_map_address() 56 *physical = address & 0x1FFFFFFF; in fixed_mmu_map_address() 58 *physical = address; in fixed_mmu_map_address() 65 int r4k_map_address (CPUState *env, target_phys_addr_t *physical, int *prot, in r4k_map_address() argument 95 *physical = tlb->PFN[n] | (address & (mask >> 1)); in r4k_map_address() 108 static int get_physical_address (CPUState *env, target_phys_addr_t *physical, in get_physical_address() argument [all …]
|