Home
last modified time | relevance | path

Searched refs:physical (Results 1 – 25 of 111) sorted by relevance

12345

/mirbsd/src/usr.sbin/ppp/ppp/
Dphysical.h26 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 …]
Ddatalink.c119 if (dl->physical->type == PHYS_DEDICATED && !dl->bundle->CleaningUp && in datalink_HangupDone()
120 dl->physical->fd != -1) { in datalink_HangupDone()
127 physical_Close(dl->physical); in datalink_HangupDone()
142 if (!physical_SetMode(dl->physical, PHYS_BACKGROUND)) in datalink_HangupDone()
155 (dl->physical->type == PHYS_DIRECT) || in datalink_HangupDone()
157 !(dl->physical->type & (PHYS_DDIAL|PHYS_DEDICATED)))) { in datalink_HangupDone()
164 !(dl->physical->type & (PHYS_DIRECT|PHYS_BACKGROUND|PHYS_FOREGROUND))) in datalink_HangupDone()
221 } else if (!physical_Raw(dl->physical)) { in datalink_LoginDone()
229 physical_StopDeviceTimer(dl->physical); in datalink_LoginDone()
230 if (dl->physical->type == PHYS_DEDICATED) in datalink_LoginDone()
[all …]
Dlqr.c165 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 …]
Dpap.c87 struct bundle *bundle = authp->physical->dl->bundle; in pap_Req()
112 link_PushPacket(&authp->physical->link, bp, bundle, in pap_Req()
113 LINK_QUEUES(&authp->physical->link) - 1, PROTO_PAP); in pap_Req()
142 link_PushPacket(&authp->physical->link, bp, authp->physical->dl->bundle, in SendPapCode()
143 LINK_QUEUES(&authp->physical->link) - 1, PROTO_PAP); in SendPapCode()
149 struct bundle *bundle = authp->physical->dl->bundle; in pap_Success()
151 datalink_GotAuthname(authp->physical->dl, authp->in.name); in pap_Success()
158 authp->physical->link.lcp.auth_ineed = 0; in pap_Success()
160 physical_Login(authp->physical, authp->in.name); in pap_Success()
162 if (authp->physical->link.lcp.auth_iwait == 0) in pap_Success()
[all …]
Dchap.c102 ChapOutput(struct physical *physical, u_int code, u_int id, in ChapOutput() argument
125 link_PushPacket(&physical->link, bp, physical->dl->bundle, in ChapOutput()
126 LINK_QUEUES(&physical->link) - 1, PROTO_CHAP); in ChapOutput()
325 chap->auth.physical->dl->bundle, 0, pid); in chap_StartChild()
388 ChapOutput(chap->auth.physical, CHAP_RESPONSE, chap->auth.id, in chap_Respond()
396 ChapOutput(chap->auth.physical, CHAP_FAILURE, chap->auth.id, in chap_Respond()
457 int lanman = chap->auth.physical->link.lcp.his_authtype == 0x80 && in chap_Read()
459 IsAccepted(chap->auth.physical->link.lcp.cfg.chap80lm)) || in chap_Read()
460 !IsAccepted(chap->auth.physical->link.lcp.cfg.chap80nt)); in chap_Read()
470 chap_Respond(chap, name, key, chap->auth.physical->link.lcp.his_authtype in chap_Read()
[all …]
Dphysical.c125 struct device *(*create)(struct physical *);
126 struct device *(*iov2device)(int, struct physical *, struct iovec *,
167 physical_SetDescriptor(struct physical *p) in physical_SetDescriptor()
176 struct physical *
179 struct physical *p; in physical_Create()
181 p = (struct physical *)malloc(sizeof(struct physical)); in physical_Create()
258 physical_SetParity(struct physical *p, const char *str) in physical_SetParity()
279 physical_GetSpeed(struct physical *p) in physical_GetSpeed()
288 physical_SetSpeed(struct physical *p, int speed) in physical_SetSpeed()
299 physical_Raw(struct physical *p) in physical_Raw()
[all …]
Dauth.h31 struct physical;
49 struct physical *physical; member
59 extern void auth_Init(struct authinfo *, struct physical *,
64 struct physical *);
66 struct physical *);
Di4b.c103 struct physical *p = data; in i4b_Timeout()
158 i4b_StartTimer(struct physical *p) in i4b_StartTimer()
173 i4b_AwaitCarrier(struct physical *p) in i4b_AwaitCarrier()
189 i4b_Raw(struct physical *p) in i4b_Raw()
204 i4b_Offline(struct physical *p) in i4b_Offline()
220 i4b_Cooked(struct physical *p) in i4b_Cooked()
231 i4b_StopTimer(struct physical *p) in i4b_StopTimer()
239 i4b_Free(struct physical *p) in i4b_Free()
248 i4b_Speed(struct physical *p) in i4b_Speed()
261 i4b_OpenInfo(struct physical *p) in i4b_OpenInfo()
[all …]
Dcbcp.h30 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 *);
Dchat.h36 struct physical;
40 struct physical *physical; member
79 extern void chat_Init(struct chat *, struct physical *);
Dtty.c119 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()
381 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 …]
Dchat.c83 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()
391 in = physical_Read(c->physical, c->bufend, in); in chat_Read()
507 if (physical_IsSync(c->physical)) { in chat_Write()
518 wrote = physical_Write(c->physical, c->argptr, c->arglen); in chat_Write()
525 if (physical_IsSync(c->physical)) { in chat_Write()
529 } else if (wrote < 2 && physical_IsSync(c->physical)) { in chat_Write()
[all …]
Dcommand.c260 Concatinate(arg->cx->physical->link.lcp.cfg.ident, in IdentCommand()
261 sizeof arg->cx->physical->link.lcp.cfg.ident, in IdentCommand()
273 return lcp_SendIdentification(&arg->cx->physical->link.lcp) ? 0 : 1; in SendIdentification()
392 if ((arg->cx && !(arg->cx->physical->type & (PHYS_INTERACTIVE|PHYS_AUTO))) in DialCommand()
885 if (arg->cx->physical->async.cfg.EscMap[32]) { in ShowEscape()
890 if (arg->cx->physical->async.cfg.EscMap[code]) in ShowEscape()
892 if (arg->cx->physical->async.cfg.EscMap[code] & (1 << bit)) { in ShowEscape()
912 if (!arg->cx->physical->link.lcp.fsm.StoppedTimer.load) in ShowStopped()
916 arg->cx->physical->link.lcp.fsm.StoppedTimer.load / SECTICKS); in ShowStopped()
919 if (!arg->cx->physical->link.ccp.fsm.StoppedTimer.load) in ShowStopped()
[all …]
Dtcp.h29 struct physical;
31 extern struct device *tcp_Create(struct physical *);
32 extern struct device *tcp_iov2device(int, struct physical *,
Datm.h29 struct physical;
32 extern struct device *atm_Create(struct physical *);
33 extern struct device *atm_iov2device(int, struct physical *,
Dudp.h29 struct physical;
32 extern struct device *udp_Create(struct physical *);
33 extern struct device *udp_iov2device(int, struct physical *,
Dether.h29 struct physical;
34 extern struct device *ether_Create(struct physical *);
35 extern struct device *ether_iov2device(int, struct physical *, struct iovec *,
Dnetgraph.h28 struct physical;
33 extern struct device *ng_Create(struct physical *);
34 extern struct device *ng_iov2device(int, struct physical *, struct iovec *,
Di4b.h29 struct physical;
34 extern struct device *i4b_Create(struct physical *);
35 extern struct device *i4b_iov2device(int, struct physical *,
Dexec.h29 struct physical;
32 extern struct device *exec_Create(struct physical *);
33 extern struct device *exec_iov2device(int, struct physical *,
Dtty.h29 struct physical;
34 extern struct device *tty_Create(struct physical *);
35 extern struct device *tty_iov2device(int, struct physical *,
Datm.c80 atm_Sendto(struct physical *p, const void *v, size_t n) in atm_Sendto()
91 atm_Recvfrom(struct physical *p, void *v, size_t n) in atm_Recvfrom()
102 atm_Free(struct physical *p) in atm_Free()
146 atm_iov2device(int type, struct physical *p, struct iovec *iov, int *niov, in atm_iov2device()
172 atm_CreateDevice(struct physical *p, const char *iface, unsigned vpi, in atm_CreateDevice()
212 atm_Create(struct physical *p) in atm_Create()
Dether.c120 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()
311 ether_AwaitCarrier(struct physical *p) in ether_AwaitCarrier()
345 ether_iov2device(int type, struct physical *p, struct iovec *iov, int *niov, in ether_iov2device()
379 struct physical *p = descriptor2physical(d); in ether_UpdateSet()
398 struct physical *p = descriptor2physical(d); in ether_IsSet()
[all …]
Dlqr.h64 struct physical;
77 extern void lqr_Stop(struct physical *, int);
78 extern void lqr_StopTimer(struct physical *);
/mirbsd/src/gnu/usr.bin/lynx/WWW/Library/Implementation/
DHTAccess.c397 char *physical = NULL; in get_physical() local
409 if ((physical = HTTranslate(addr)) == 0) { in get_physical()
416 StrAllocCat(physical, "?0,0"); in get_physical()
419 if (!StrNCmp(physical, "Proxied=", 8)) { in get_physical()
420 HTAnchor_setPhysical(anchor, physical + 8); in get_physical()
422 } else if (!StrNCmp(physical, "NoProxy=", 8)) { in get_physical()
423 HTAnchor_setPhysical(anchor, physical + 8); in get_physical()
426 HTAnchor_setPhysical(anchor, physical); in get_physical()
428 FREE(physical); /* free our copy */ in get_physical()
431 StrAllocCopy(physical, addr); in get_physical()
[all …]

12345