Symbol: physical
bin/pwd/pwd.c
49
int physical;
bin/pwd/pwd.c
53
physical = 1;
bin/pwd/pwd.c
57
physical = 0;
bin/pwd/pwd.c
60
physical = 1;
bin/pwd/pwd.c
76
if ((!physical && (p = getcwd_logical()) != NULL) ||
sys/dev/agp/agp.c
725
alloc->physical = mem->am_physical;
sys/dev/agp/agp_amd64.c
329
agp_amd64_bind_page(device_t dev, vm_offset_t offset, vm_offset_t physical)
sys/dev/agp/agp_amd64.c
337
(physical & 0xfffff000) | ((physical >> 28) & 0x00000ff0) | 3;
sys/dev/agp/agp_sis.c
225
agp_sis_bind_page(device_t dev, vm_offset_t offset, vm_offset_t physical)
sys/dev/agp/agp_sis.c
232
sc->gatt->ag_virtual[offset >> AGP_PAGE_SHIFT] = physical;
sys/dev/agp/agp_via.c
349
agp_via_bind_page(device_t dev, vm_offset_t offset, vm_offset_t physical)
sys/dev/agp/agp_via.c
356
sc->gatt->ag_virtual[offset >> AGP_PAGE_SHIFT] = physical;
sys/dev/agp/intel-gtt.c
100
vm_offset_t physical, int flags);
sys/dev/agp/intel-gtt.c
1007
agp_i965_install_gtt_pte(device_t dev, u_int index, vm_offset_t physical,
sys/dev/agp/intel-gtt.c
1012
pte = (u_int32_t)physical | I810_PTE_VALID;
sys/dev/agp/intel-gtt.c
1016
pte |= (physical >> 28) & 0xf0;
sys/dev/agp/intel-gtt.c
102
vm_offset_t physical, int flags);
sys/dev/agp/intel-gtt.c
1030
agp_g4x_install_gtt_pte(device_t dev, u_int index, vm_offset_t physical,
sys/dev/agp/intel-gtt.c
1035
pte = (u_int32_t)physical | I810_PTE_VALID;
sys/dev/agp/intel-gtt.c
1039
pte |= (physical >> 28) & 0xf0;
sys/dev/agp/intel-gtt.c
1053
agp_i810_bind_page(device_t dev, vm_offset_t offset, vm_offset_t physical)
sys/dev/agp/intel-gtt.c
1069
sc->match->driver->install_gtt_pte(dev, index, physical, 0);
sys/dev/agp/intel-gtt.c
98
vm_offset_t physical, int flags);
sys/dev/agp/intel-gtt.c
985
agp_i915_install_gtt_pte(device_t dev, u_int index, vm_offset_t physical,
sys/dev/agp/intel-gtt.c
990
pte = (u_int32_t)physical | I810_PTE_VALID;
sys/dev/drm/drm_agpsupport.c
248
request->physical = info.ami_physical;
sys/dev/drm/include/uapi/drm/drm.h
542
unsigned long physical; /**< Physical used by i810 */
sys/dev/raid/aac/aac_disk.c
250
vm_offset_t physical = ap->a_physical;
sys/dev/raid/aac/aac_disk.c
327
(uintmax_t)physical);
sys/dev/raid/ciss/ciss.c
1041
if (sc->ciss_controllers[i].physical.bus == 0)
sys/dev/raid/ciss/ciss.c
1281
cc->header.address.physical.mode = CISS_HDR_ADDRESS_MODE_PERIPHERAL;
sys/dev/raid/ciss/ciss.c
1282
cc->header.address.physical.bus = 0;
sys/dev/raid/ciss/ciss.c
1283
cc->header.address.physical.target = 0;
sys/dev/raid/ciss/ciss.c
1475
if (cll->lun[i].physical.extra_address == 0) {
sys/dev/raid/ciss/ciss.c
1476
bus = cll->lun[i].physical.bus;
sys/dev/raid/ciss/ciss.c
1479
bus = CISS_EXTRA_BUS2(cll->lun[i].physical.extra_address);
sys/dev/raid/ciss/ciss.c
1490
if (cll->lun[i].physical.extra_address == 0) {
sys/dev/raid/ciss/ciss.c
1491
sc->ciss_controllers[cll->lun[i].physical.bus] = cll->lun[i];
sys/dev/raid/ciss/ciss.c
1523
if (cll->lun[i].physical.extra_address == 0)
sys/dev/raid/ciss/ciss.c
1538
ea = cll->lun[i].physical.extra_address;
sys/dev/raid/ciss/ciss.c
1543
(cll->lun[i].physical.mode == CISS_HDR_ADDRESS_MODE_MASK_PERIPHERAL))
sys/dev/raid/ciss/ciss.c
2368
cc->header.address.physical.target = 0;
sys/dev/raid/ciss/ciss.c
2369
cc->header.address.physical.bus = 0;
sys/dev/raid/ciss/ciss.c
2506
cc->header.address.physical.mode = CISS_HDR_ADDRESS_MODE_PERIPHERAL;
sys/dev/raid/ciss/ciss.c
2507
cc->header.address.physical.bus = 0;
sys/dev/raid/ciss/ciss.c
2508
cc->header.address.physical.target = 0;
sys/dev/raid/ciss/ciss.c
2799
if (i == 0 || sc->ciss_controllers[i].physical.bus != 0) {
sys/dev/raid/ciss/ciss.c
2897
int physical;
sys/dev/raid/ciss/ciss.c
2903
physical = CISS_IS_PHYSICAL(bus);
sys/dev/raid/ciss/ciss.c
2922
if (!physical)
sys/dev/raid/ciss/ciss.c
2929
if (physical || ld->cl_geometry.fault_tolerance == 0xFF) {
sys/dev/raid/ciss/ciss.c
3554
cc->header.address.physical.mode = CISS_HDR_ADDRESS_MODE_PERIPHERAL;
sys/dev/raid/ciss/ciss.c
3555
cc->header.address.physical.bus = 0;
sys/dev/raid/ciss/ciss.c
3556
cc->header.address.physical.target = 0;
sys/dev/raid/ciss/ciss.c
3702
cc->header.address.physical.mode = CISS_HDR_ADDRESS_MODE_PERIPHERAL;
sys/dev/raid/ciss/ciss.c
3703
cc->header.address.physical.bus = 0;
sys/dev/raid/ciss/ciss.c
3704
cc->header.address.physical.target = 0;
sys/dev/raid/ciss/ciss.c
3931
bus = cn->device.physical.bus;
sys/dev/raid/ciss/ciss.c
4163
cc->header.address.physical.bus, cc->header.address.physical.target);
sys/dev/raid/ciss/cissreg.h
44
} physical;
sys/kern/kern_device.c
423
dev_ddump(cdev_t dev, void *virtual, vm_offset_t physical, off_t offset,
sys/kern/kern_device.c
436
ap.a_physical = physical;
sys/net/if_mib.c
147
DONTCOPY(physical);
sys/sys/agpio.h
143
u_int32_t physical; /* device specific (some devices
sys/sys/device.h
344
int dev_ddump(cdev_t dev, void *virtual, vm_offset_t physical, off_t offset,
usr.sbin/ppp/acf.c
78
struct physical *p = link2physical(l);
usr.sbin/ppp/async.c
106
struct physical *p = link2physical(l);
usr.sbin/ppp/async.c
190
struct physical *p = link2physical(l);
usr.sbin/ppp/async.h
47
struct physical;
usr.sbin/ppp/auth.c
358
datalink_AuthNotOk(authp->physical->dl);
usr.sbin/ppp/auth.c
363
auth_Init(struct authinfo *authp, struct physical *p, auth_func req,
usr.sbin/ppp/auth.c
373
authp->physical = p;
usr.sbin/ppp/auth.h
32
struct physical;
usr.sbin/ppp/auth.h
50
struct physical *physical;
usr.sbin/ppp/auth.h
60
extern void auth_Init(struct authinfo *, struct physical *,
usr.sbin/ppp/bundle.c
1025
octets = MAX(dl->physical->link.stats.total.in.OctetsPerSecond,
usr.sbin/ppp/bundle.c
1026
dl->physical->link.stats.total.out.OctetsPerSecond);
usr.sbin/ppp/bundle.c
1029
dl->name, mode2Nam(dl->physical->type), datalink_State(dl));
usr.sbin/ppp/bundle.c
1030
if (dl->physical->link.stats.total.rolling && dl->state == DATALINK_OPEN)
usr.sbin/ppp/bundle.c
1033
physical_GetSpeed(dl->physical),
usr.sbin/ppp/bundle.c
1301
(*dlp)->physical->type &
usr.sbin/ppp/bundle.c
1546
constlock = physical_LockedDevice(dl->physical);
usr.sbin/ppp/bundle.c
1680
omode = dl->physical->type;
usr.sbin/ppp/bundle.c
1771
physical_ChangedPid(dl->physical, pid);
usr.sbin/ppp/bundle.c
1783
physical_ChangedPid(dl->physical, pid);
usr.sbin/ppp/bundle.c
1842
if (dl->physical->fd == fd) {
usr.sbin/ppp/bundle.c
1882
overhead = ccp_MTUOverhead(&dl->physical->link.ccp);
usr.sbin/ppp/bundle.c
1887
(sp = physical_GetSpeed(dl->physical)) == 0)
usr.sbin/ppp/bundle.c
1889
dl->name, dl->physical->name.full);
usr.sbin/ppp/bundle.c
1893
bundle->iface->mtu = dl->physical->link.lcp.his_mru;
usr.sbin/ppp/bundle.c
1937
if (dl->physical->type == PHYS_AUTO) {
usr.sbin/ppp/bundle.c
1980
if (dl->physical->type == PHYS_AUTO) {
usr.sbin/ppp/bundle.c
221
physical_DeleteQueue(dl->physical);
usr.sbin/ppp/bundle.c
227
bundle->phys_type.all |= dl->physical->type;
usr.sbin/ppp/bundle.c
229
bundle->phys_type.open |= dl->physical->type;
usr.sbin/ppp/bundle.c
282
struct physical *p = link2physical(fp->link);
usr.sbin/ppp/bundle.c
338
if (fp == &dl->physical->link.lcp.fsm)
usr.sbin/ppp/bundle.c
963
if (dl->physical->type != PHYS_AUTO) /* Not in -auto mode */
usr.sbin/ppp/bundle.c
986
if ((mask & dl->physical->type) &&
usr.sbin/ppp/bundle.h
64
struct physical;
usr.sbin/ppp/cbcp.c
620
struct physical *p = link2physical(l);
usr.sbin/ppp/cbcp.c
63
cbcp_Init(struct cbcp *cbcp, struct physical *p)
usr.sbin/ppp/cbcp.c
750
cbcp_ReceiveTerminateReq(struct physical *p)
usr.sbin/ppp/cbcp.h
31
struct physical;
usr.sbin/ppp/cbcp.h
49
struct physical *p; /* On this physical link */
usr.sbin/ppp/cbcp.h
62
extern void cbcp_Init(struct cbcp *, struct physical *);
usr.sbin/ppp/cbcp.h
66
extern void cbcp_ReceiveTerminateReq(struct physical *);
usr.sbin/ppp/chap.c
100
ChapOutput(struct physical *physical, u_int code, u_int id,
usr.sbin/ppp/chap.c
120
link_PushPacket(&physical->link, bp, physical->dl->bundle,
usr.sbin/ppp/chap.c
121
LINK_QUEUES(&physical->link) - 1, PROTO_CHAP);
usr.sbin/ppp/chap.c
320
chap->auth.physical->dl->bundle, 0, pid);
usr.sbin/ppp/chap.c
383
ChapOutput(chap->auth.physical, CHAP_RESPONSE, chap->auth.id,
usr.sbin/ppp/chap.c
391
ChapOutput(chap->auth.physical, CHAP_FAILURE, chap->auth.id,
usr.sbin/ppp/chap.c
454
int lanman = chap->auth.physical->link.lcp.his_authtype == 0x80 &&
usr.sbin/ppp/chap.c
456
IsAccepted(chap->auth.physical->link.lcp.cfg.chap80lm)) ||
usr.sbin/ppp/chap.c
457
!IsAccepted(chap->auth.physical->link.lcp.cfg.chap80nt));
usr.sbin/ppp/chap.c
469
, chap->auth.physical->link.lcp.his_authtype, lanman
usr.sbin/ppp/chap.c
493
len = strlen(authp->physical->dl->bundle->cfg.auth.name);
usr.sbin/ppp/chap.c
500
if (*authp->physical->dl->bundle->radius.cfg.file) {
usr.sbin/ppp/chap.c
509
if (authp->physical->link.lcp.want_authtype == 0x80)
usr.sbin/ppp/chap.c
511
else if (authp->physical->link.lcp.want_authtype == 0x81)
usr.sbin/ppp/chap.c
519
memcpy(cp, authp->physical->dl->bundle->cfg.auth.name, len);
usr.sbin/ppp/chap.c
530
authp->physical->link.lcp.want_authtype);
usr.sbin/ppp/chap.c
532
len = strlen(authp->physical->dl->bundle->cfg.auth.name);
usr.sbin/ppp/chap.c
539
if (authp->physical->link.lcp.want_authtype == 0x81)
usr.sbin/ppp/chap.c
540
ChapOutput(authp->physical, CHAP_CHALLENGE, authp->id,
usr.sbin/ppp/chap.c
544
ChapOutput(authp->physical, CHAP_CHALLENGE, authp->id,
usr.sbin/ppp/chap.c
551
struct bundle *bundle = authp->physical->dl->bundle;
usr.sbin/ppp/chap.c
554
datalink_GotAuthname(authp->physical->dl, authp->in.name);
usr.sbin/ppp/chap.c
556
if (authp->physical->link.lcp.want_authtype == 0x81) {
usr.sbin/ppp/chap.c
573
ChapOutput(authp->physical, CHAP_SUCCESS, authp->id, msg, strlen(msg),
usr.sbin/ppp/chap.c
576
authp->physical->link.lcp.auth_ineed = 0;
usr.sbin/ppp/chap.c
578
physical_Login(authp->physical, authp->in.name);
usr.sbin/ppp/chap.c
580
if (authp->physical->link.lcp.auth_iwait == 0)
usr.sbin/ppp/chap.c
585
datalink_AuthOk(authp->physical->dl);
usr.sbin/ppp/chap.c
597
struct bundle *bundle = authp->physical->link.lcp.fsm.bundle;
usr.sbin/ppp/chap.c
603
if (authp->physical->link.lcp.want_authtype == 0x80) {
usr.sbin/ppp/chap.c
606
} else if (authp->physical->link.lcp.want_authtype == 0x81) {
usr.sbin/ppp/chap.c
620
ChapOutput(authp->physical, CHAP_FAILURE, authp->id, msg, strlen(msg) + 1,
usr.sbin/ppp/chap.c
622
datalink_AuthNotOk(authp->physical->dl);
usr.sbin/ppp/chap.c
664
chap_Init(struct chap *chap, struct physical *p)
usr.sbin/ppp/chap.c
690
struct physical *p = link2physical(l);
usr.sbin/ppp/chap.h
32
struct physical;
usr.sbin/ppp/chap.h
73
extern void chap_Init(struct chap *, struct physical *);
usr.sbin/ppp/chat.c
264
ExecStr(c->physical, c->exp + 3, c->exp + 3, sizeof c->exp - 3);
usr.sbin/ppp/chat.c
319
return physical_doUpdateSet(&c->physical->desc, r, NULL, e, n, 1);
usr.sbin/ppp/chat.c
321
return physical_doUpdateSet(&c->physical->desc, NULL, w, e, n, 1);
usr.sbin/ppp/chat.c
328
return c->argptr && physical_IsSet(&c->physical->desc, fdset);
usr.sbin/ppp/chat.c
392
in = physical_Read(c->physical, c->bufend, in);
usr.sbin/ppp/chat.c
509
if (physical_IsSync(c->physical)) {
usr.sbin/ppp/chat.c
520
wrote = physical_Write(c->physical, c->argptr, c->arglen);
usr.sbin/ppp/chat.c
527
if (physical_IsSync(c->physical)) {
usr.sbin/ppp/chat.c
531
} else if (wrote < 2 && physical_IsSync(c->physical)) {
usr.sbin/ppp/chat.c
545
chat_Init(struct chat *c, struct physical *p)
usr.sbin/ppp/chat.c
552
c->physical = p;
usr.sbin/ppp/chat.c
658
strncpy(result, c->physical->dl->bundle->cfg.auth.key, reslen);
usr.sbin/ppp/chat.c
672
strncpy(result, c->physical->dl->bundle->cfg.auth.name, reslen);
usr.sbin/ppp/chat.c
708
ExecStr(struct physical *physical, char *command, char *out, int olen)
usr.sbin/ppp/chat.c
732
physical->dl->bundle, 0, getpid());
usr.sbin/ppp/chat.c
737
dup2(physical->fd, STDIN_FILENO);
usr.sbin/ppp/chat.c
84
static void ExecStr(struct physical *, char *, char *, int);
usr.sbin/ppp/chat.h
37
struct physical;
usr.sbin/ppp/chat.h
41
struct physical *physical;
usr.sbin/ppp/chat.h
80
extern void chat_Init(struct chat *, struct physical *);
usr.sbin/ppp/command.c
1230
if (arg->cx->physical->link.lcp.fsm.state > ST_CLOSED) {
usr.sbin/ppp/command.c
1232
State2Nam(arg->cx->physical->link.lcp.fsm.state));
usr.sbin/ppp/command.c
1264
if (cx->physical->link.lcp.fsm.state == ST_OPENED)
usr.sbin/ppp/command.c
1265
fsm_Reopen(&cx->physical->link.lcp.fsm);
usr.sbin/ppp/command.c
1346
struct fsm *fp = arg->cx ? &arg->cx->physical->link.ccp.fsm :
usr.sbin/ppp/command.c
1369
physical_SetSync(arg->cx->physical);
usr.sbin/ppp/command.c
1379
if (physical_SetSpeed(arg->cx->physical, speed))
usr.sbin/ppp/command.c
1391
struct link *l = &arg->cx->physical->link;
usr.sbin/ppp/command.c
1520
arg->cx->physical->async.cfg.EscMap[code] = 0;
usr.sbin/ppp/command.c
1525
arg->cx->physical->async.cfg.EscMap[code >> 3] |= (1 << (code & 7));
usr.sbin/ppp/command.c
1526
arg->cx->physical->async.cfg.EscMap[32] = 1;
usr.sbin/ppp/command.c
1795
physical_SetDeviceList(cx->physical, arg->argc - arg->argn,
usr.sbin/ppp/command.c
1803
cx->physical->link.lcp.cfg.accmap = (u_int32_t)ulong_val;
usr.sbin/ppp/command.c
1967
cx->physical->link.lcp.cfg.openmode = arg->argc > arg->argn+1 ?
usr.sbin/ppp/command.c
1970
cx->physical->link.lcp.cfg.openmode = OPEN_PASSIVE;
usr.sbin/ppp/command.c
2028
&cx->physical->link.lcp.cfg.fsm.timeout,
usr.sbin/ppp/command.c
2029
&cx->physical->link.lcp.cfg.fsm.maxreq,
usr.sbin/ppp/command.c
2030
&cx->physical->link.lcp.cfg.fsm.maxtrm, DEF_FSMTRIES);
usr.sbin/ppp/command.c
2186
cx->physical->cfg.cd.delay = long_val;
usr.sbin/ppp/command.c
2187
cx->physical->cfg.cd.necessity = argp[strlen(argp)-1] == '!' ?
usr.sbin/ppp/command.c
2190
cx->physical->cfg.cd.necessity = CD_NOTREQUIRED;
usr.sbin/ppp/command.c
2192
cx->physical->cfg.cd.delay = 0;
usr.sbin/ppp/command.c
2193
cx->physical->cfg.cd.necessity = CD_DEFAULT;
usr.sbin/ppp/command.c
2199
res = physical_SetParity(arg->cx->physical, argp);
usr.sbin/ppp/command.c
2208
physical_SetRtsCts(arg->cx->physical, 1);
usr.sbin/ppp/command.c
2210
physical_SetRtsCts(arg->cx->physical, 0);
usr.sbin/ppp/command.c
259
Concatinate(arg->cx->physical->link.lcp.cfg.ident,
usr.sbin/ppp/command.c
260
sizeof arg->cx->physical->link.lcp.cfg.ident,
usr.sbin/ppp/command.c
2643
return &arg->cx->physical->link;
usr.sbin/ppp/command.c
2647
return &dl->physical->link;
usr.sbin/ppp/command.c
272
return lcp_SendIdentification(&arg->cx->physical->link.lcp) ? 0 : 1;
usr.sbin/ppp/command.c
2762
cx->physical->link.lcp.cfg.acfcomp &= keep;
usr.sbin/ppp/command.c
2763
cx->physical->link.lcp.cfg.acfcomp |= add;
usr.sbin/ppp/command.c
2766
cx->physical->link.lcp.cfg.chap05 &= keep;
usr.sbin/ppp/command.c
2767
cx->physical->link.lcp.cfg.chap05 |= add;
usr.sbin/ppp/command.c
2771
cx->physical->link.lcp.cfg.chap80nt &= keep;
usr.sbin/ppp/command.c
2772
cx->physical->link.lcp.cfg.chap80nt |= add;
usr.sbin/ppp/command.c
2775
cx->physical->link.lcp.cfg.chap80lm &= keep;
usr.sbin/ppp/command.c
2776
cx->physical->link.lcp.cfg.chap80lm |= add;
usr.sbin/ppp/command.c
2779
cx->physical->link.lcp.cfg.chap81 &= keep;
usr.sbin/ppp/command.c
2780
cx->physical->link.lcp.cfg.chap81 |= add;
usr.sbin/ppp/command.c
2800
cx->physical->link.lcp.cfg.lqr &= keep;
usr.sbin/ppp/command.c
2801
cx->physical->link.lcp.cfg.lqr |= add;
usr.sbin/ppp/command.c
2804
cx->physical->link.lcp.cfg.pap &= keep;
usr.sbin/ppp/command.c
2805
cx->physical->link.lcp.cfg.pap |= add;
usr.sbin/ppp/command.c
2816
cx->physical->link.lcp.cfg.protocomp &= keep;
usr.sbin/ppp/command.c
2817
cx->physical->link.lcp.cfg.protocomp |= add;
usr.sbin/ppp/command.c
2998
t = &cx->physical->link.stats.total;
usr.sbin/ppp/command.c
391
if ((arg->cx && !(arg->cx->physical->type & (PHYS_INTERACTIVE|PHYS_AUTO)))
usr.sbin/ppp/command.c
885
if (arg->cx->physical->async.cfg.EscMap[32]) {
usr.sbin/ppp/command.c
890
if (arg->cx->physical->async.cfg.EscMap[code])
usr.sbin/ppp/command.c
892
if (arg->cx->physical->async.cfg.EscMap[code] & (1 << bit)) {
usr.sbin/ppp/command.c
912
if (!arg->cx->physical->link.lcp.fsm.StoppedTimer.load)
usr.sbin/ppp/command.c
916
arg->cx->physical->link.lcp.fsm.StoppedTimer.load / SECTICKS);
usr.sbin/ppp/command.c
919
if (!arg->cx->physical->link.ccp.fsm.StoppedTimer.load)
usr.sbin/ppp/command.c
923
arg->cx->physical->link.ccp.fsm.StoppedTimer.load / SECTICKS);
usr.sbin/ppp/datalink.c
1007
fsm2initial(&dl->physical->link.ccp.fsm);
usr.sbin/ppp/datalink.c
1018
fsm_Close(&dl->physical->link.lcp.fsm);
usr.sbin/ppp/datalink.c
1033
fsm2initial(&dl->physical->link.ccp.fsm);
usr.sbin/ppp/datalink.c
1039
fsm2initial(&dl->physical->link.lcp.fsm);
usr.sbin/ppp/datalink.c
1105
prompt_Printf(arg->prompt, " Callback %s ", arg->cx->physical->type ==
usr.sbin/ppp/datalink.c
1122
if (arg->cx->physical->type != PHYS_DIRECT)
usr.sbin/ppp/datalink.c
1132
if (arg->cx->physical->type & PHYS_DIRECT)
usr.sbin/ppp/datalink.c
116
if (dl->physical->type == PHYS_DEDICATED && !dl->bundle->CleaningUp &&
usr.sbin/ppp/datalink.c
117
dl->physical->fd != -1) {
usr.sbin/ppp/datalink.c
124
physical_Close(dl->physical);
usr.sbin/ppp/datalink.c
1352
dl->physical = iov2physical(dl, iov, niov, maxiov, fd, auxfd, nauxfd);
usr.sbin/ppp/datalink.c
1354
if (!dl->physical) {
usr.sbin/ppp/datalink.c
1360
pap_Init(&dl->pap, dl->physical);
usr.sbin/ppp/datalink.c
1364
chap_Init(&dl->chap, dl->physical);
usr.sbin/ppp/datalink.c
1367
cbcp_Init(&dl->cbcp, dl->physical);
usr.sbin/ppp/datalink.c
1370
chat_Init(&dl->chat, dl->physical);
usr.sbin/ppp/datalink.c
139
if (!physical_SetMode(dl->physical, PHYS_BACKGROUND))
usr.sbin/ppp/datalink.c
1408
link_fd = physical2iov(dl ? dl->physical : NULL, iov, niov, maxiov, auxfd,
usr.sbin/ppp/datalink.c
1423
dl->physical->link.name = dl->name = strdup(name);
usr.sbin/ppp/datalink.c
1448
if (!physical_SetMode(dl->physical, mode))
usr.sbin/ppp/datalink.c
1450
if (dl->physical->type & (PHYS_DIRECT|PHYS_DEDICATED))
usr.sbin/ppp/datalink.c
1452
if (dl->physical->type == PHYS_DIRECT)
usr.sbin/ppp/datalink.c
152
(dl->physical->type == PHYS_DIRECT) ||
usr.sbin/ppp/datalink.c
154
!(dl->physical->type & (PHYS_DDIAL|PHYS_DEDICATED)))) {
usr.sbin/ppp/datalink.c
161
!(dl->physical->type & (PHYS_DIRECT|PHYS_BACKGROUND|PHYS_FOREGROUND)))
usr.sbin/ppp/datalink.c
218
} else if (!physical_Raw(dl->physical)) {
usr.sbin/ppp/datalink.c
226
physical_StopDeviceTimer(dl->physical);
usr.sbin/ppp/datalink.c
227
if (dl->physical->type == PHYS_DEDICATED)
usr.sbin/ppp/datalink.c
229
physical_Close(dl->physical);
usr.sbin/ppp/datalink.c
236
hdlc_Init(&dl->physical->hdlc, &dl->physical->link.lcp);
usr.sbin/ppp/datalink.c
237
async_Setup(&dl->physical->async);
usr.sbin/ppp/datalink.c
239
lcp_Setup(&dl->physical->link.lcp, dl->state == DATALINK_READY ?
usr.sbin/ppp/datalink.c
240
0 : dl->physical->link.lcp.cfg.openmode);
usr.sbin/ppp/datalink.c
241
ccp_Setup(&dl->physical->link.ccp);
usr.sbin/ppp/datalink.c
244
fsm_Up(&dl->physical->link.lcp.fsm);
usr.sbin/ppp/datalink.c
245
fsm_Open(&dl->physical->link.lcp.fsm);
usr.sbin/ppp/datalink.c
259
if ((dl->physical->type & (PHYS_DIRECT|PHYS_DEDICATED|PHYS_BACKGROUND|
usr.sbin/ppp/datalink.c
277
if (physical_Open(dl->physical) >= 0) {
usr.sbin/ppp/datalink.c
280
dl->physical->name.full);
usr.sbin/ppp/datalink.c
287
if (!(dl->physical->type & (PHYS_DDIAL|PHYS_DEDICATED)) &&
usr.sbin/ppp/datalink.c
296
if (!(dl->physical->type & (PHYS_DDIAL|PHYS_DEDICATED)) &&
usr.sbin/ppp/datalink.c
304
(!(dl->physical->type & (PHYS_DDIAL|PHYS_DEDICATED)) &&
usr.sbin/ppp/datalink.c
310
dl->physical->name.full);
usr.sbin/ppp/datalink.c
319
dl->physical->name.full, timeout);
usr.sbin/ppp/datalink.c
327
switch (physical_AwaitCarrier(dl->physical)) {
usr.sbin/ppp/datalink.c
342
physical_Offline(dl->physical); /* Is this required ? */
usr.sbin/ppp/datalink.c
371
physical_Offline(dl->physical);
usr.sbin/ppp/datalink.c
392
physical_Offline(dl->physical);
usr.sbin/ppp/datalink.c
407
descriptor_UpdateSet(&dl->physical->desc, r, w, e, n);
usr.sbin/ppp/datalink.c
416
return physical_RemoveFromSet(dl->physical, r, w, e);
usr.sbin/ppp/datalink.c
441
descriptor_IsSet(&dl->physical->desc, fdset);
usr.sbin/ppp/datalink.c
470
if (descriptor_IsSet(&dl->physical->desc, fdset))
usr.sbin/ppp/datalink.c
471
descriptor_Read(&dl->physical->desc, bundle, fdset);
usr.sbin/ppp/datalink.c
511
if (descriptor_IsSet(&dl->physical->desc, fdset))
usr.sbin/ppp/datalink.c
512
switch (descriptor_Write(&dl->physical->desc, bundle, fdset)) {
usr.sbin/ppp/datalink.c
539
physical_StopDeviceTimer(dl->physical);
usr.sbin/ppp/datalink.c
542
physical_Offline(dl->physical);
usr.sbin/ppp/datalink.c
573
struct lcp *lcp = &dl->physical->link.lcp;
usr.sbin/ppp/datalink.c
592
(*dl->parent->LayerUp)(dl->parent->object, &dl->physical->link.ccp.fsm);
usr.sbin/ppp/datalink.c
613
int ccpok = ccp_SetOpenMode(&dl->physical->link.ccp);
usr.sbin/ppp/datalink.c
615
if (dl->physical->link.lcp.want_mrru && dl->physical->link.lcp.his_mrru) {
usr.sbin/ppp/datalink.c
628
dl->physical->link.ccp.fsm.open_mode = OPEN_PASSIVE; /* override */
usr.sbin/ppp/datalink.c
639
(*dl->parent->LayerUp)(dl->parent->object, &dl->physical->link.lcp.fsm);
usr.sbin/ppp/datalink.c
643
ncp_SetLink(&dl->bundle->ncp, &dl->physical->link);
usr.sbin/ppp/datalink.c
648
fsm_Up(&dl->physical->link.ccp.fsm);
usr.sbin/ppp/datalink.c
649
fsm_Open(&dl->physical->link.ccp.fsm);
usr.sbin/ppp/datalink.c
653
(*dl->parent->LayerUp)(dl->parent->object, &dl->physical->link.lcp.fsm);
usr.sbin/ppp/datalink.c
661
fsm_Close(&dl->physical->link.lcp.fsm);
usr.sbin/ppp/datalink.c
674
if ((dl->physical->link.lcp.his_callback.opmask &
usr.sbin/ppp/datalink.c
676
dl->physical->link.lcp.want_callback.opmask &
usr.sbin/ppp/datalink.c
678
!(dl->physical->link.lcp.want_callback.opmask &
usr.sbin/ppp/datalink.c
683
} else if (dl->physical->link.lcp.want_callback.opmask) {
usr.sbin/ppp/datalink.c
688
fsm_Close(&dl->physical->link.lcp.fsm);
usr.sbin/ppp/datalink.c
690
switch (dl->physical->link.lcp.his_callback.opmask) {
usr.sbin/ppp/datalink.c
713
fsm_Close(&dl->physical->link.lcp.fsm);
usr.sbin/ppp/datalink.c
717
strncpy(dl->cbcp.fsm.phone, dl->physical->link.lcp.his_callback.msg,
usr.sbin/ppp/datalink.c
726
fsm_Close(&dl->physical->link.lcp.fsm);
usr.sbin/ppp/datalink.c
734
fsm_Close(&dl->physical->link.lcp.fsm);
usr.sbin/ppp/datalink.c
744
fsm_Close(&dl->physical->link.lcp.fsm);
usr.sbin/ppp/datalink.c
757
fsm2initial(&dl->physical->link.ccp.fsm);
usr.sbin/ppp/datalink.c
851
if ((dl->physical = physical_Create(dl, type)) == NULL) {
usr.sbin/ppp/datalink.c
857
pap_Init(&dl->pap, dl->physical);
usr.sbin/ppp/datalink.c
858
chap_Init(&dl->chap, dl->physical);
usr.sbin/ppp/datalink.c
859
cbcp_Init(&dl->cbcp, dl->physical);
usr.sbin/ppp/datalink.c
862
chat_Init(&dl->chat, dl->physical);
usr.sbin/ppp/datalink.c
904
if ((dl->physical = physical_Create(dl, PHYS_INTERACTIVE)) == NULL) {
usr.sbin/ppp/datalink.c
909
pap_Init(&dl->pap, dl->physical);
usr.sbin/ppp/datalink.c
912
chap_Init(&dl->chap, dl->physical);
usr.sbin/ppp/datalink.c
915
memcpy(&dl->physical->cfg, &odl->physical->cfg, sizeof dl->physical->cfg);
usr.sbin/ppp/datalink.c
916
memcpy(&dl->physical->link.lcp.cfg, &odl->physical->link.lcp.cfg,
usr.sbin/ppp/datalink.c
917
sizeof dl->physical->link.lcp.cfg);
usr.sbin/ppp/datalink.c
918
memcpy(&dl->physical->link.ccp.cfg, &odl->physical->link.ccp.cfg,
usr.sbin/ppp/datalink.c
919
sizeof dl->physical->link.ccp.cfg);
usr.sbin/ppp/datalink.c
920
memcpy(&dl->physical->async.cfg, &odl->physical->async.cfg,
usr.sbin/ppp/datalink.c
921
sizeof dl->physical->async.cfg);
usr.sbin/ppp/datalink.c
923
cbcp_Init(&dl->cbcp, dl->physical);
usr.sbin/ppp/datalink.c
926
chat_Init(&dl->chat, dl->physical);
usr.sbin/ppp/datalink.c
954
physical_Destroy(dl->physical);
usr.sbin/ppp/datalink.c
964
if (dl->physical->type & (PHYS_DIRECT|PHYS_DEDICATED))
usr.sbin/ppp/datalink.c
975
dl->physical->type == PHYS_DIRECT ? 0 : dl->cfg.reconnect.max;
usr.sbin/ppp/datalink.h
52
struct physical;
usr.sbin/ppp/datalink.h
58
struct physical *physical; /* Our link */
usr.sbin/ppp/ether.c
128
ether_Write(struct physical *p, const void *v, size_t n)
usr.sbin/ppp/ether.c
136
ether_Read(struct physical *p, void *v, size_t n)
usr.sbin/ppp/ether.c
144
ether_RemoveFromSet(struct physical *p, fd_set *r, fd_set *w, fd_set *e)
usr.sbin/ppp/ether.c
166
ether_Free(struct physical *p)
usr.sbin/ppp/ether.c
177
ether_OpenInfo(struct physical *p)
usr.sbin/ppp/ether.c
192
ether_Slot(struct physical *p)
usr.sbin/ppp/ether.c
319
ether_AwaitCarrier(struct physical *p)
usr.sbin/ppp/ether.c
353
ether_iov2device(int type, struct physical *p, struct iovec *iov, int *niov,
usr.sbin/ppp/ether.c
385
struct physical *p = descriptor2physical(d);
usr.sbin/ppp/ether.c
404
struct physical *p = descriptor2physical(d);
usr.sbin/ppp/ether.c
418
struct physical *p = descriptor2physical(d);
usr.sbin/ppp/ether.c
435
ether_Abandon(struct etherdevice *dev, struct physical *p)
usr.sbin/ppp/ether.c
447
ether_Create(struct physical *p)
usr.sbin/ppp/ether.h
30
struct physical;
usr.sbin/ppp/ether.h
35
extern struct device *ether_Create(struct physical *);
usr.sbin/ppp/ether.h
36
extern struct device *ether_iov2device(int, struct physical *, struct iovec *,
usr.sbin/ppp/exec.c
105
exec_Create(struct physical *p)
usr.sbin/ppp/exec.c
91
exec_iov2device(int type, struct physical *p, struct iovec *iov,
usr.sbin/ppp/exec.h
30
struct physical;
usr.sbin/ppp/exec.h
33
extern struct device *exec_Create(struct physical *);
usr.sbin/ppp/exec.h
34
extern struct device *exec_iov2device(int, struct physical *,
usr.sbin/ppp/fsm.c
880
struct physical *p = link2physical(fp->link);
usr.sbin/ppp/hdlc.c
304
struct physical *p = link2physical(l);
usr.sbin/ppp/hdlc.c
381
struct hdlc *hdlc = &arg->cx->physical->hdlc;
usr.sbin/ppp/hdlc.h
55
struct physical;
usr.sbin/ppp/ipcp.c
749
struct physical *p = link2physical(fp->link);
usr.sbin/ppp/ipv6cp.c
582
struct physical *p = link2physical(fp->link);
usr.sbin/ppp/lcp.c
285
struct physical *p = link2physical(lcp->fsm.link);
usr.sbin/ppp/lcp.c
379
struct physical *p = link2physical(fp->link);
usr.sbin/ppp/lcp.c
540
struct physical *p = link2physical(fp->link);
usr.sbin/ppp/lcp.c
571
struct physical *p = link2physical(fp->link);
usr.sbin/ppp/lcp.c
589
struct physical *p = link2physical(fp->link);
usr.sbin/ppp/lcp.c
667
struct physical *p = link2physical(fp->link);
usr.sbin/ppp/link.c
359
struct physical *p = link2physical(l);
usr.sbin/ppp/lqr.c
158
struct physical *p = link2physical(lcp->fsm.link);
usr.sbin/ppp/lqr.c
196
struct physical *p = link2physical(l);
usr.sbin/ppp/lqr.c
261
struct physical *physical = link2physical(lcp->fsm.link);
usr.sbin/ppp/lqr.c
263
physical->hdlc.lqm.lqr.resent = 0;
usr.sbin/ppp/lqr.c
264
physical->hdlc.lqm.echo.seq_sent = 0;
usr.sbin/ppp/lqr.c
265
physical->hdlc.lqm.echo.seq_recv = 0;
usr.sbin/ppp/lqr.c
266
memset(&physical->hdlc.lqm.lqr.peer, '\0',
usr.sbin/ppp/lqr.c
267
sizeof physical->hdlc.lqm.lqr.peer);
usr.sbin/ppp/lqr.c
269
physical->hdlc.lqm.method = LQM_ECHO;
usr.sbin/ppp/lqr.c
271
physical->hdlc.lqm.method |= LQM_LQR;
usr.sbin/ppp/lqr.c
272
timer_Stop(&physical->hdlc.lqm.timer);
usr.sbin/ppp/lqr.c
274
physical->hdlc.lqm.lqr.peer_timeout = lcp->his_lqrperiod;
usr.sbin/ppp/lqr.c
277
physical->link.name, lcp->his_lqrperiod / 100,
usr.sbin/ppp/lqr.c
282
physical->link.name,
usr.sbin/ppp/lqr.c
283
physical->hdlc.lqm.method & LQM_LQR ? "LQR" : "ECHO LQR",
usr.sbin/ppp/lqr.c
285
physical->hdlc.lqm.timer.load = lcp->want_lqrperiod * SECTICKS / 100;
usr.sbin/ppp/lqr.c
286
physical->hdlc.lqm.timer.func = SendLqrReport;
usr.sbin/ppp/lqr.c
287
physical->hdlc.lqm.timer.name = "lqm";
usr.sbin/ppp/lqr.c
288
physical->hdlc.lqm.timer.arg = lcp;
usr.sbin/ppp/lqr.c
290
physical->hdlc.lqm.timer.load = 0;
usr.sbin/ppp/lqr.c
293
physical->link.name);
usr.sbin/ppp/lqr.c
300
struct physical *p = link2physical(lcp->fsm.link);
usr.sbin/ppp/lqr.c
310
struct physical *p = link2physical(lcp->fsm.link);
usr.sbin/ppp/lqr.c
318
lqr_StopTimer(struct physical *physical)
usr.sbin/ppp/lqr.c
320
timer_Stop(&physical->hdlc.lqm.timer);
usr.sbin/ppp/lqr.c
324
lqr_Stop(struct physical *physical, int method)
usr.sbin/ppp/lqr.c
328
physical->link.name);
usr.sbin/ppp/lqr.c
331
physical->link.name);
usr.sbin/ppp/lqr.c
332
physical->hdlc.lqm.method &= ~method;
usr.sbin/ppp/lqr.c
333
if (physical->hdlc.lqm.method)
usr.sbin/ppp/lqr.c
334
SendLqrReport(physical->hdlc.lqm.owner);
usr.sbin/ppp/lqr.c
336
timer_Stop(&physical->hdlc.lqm.timer);
usr.sbin/ppp/lqr.c
363
struct physical *p = link2physical(l);
usr.sbin/ppp/lqr.h
57
struct physical;
usr.sbin/ppp/lqr.h
67
extern void lqr_Stop(struct physical *, int);
usr.sbin/ppp/lqr.h
68
extern void lqr_StopTimer(struct physical *);
usr.sbin/ppp/mp.c
1050
if (!link_QueueLen(&s->send.dl->physical->link) &&
usr.sbin/ppp/mp.c
1051
!s->send.dl->physical->out) {
usr.sbin/ppp/mp.c
300
struct lcp *lcp = &dl->physical->link.lcp;
usr.sbin/ppp/mp.c
340
dl->physical->link.stats.parent = &mp->link.stats.total;
usr.sbin/ppp/mp.c
416
mp_Assemble(struct mp *mp, struct mbuf *m, struct physical *p)
usr.sbin/ppp/mp.c
615
struct physical *p = link2physical(l);
usr.sbin/ppp/mp.c
708
if (dl->physical->out)
usr.sbin/ppp/mp.c
712
add = link_QueueLen(&dl->physical->link);
usr.sbin/ppp/mp.c
733
if (dl->physical->link.lcp.his_mru < mp->peer_mrru) {
usr.sbin/ppp/mp.c
745
bestlink = sendasip ? &dl->physical->link : &mp->link;
usr.sbin/ppp/mp.c
755
add = link_QueueLen(&dl->physical->link);
usr.sbin/ppp/mp.c
773
if (len <= dl->physical->link.lcp.his_mru) {
usr.sbin/ppp/mp.c
779
mo = m_get(dl->physical->link.lcp.his_mru, MB_MPOUT);
usr.sbin/ppp/mp.c
783
mp_Output(mp, bundle, &dl->physical->link, mo, begin, end);
usr.sbin/ppp/mp.h
31
struct physical;
usr.sbin/ppp/ncp.c
112
ipcp_Init(&ncp->ipcp, bundle, &bundle->links->physical->link,
usr.sbin/ppp/ncp.c
115
ipv6cp_Init(&ncp->ipv6cp, bundle, &bundle->links->physical->link,
usr.sbin/ppp/ncp.c
313
add = link_QueueLen(&dl->physical->link);
usr.sbin/ppp/ncp.c
314
if (add == 0 && dl->physical->out == NULL)
usr.sbin/ppp/ncp.c
315
add = ncp_PushPacket(ncp, &ncp->afq, &dl->physical->link);
usr.sbin/ppp/netgraph.c
174
ng_MessageIn(struct physical *p, char *buf, size_t sz)
usr.sbin/ppp/netgraph.c
228
ng_Write(struct physical *p, const void *v, size_t n)
usr.sbin/ppp/netgraph.c
241
ng_Read(struct physical *p, void *v, size_t n)
usr.sbin/ppp/netgraph.c
256
ng_RemoveFromSet(struct physical *p, fd_set *r, fd_set *w, fd_set *e)
usr.sbin/ppp/netgraph.c
278
ng_Free(struct physical *p)
usr.sbin/ppp/netgraph.c
329
ng_iov2device(int type, struct physical *p, struct iovec *iov, int *niov,
usr.sbin/ppp/netgraph.c
362
struct physical *p = descriptor2physical(d);
usr.sbin/ppp/netgraph.c
388
struct physical *p = descriptor2physical(d);
usr.sbin/ppp/netgraph.c
402
struct physical *p = descriptor2physical(d);
usr.sbin/ppp/netgraph.c
413
ng_Abandon(struct ngdevice *dev, struct physical *p)
usr.sbin/ppp/netgraph.c
460
ng_Create(struct physical *p)
usr.sbin/ppp/netgraph.h
30
struct physical;
usr.sbin/ppp/netgraph.h
35
extern struct device *ng_Create(struct physical *);
usr.sbin/ppp/netgraph.h
36
extern struct device *ng_iov2device(int, struct physical *, struct iovec *,
usr.sbin/ppp/pap.c
109
link_PushPacket(&authp->physical->link, bp, bundle,
usr.sbin/ppp/pap.c
110
LINK_QUEUES(&authp->physical->link) - 1, PROTO_PAP);
usr.sbin/ppp/pap.c
138
link_PushPacket(&authp->physical->link, bp, authp->physical->dl->bundle,
usr.sbin/ppp/pap.c
139
LINK_QUEUES(&authp->physical->link) - 1, PROTO_PAP);
usr.sbin/ppp/pap.c
145
struct bundle *bundle = authp->physical->dl->bundle;
usr.sbin/ppp/pap.c
147
datalink_GotAuthname(authp->physical->dl, authp->in.name);
usr.sbin/ppp/pap.c
154
authp->physical->link.lcp.auth_ineed = 0;
usr.sbin/ppp/pap.c
156
physical_Login(authp->physical, authp->in.name);
usr.sbin/ppp/pap.c
158
if (authp->physical->link.lcp.auth_iwait == 0)
usr.sbin/ppp/pap.c
163
datalink_AuthOk(authp->physical->dl);
usr.sbin/ppp/pap.c
170
datalink_AuthNotOk(authp->physical->dl);
usr.sbin/ppp/pap.c
174
pap_Init(struct authinfo *pap, struct physical *p)
usr.sbin/ppp/pap.c
182
struct physical *p = link2physical(l);
usr.sbin/ppp/pap.c
85
struct bundle *bundle = authp->physical->dl->bundle;
usr.sbin/ppp/pap.h
37
struct physical;
usr.sbin/ppp/pap.h
40
extern void pap_Init(struct authinfo *, struct physical *);
usr.sbin/ppp/physical.c
1049
physical_SetupStack(struct physical *p, const char *who, int how)
usr.sbin/ppp/physical.c
1080
physical_StopDeviceTimer(struct physical *p)
usr.sbin/ppp/physical.c
1087
physical_AwaitCarrier(struct physical *p)
usr.sbin/ppp/physical.c
1097
physical_SetAsyncParams(struct physical *p, u_int32_t mymap, u_int32_t hismap)
usr.sbin/ppp/physical.c
1106
physical_Slot(struct physical *p)
usr.sbin/ppp/physical.c
113
struct device *(*create)(struct physical *);
usr.sbin/ppp/physical.c
114
struct device *(*iov2device)(int, struct physical *, struct iovec *,
usr.sbin/ppp/physical.c
144
physical_SetDescriptor(struct physical *p)
usr.sbin/ppp/physical.c
153
struct physical *
usr.sbin/ppp/physical.c
156
struct physical *p;
usr.sbin/ppp/physical.c
158
p = (struct physical *)malloc(sizeof(struct physical));
usr.sbin/ppp/physical.c
235
physical_SetParity(struct physical *p, const char *str)
usr.sbin/ppp/physical.c
256
physical_GetSpeed(struct physical *p)
usr.sbin/ppp/physical.c
265
physical_SetSpeed(struct physical *p, unsigned speed)
usr.sbin/ppp/physical.c
276
physical_Raw(struct physical *p)
usr.sbin/ppp/physical.c
285
physical_Offline(struct physical *p)
usr.sbin/ppp/physical.c
293
physical_Lock(struct physical *p)
usr.sbin/ppp/physical.c
311
physical_Unlock(struct physical *p)
usr.sbin/ppp/physical.c
320
physical_Close(struct physical *p)
usr.sbin/ppp/physical.c
376
physical_Destroy(struct physical *p)
usr.sbin/ppp/physical.c
387
struct physical *p = descriptor2physical(d);
usr.sbin/ppp/physical.c
421
struct physical *p = arg->cx->physical;
usr.sbin/ppp/physical.c
473
if (physical_IsSync(arg->cx->physical))
usr.sbin/ppp/physical.c
519
struct physical *p = descriptor2physical(d);
usr.sbin/ppp/physical.c
568
struct physical *
usr.sbin/ppp/physical.c
572
struct physical *p;
usr.sbin/ppp/physical.c
576
p = (struct physical *)iov[(*niov)++].iov_base;
usr.sbin/ppp/physical.c
661
physical2iov(struct physical *p, struct iovec *iov, int *niov, int maxiov,
usr.sbin/ppp/physical.c
730
physical_LockedDevice(struct physical *p)
usr.sbin/ppp/physical.c
739
physical_ChangedPid(struct physical *p, pid_t newpid)
usr.sbin/ppp/physical.c
750
physical_IsSync(struct physical *p)
usr.sbin/ppp/physical.c
756
physical_DeviceMTU(struct physical *p)
usr.sbin/ppp/physical.c
762
physical_GetDevice(struct physical *p)
usr.sbin/ppp/physical.c
768
physical_SetDeviceList(struct physical *p, int argc, const char *const *argv)
usr.sbin/ppp/physical.c
784
physical_SetSync(struct physical *p)
usr.sbin/ppp/physical.c
790
physical_SetRtsCts(struct physical *p, int enable)
usr.sbin/ppp/physical.c
797
physical_Read(struct physical *p, void *buf, size_t nbytes)
usr.sbin/ppp/physical.c
812
physical_Write(struct physical *p, const void *buf, size_t nbytes)
usr.sbin/ppp/physical.c
826
struct physical *p = descriptor2physical(d);
usr.sbin/ppp/physical.c
854
physical_RemoveFromSet(struct physical *p, fd_set *r, fd_set *w, fd_set *e)
usr.sbin/ppp/physical.c
887
struct physical *p = descriptor2physical(d);
usr.sbin/ppp/physical.c
892
physical_Login(struct physical *p, const char *name)
usr.sbin/ppp/physical.c
921
physical_SetMode(struct physical *p, int mode)
usr.sbin/ppp/physical.c
936
physical_DeleteQueue(struct physical *p)
usr.sbin/ppp/physical.c
946
physical_SetDevice(struct physical *p, const char *name)
usr.sbin/ppp/physical.c
960
physical_Found(struct physical *p)
usr.sbin/ppp/physical.c
986
physical_Open(struct physical *p)
usr.sbin/ppp/physical.h
116
((struct physical *)((char *)fp - (uintptr_t)(&((struct physical *)0)->name)))
usr.sbin/ppp/physical.h
129
extern struct physical *physical_Create(struct datalink *, int);
usr.sbin/ppp/physical.h
130
extern int physical_Open(struct physical *);
usr.sbin/ppp/physical.h
131
extern int physical_Raw(struct physical *);
usr.sbin/ppp/physical.h
132
extern unsigned physical_GetSpeed(struct physical *);
usr.sbin/ppp/physical.h
133
extern int physical_SetSpeed(struct physical *, unsigned);
usr.sbin/ppp/physical.h
134
extern int physical_SetParity(struct physical *, const char *);
usr.sbin/ppp/physical.h
135
extern int physical_SetRtsCts(struct physical *, int);
usr.sbin/ppp/physical.h
136
extern void physical_SetSync(struct physical *);
usr.sbin/ppp/physical.h
138
extern void physical_Offline(struct physical *);
usr.sbin/ppp/physical.h
139
extern void physical_Close(struct physical *);
usr.sbin/ppp/physical.h
140
extern void physical_Destroy(struct physical *);
usr.sbin/ppp/physical.h
141
extern struct physical *iov2physical(struct datalink *, struct iovec *, int *,
usr.sbin/ppp/physical.h
143
extern int physical2iov(struct physical *, struct iovec *, int *, int, int *,
usr.sbin/ppp/physical.h
145
extern const char *physical_LockedDevice(struct physical *);
usr.sbin/ppp/physical.h
146
extern void physical_ChangedPid(struct physical *, pid_t);
usr.sbin/ppp/physical.h
148
extern int physical_IsSync(struct physical *);
usr.sbin/ppp/physical.h
149
extern u_short physical_DeviceMTU(struct physical *);
usr.sbin/ppp/physical.h
150
extern const char *physical_GetDevice(struct physical *);
usr.sbin/ppp/physical.h
151
extern void physical_SetDeviceList(struct physical *, int, const char *const *);
usr.sbin/ppp/physical.h
152
extern void physical_SetDevice(struct physical *, const char *);
usr.sbin/ppp/physical.h
154
extern ssize_t physical_Read(struct physical *, void *, size_t);
usr.sbin/ppp/physical.h
155
extern ssize_t physical_Write(struct physical *, const void *, size_t);
usr.sbin/ppp/physical.h
161
extern void physical_Login(struct physical *, const char *);
usr.sbin/ppp/physical.h
162
extern int physical_RemoveFromSet(struct physical *, fd_set *, fd_set *,
usr.sbin/ppp/physical.h
164
extern int physical_SetMode(struct physical *, int);
usr.sbin/ppp/physical.h
165
extern void physical_DeleteQueue(struct physical *);
usr.sbin/ppp/physical.h
166
extern void physical_SetupStack(struct physical *, const char *, int);
usr.sbin/ppp/physical.h
167
extern void physical_StopDeviceTimer(struct physical *);
usr.sbin/ppp/physical.h
169
extern int physical_AwaitCarrier(struct physical *);
usr.sbin/ppp/physical.h
170
extern void physical_SetDescriptor(struct physical *);
usr.sbin/ppp/physical.h
171
extern void physical_SetAsyncParams(struct physical *, u_int32_t, u_int32_t);
usr.sbin/ppp/physical.h
172
extern int physical_Slot(struct physical *);
usr.sbin/ppp/physical.h
26
struct physical;
usr.sbin/ppp/physical.h
62
int (*awaitcarrier)(struct physical *);
usr.sbin/ppp/physical.h
63
int (*removefromset)(struct physical *, fd_set *, fd_set *, fd_set *);
usr.sbin/ppp/physical.h
64
int (*raw)(struct physical *);
usr.sbin/ppp/physical.h
65
void (*offline)(struct physical *);
usr.sbin/ppp/physical.h
66
void (*cooked)(struct physical *);
usr.sbin/ppp/physical.h
67
void (*setasyncparams)(struct physical *, u_int32_t, u_int32_t);
usr.sbin/ppp/physical.h
68
void (*stoptimer)(struct physical *);
usr.sbin/ppp/physical.h
69
void (*destroy)(struct physical *);
usr.sbin/ppp/physical.h
70
ssize_t (*read)(struct physical *, void *, size_t);
usr.sbin/ppp/physical.h
71
ssize_t (*write)(struct physical *, const void *, size_t);
usr.sbin/ppp/physical.h
73
int (*speed)(struct physical *);
usr.sbin/ppp/physical.h
74
const char *(*openinfo)(struct physical *);
usr.sbin/ppp/physical.h
75
int (*slot)(struct physical *);
usr.sbin/ppp/prompt.c
251
if (physical_Write(p->TermMode->physical, &ch, n) < 0) {
usr.sbin/ppp/prompt.c
291
if (physical_Write(p->TermMode->physical, &ch, n) < 0) {
usr.sbin/ppp/radius.c
353
bundle = r->cx.auth->physical->dl->bundle;
usr.sbin/ppp/radius.c
673
radius_put_physical_details(struct rad_handle *rad, struct physical *p)
usr.sbin/ppp/radius.c
771
switch (authp->physical->link.lcp.want_auth) {
usr.sbin/ppp/radius.c
783
switch (authp->physical->link.lcp.want_authtype) {
usr.sbin/ppp/radius.c
836
authp->physical->link.lcp.want_authtype);
usr.sbin/ppp/radius.c
864
radius_put_physical_details(r->cx.rad, authp->physical);
usr.sbin/ppp/radius.c
983
radius_put_physical_details(r->cx.rad, dl->physical);
usr.sbin/ppp/sync.c
66
struct physical *p = link2physical(l);
usr.sbin/ppp/tcp.c
122
tcp_iov2device(int type, struct physical *p, struct iovec *iov,
usr.sbin/ppp/tcp.c
135
tcp_Create(struct physical *p)
usr.sbin/ppp/tcp.h
30
struct physical;
usr.sbin/ppp/tcp.h
32
extern struct device *tcp_Create(struct physical *);
usr.sbin/ppp/tcp.h
33
extern struct device *tcp_iov2device(int, struct physical *,
usr.sbin/ppp/tty.c
127
struct physical *p = data;
usr.sbin/ppp/tty.c
189
tty_StartTimer(struct physical *p)
usr.sbin/ppp/tty.c
204
tty_AwaitCarrier(struct physical *p)
usr.sbin/ppp/tty.c
235
tty_SetAsyncParams(struct physical *p, u_int32_t mymap, u_int32_t hismap)
usr.sbin/ppp/tty.c
261
LoadLineDiscipline(struct physical *p)
usr.sbin/ppp/tty.c
389
UnloadLineDiscipline(struct physical *p)
usr.sbin/ppp/tty.c
415
tty_Write(struct physical *p, const void *v, size_t n)
usr.sbin/ppp/tty.c
426
tty_Read(struct physical *p, void *v, size_t n)
usr.sbin/ppp/tty.c
440
tty_Raw(struct physical *p)
usr.sbin/ppp/tty.c
482
tty_Offline(struct physical *p)
usr.sbin/ppp/tty.c
501
tty_Cooked(struct physical *p)
usr.sbin/ppp/tty.c
523
tty_StopTimer(struct physical *p)
usr.sbin/ppp/tty.c
531
tty_Free(struct physical *p)
usr.sbin/ppp/tty.c
540
tty_Speed(struct physical *p)
usr.sbin/ppp/tty.c
551
tty_OpenInfo(struct physical *p)
usr.sbin/ppp/tty.c
566
tty_Slot(struct physical *p)
usr.sbin/ppp/tty.c
632
tty_iov2device(int type, struct physical *p, struct iovec *iov, int *niov,
usr.sbin/ppp/tty.c
669
tty_Create(struct physical *p)
usr.sbin/ppp/tty.h
30
struct physical;
usr.sbin/ppp/tty.h
35
extern struct device *tty_Create(struct physical *);
usr.sbin/ppp/tty.h
36
extern struct device *tty_iov2device(int, struct physical *,
usr.sbin/ppp/udp.c
112
udp_Recvfrom(struct physical *p, void *v, size_t n)
usr.sbin/ppp/udp.c
133
udp_Free(struct physical *p)
usr.sbin/ppp/udp.c
177
udp_iov2device(int type, struct physical *p, struct iovec *iov, int *niov,
usr.sbin/ppp/udp.c
201
udp_CreateDevice(struct physical *p, char *host, char *port)
usr.sbin/ppp/udp.c
254
udp_Create(struct physical *p)
usr.sbin/ppp/udp.c
84
udp_Sendto(struct physical *p, const void *v, size_t n)
usr.sbin/ppp/udp.h
30
struct physical;
usr.sbin/ppp/udp.h
33
extern struct device *udp_Create(struct physical *);
usr.sbin/ppp/udp.h
34
extern struct device *udp_iov2device(int, struct physical *,