/freebsd/usr.sbin/ppp/ |
H A D | physical.h | 24 struct physical; 61 int (*awaitcarrier)(struct physical *); 62 int (*removefromset)(struct physical *, fd_set *, fd_set *, fd_set *); 63 int (*raw)(struct physical *); 64 void (*offline)(struct physical *); 65 void (*cooked)(struct physical *); 66 void (*setasyncparams)(struct physical *, u_int32_t, u_int32_t); 67 void (*stoptimer)(struct physical *); 68 void (*destroy)(struct physical *); 69 ssize_t (*read)(struct physical *, void *, size_t); [all …]
|
H A 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 …]
|
H A D | lqr.c | 166 struct physical *p = link2physical(lcp->fsm.link); in SendLqrReport() 204 struct physical *p = link2physical(l); in lqr_Input() 270 struct physical *physical = link2physical(lcp->fsm.link); in lqr_Setup() local 273 physical->hdlc.lqm.lqr.resent = 0; in lqr_Setup() 274 physical->hdlc.lqm.echo.seq_sent = 0; in lqr_Setup() 275 physical->hdlc.lqm.echo.seq_recv = 0; in lqr_Setup() 276 memset(&physical->hdlc.lqm.lqr.peer, '\0', in lqr_Setup() 277 sizeof physical->hdlc.lqm.lqr.peer); in lqr_Setup() 279 physical->hdlc.lqm.method = lcp->cfg.echo ? LQM_ECHO : 0; in lqr_Setup() 281 physical->hdlc.lqm.method |= LQM_LQR; in lqr_Setup() [all …]
|
H A 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 …]
|
H A D | physical.c | 115 struct device *(*create)(struct physical *); 116 struct device *(*iov2device)(int, struct physical *, struct iovec *, 146 physical_SetDescriptor(struct physical *p) in physical_SetDescriptor() 155 struct physical * 158 struct physical *p; in physical_Create() 160 p = (struct physical *)malloc(sizeof(struct physical)); in physical_Create() 237 physical_SetParity(struct physical *p, const char *str) in physical_SetParity() 258 physical_GetSpeed(struct physical *p) in physical_GetSpeed() 267 physical_SetSpeed(struct physical *p, unsigned speed) in physical_SetSpeed() 278 physical_Raw(struct physical *p) in physical_Raw() [all …]
|
H A 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 …]
|
H A 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 *);
|
H A D | chat.h | 38 struct physical; 42 struct physical *physical; 81 extern void chat_Init(struct chat *, struct physical *); 40 struct physical *physical; global() member
|
H A D | auth.h | 31 struct physical; 49 struct physical *physical; member 59 extern void auth_Init(struct authinfo *, struct physical *,
|
H A D | chat.c | 83 static void ExecStr(struct physical *, char *, char *, int); 269 ExecStr(c->physical, c->exp + 3, c->exp + 3, sizeof c->exp - 3); in chat_UpdateSet() 324 return physical_doUpdateSet(&c->physical->desc, r, NULL, e, n, 1); in chat_UpdateSet() 326 return physical_doUpdateSet(&c->physical->desc, NULL, w, e, n, 1); in chat_UpdateSet() 333 return c->argptr && physical_IsSet(&c->physical->desc, fdset); in chat_IsSet() 397 in = physical_Read(c->physical, c->bufend, in); in chat_Read() 514 if (physical_IsSync(c->physical)) { in chat_Write() 525 wrote = physical_Write(c->physical, c->argptr, c->arglen); in chat_Write() 532 if (physical_IsSync(c->physical)) { in chat_Write() 536 } else if (wrote < 2 && physical_IsSync(c->physical)) { in chat_Write() [all …]
|
H A 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 …]
|
H A D | exec.h | 29 struct physical; 32 extern struct device *exec_Create(struct physical *); 33 extern struct device *exec_iov2device(int, struct physical *,
|
H A D | tcp.h | 29 struct physical; 31 extern struct device *tcp_Create(struct physical *); 32 extern struct device *tcp_iov2device(int, struct physical *,
|
H A D | udp.h | 29 struct physical; 32 extern struct device *udp_Create(struct physical *); 33 extern struct device *udp_iov2device(int, struct physical *,
|
H A 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 *,
|
H A D | i4b.h | 29 struct physical; 34 extern struct device *i4b_Create(struct physical *); 35 extern struct device *i4b_iov2device(int, struct physical *,
|
H A 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 *,
|
H A D | tty.h | 29 struct physical; 34 extern struct device *tty_Create(struct physical *); 35 extern struct device *tty_iov2device(int, struct physical *,
|
H A D | command.c | 266 Concatinate(arg->cx->physical->link.lcp.cfg.ident, in IdentCommand() 267 sizeof arg->cx->physical->link.lcp.cfg.ident, in IdentCommand() 279 return lcp_SendIdentification(&arg->cx->physical->link.lcp) ? 0 : 1; in SendIdentification() 398 if ((arg->cx && !(arg->cx->physical->type & (PHYS_INTERACTIVE|PHYS_AUTO))) in DialCommand() 917 if (arg->cx->physical->async.cfg.EscMap[32]) { in ShowEscape() 922 if (arg->cx->physical->async.cfg.EscMap[code]) in ShowEscape() 924 if (arg->cx->physical->async.cfg.EscMap[code] & (1 << bit)) { in ShowEscape() 944 if (!arg->cx->physical->link.lcp.fsm.StoppedTimer.load) in ShowStopped() 948 arg->cx->physical->link.lcp.fsm.StoppedTimer.load / SECTICKS); in ShowStopped() 951 if (!arg->cx->physical->link.ccp.fsm.StoppedTimer.load) in ShowStopped() [all …]
|
H A 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 …]
|
H A D | lqr.h | 64 struct physical; 77 extern void lqr_Stop(struct physical *, int); 78 extern void lqr_StopTimer(struct physical *);
|
/freebsd/bin/pwd/ |
H A D | pwd.c | 48 int physical; in main() local 52 physical = 1; in main() 56 physical = 0; in main() 59 physical = 1; in main() 75 if ((!physical && (p = getcwd_logical()) != NULL) || in main()
|
/freebsd/sys/arm/arm/ |
H A D | generic_timer.c | 192 get_cntxct_a64_unstable(bool physical) in get_cntxct_a64_unstable() argument 197 if (physical) { in get_cntxct_a64_unstable() 215 get_cntxct(bool physical) in get_cntxct() argument 220 if (physical) in get_cntxct() 229 set_ctrl(uint32_t val, bool physical) in set_ctrl() argument 232 if (physical) in set_ctrl() 242 set_tval(uint32_t val, bool physical) in set_tval() argument 245 if (physical) in set_tval() 255 get_ctrl(bool physical) in get_ctrl() argument 259 if (physical) in get_ctrl() [all …]
|
/freebsd/sys/powerpc/powerpc/ |
H A D | platform_if.m | 44 * These are used to bring up secondary CPUs, supply the physical memory 119 * @brief Return the system's physical memory map. 124 * @param _memp Array of physical memory chunks 125 * @param _memsz Number of physical memory chunks 126 * @param _availp Array of available physical memory chunks 127 * @param _availsz Number of available physical memory chunks 140 * @brief Return the system's physical memory map. 144 * @param _memp Array of physical memory chunks 145 * @param _memsz Number of physical memory chunks
|
/freebsd/sys/contrib/device-tree/Bindings/powerpc/fsl/ |
H A D | dcsr.txt | 31 or representing physical addresses in child nodes. 37 or representing the size of physical addresses in 43 Definition: A standard property. Specifies the physical address 90 Definition: A standard property. Specifies the physical address 119 Definition: A standard property. Specifies the physical address 156 Definition: A standard property. Specifies the physical address 181 Definition: A standard property. Specifies the physical address 218 Definition: A standard property. Specifies the physical address 246 Definition: A standard property. Specifies the physical address 277 Definition: A standard property. Specifies the physical addres [all...] |