Home
last modified time | relevance | path

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

12345678910

/freebsd-9-stable/usr.sbin/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.c117 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 …]
Dlqr.c166 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 …]
Dpap.c85 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 …]
Dphysical.c120 struct device *(*create)(struct physical *);
121 struct device *(*iov2device)(int, struct physical *, struct iovec *,
155 physical_SetDescriptor(struct physical *p) in physical_SetDescriptor()
164 struct physical *
167 struct physical *p; in physical_Create()
169 p = (struct physical *)malloc(sizeof(struct physical)); in physical_Create()
246 physical_SetParity(struct physical *p, const char *str) in physical_SetParity()
267 physical_GetSpeed(struct physical *p) in physical_GetSpeed()
276 physical_SetSpeed(struct physical *p, unsigned speed) in physical_SetSpeed()
287 physical_Raw(struct physical *p) in physical_Raw()
[all …]
Dchap.c100 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 …]
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 *);
Dauth.h31 struct physical;
49 struct physical *physical; member
59 extern void auth_Init(struct authinfo *, struct physical *,
Dchat.c83 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 …]
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()
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 …]
Dcommand.c266 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 …]
Datm.h29 struct physical;
32 extern struct device *atm_Create(struct physical *);
33 extern struct device *atm_iov2device(int, struct physical *,
Dtcp.h29 struct physical;
31 extern struct device *tcp_Create(struct physical *);
32 extern struct device *tcp_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 *,
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 *,
Dtty.h29 struct physical;
34 extern struct device *tty_Create(struct physical *);
35 extern struct device *tty_iov2device(int, struct physical *,
Di4b.h29 struct physical;
34 extern struct device *i4b_Create(struct physical *);
35 extern struct device *i4b_iov2device(int, struct physical *,
Dnetgraph.h29 struct physical;
34 extern struct device *ng_Create(struct physical *);
35 extern struct device *ng_iov2device(int, struct physical *, struct iovec *,
Datm.c78 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()
/freebsd-9-stable/sys/powerpc/powerpc/
Dmmu_if.m136 * @brief Change the wiring attribute for the page in the given physical
139 * @param _pmap physical map of page
152 * @brief Clear the 'modified' bit on the given physical page
154 * @param _pg physical page
163 * @brief Clear the 'referenced' bit on the given physical page
165 * @param _pg physical page
175 * physical page's mappings
177 * @param _pg physical page
186 * @brief Copy the address range given by the source physical map, virtual
187 * address and length to the destination physical map and virtual address.
[all …]
/freebsd-9-stable/cddl/contrib/dtracetoolkit/Examples/
Drfileio_example.txt13 /extra1/contents physical 1700
21 /extra1/contents physical 48115712
45 /usr/bin/amd64/glib-genmarshal physical 4
50 /usr/bin/amd64/gconf-merge-tree physical 6
52 /usr/bin/amd64/gconftool-2 physical 6
56 /usr/bin/amd64/truss physical 8
60 /usr/bin/amd64/mdb physical 15
67 /usr/bin/amd64/prctl physical 36864
69 /usr/bin/amd64/prstat physical 45056
71 /usr/bin/amd64/glib-genmarshal physical 46080
[all …]
Drfsio_example.txt12 /extra1 physical 162
14 /boot physical 410
20 /boot physical 1512960
21 /extra1 physical 97153024
38 / physical 1
39 /extra1 physical 9
47 / physical 8192
48 /extra1 physical 917504
67 /extra1 physical 106
74 /extra1 physical 66151424
/freebsd-9-stable/bin/pwd/
Dpwd.c60 int physical; in main() local
64 physical = 1; in main()
68 physical = 0; in main()
71 physical = 1; in main()
87 if ((!physical && (p = getcwd_logical()) != NULL) || in main()

12345678910