Symbol: physical
sys/arm/arm/generic_timer.c
198
get_cntxct_a64_unstable(bool physical)
sys/arm/arm/generic_timer.c
203
if (physical) {
sys/arm/arm/generic_timer.c
221
get_cntxct(bool physical)
sys/arm/arm/generic_timer.c
226
if (physical)
sys/arm/arm/generic_timer.c
240
get_cntxctss(bool physical)
sys/arm/arm/generic_timer.c
244
if (physical)
sys/arm/arm/generic_timer.c
254
set_ctrl(uint32_t val, bool physical)
sys/arm/arm/generic_timer.c
257
if (physical)
sys/arm/arm/generic_timer.c
267
set_tval(uint32_t val, bool physical)
sys/arm/arm/generic_timer.c
270
if (physical)
sys/arm/arm/generic_timer.c
280
get_ctrl(bool physical)
sys/arm/arm/generic_timer.c
284
if (physical)
sys/arm/arm/generic_timer.c
394
arm_tmr_disable(bool physical)
sys/arm/arm/generic_timer.c
398
ctrl = get_ctrl(physical);
sys/arm/arm/generic_timer.c
400
set_ctrl(ctrl, physical);
sys/cddl/boot/zfs/zfsimpl.h
403
#define BP_SET_BIRTH(bp, logical, physical) \
sys/cddl/boot/zfs/zfsimpl.h
407
(bp)->blk_phys_birth = ((logical) == (physical) ? 0 : (physical)); \
sys/compat/linux/linux_ioctl.c
1227
struct l_dvd_physical physical;
sys/compat/linux/linux_ioctl.c
1335
bp->layer_num = lp->physical.layer_num;
sys/compat/linux/linux_ioctl.c
1358
struct l_dvd_layer *llp = &lp->physical.layer[bp->layer_num];
sys/dev/agp/agp.c
769
alloc->physical = mem->am_physical;
sys/dev/agp/agp_ali.c
206
agp_ali_bind_page(device_t dev, vm_offset_t offset, vm_offset_t physical)
sys/dev/agp/agp_ali.c
213
sc->gatt->ag_virtual[offset >> AGP_PAGE_SHIFT] = physical;
sys/dev/agp/agp_amd.c
338
agp_amd_bind_page(device_t dev, vm_offset_t offset, vm_offset_t physical)
sys/dev/agp/agp_amd.c
345
sc->gatt->ag_virtual[offset >> AGP_PAGE_SHIFT] = physical | 1;
sys/dev/agp/agp_amd64.c
327
agp_amd64_bind_page(device_t dev, vm_offset_t offset, vm_offset_t physical)
sys/dev/agp/agp_amd64.c
335
(physical & 0xfffff000) | ((physical >> 28) & 0x00000ff0) | 3;
sys/dev/agp/agp_apple.c
218
agp_apple_bind_page(device_t dev, vm_offset_t offset, vm_offset_t physical)
sys/dev/agp/agp_apple.c
225
sc->gatt->ag_virtual[offset >> AGP_PAGE_SHIFT] = physical;
sys/dev/agp/agp_ati.c
311
agp_ati_bind_page(device_t dev, vm_offset_t offset, vm_offset_t physical)
sys/dev/agp/agp_ati.c
318
sc->ag_virtual[offset >> AGP_PAGE_SHIFT] = physical | 1;
sys/dev/agp/agp_i810.c
121
vm_offset_t physical, int flags);
sys/dev/agp/agp_i810.c
123
vm_offset_t physical, int flags);
sys/dev/agp/agp_i810.c
125
vm_offset_t physical, int flags);
sys/dev/agp/agp_i810.c
127
vm_offset_t physical, int flags);
sys/dev/agp/agp_i810.c
129
vm_offset_t physical, int flags);
sys/dev/agp/agp_i810.c
1471
agp_i810_install_gtt_pte(device_t dev, u_int index, vm_offset_t physical,
sys/dev/agp/agp_i810.c
1476
pte = (u_int32_t)physical | I810_PTE_VALID;
sys/dev/agp/agp_i810.c
1495
agp_i830_install_gtt_pte(device_t dev, u_int index, vm_offset_t physical,
sys/dev/agp/agp_i810.c
1500
pte = (u_int32_t)physical | I810_PTE_VALID;
sys/dev/agp/agp_i810.c
1507
agp_i915_install_gtt_pte(device_t dev, u_int index, vm_offset_t physical,
sys/dev/agp/agp_i810.c
1512
pte = (u_int32_t)physical | I810_PTE_VALID;
sys/dev/agp/agp_i810.c
1515
pte |= (physical & 0x0000000f00000000ull) >> 28;
sys/dev/agp/agp_i810.c
1530
agp_i965_install_gtt_pte(device_t dev, u_int index, vm_offset_t physical,
sys/dev/agp/agp_i810.c
1535
pte = (u_int32_t)physical | I810_PTE_VALID;
sys/dev/agp/agp_i810.c
1538
pte |= (physical & 0x0000000f00000000ull) >> 28;
sys/dev/agp/agp_i810.c
1553
agp_g4x_install_gtt_pte(device_t dev, u_int index, vm_offset_t physical,
sys/dev/agp/agp_i810.c
1558
pte = (u_int32_t)physical | I810_PTE_VALID;
sys/dev/agp/agp_i810.c
1561
pte |= (physical & 0x0000000f00000000ull) >> 28;
sys/dev/agp/agp_i810.c
1576
agp_i810_bind_page(device_t dev, vm_offset_t offset, vm_offset_t physical)
sys/dev/agp/agp_i810.c
1592
sc->match->driver->install_gtt_pte(dev, index, physical, 0);
sys/dev/agp/agp_intel.c
365
agp_intel_bind_page(device_t dev, vm_offset_t offset, vm_offset_t physical)
sys/dev/agp/agp_intel.c
374
sc->gatt->ag_virtual[offset >> AGP_PAGE_SHIFT] = physical | 0x17;
sys/dev/agp/agp_nvidia.c
306
agp_nvidia_bind_page(device_t dev, vm_offset_t offset, vm_offset_t physical)
sys/dev/agp/agp_nvidia.c
315
sc->gatt->ag_virtual[index] = physical | 1;
sys/dev/agp/agp_sis.c
227
agp_sis_bind_page(device_t dev, vm_offset_t offset, vm_offset_t physical)
sys/dev/agp/agp_sis.c
234
sc->gatt->ag_virtual[offset >> AGP_PAGE_SHIFT] = physical;
sys/dev/agp/agp_via.c
350
agp_via_bind_page(device_t dev, vm_offset_t offset, vm_offset_t physical)
sys/dev/agp/agp_via.c
357
sc->gatt->ag_virtual[offset >> AGP_PAGE_SHIFT] = physical;
sys/dev/ciss/ciss.c
1121
if (sc->ciss_controllers[i].physical.bus == 0)
sys/dev/ciss/ciss.c
1389
cc->header.address.physical.mode = CISS_HDR_ADDRESS_MODE_PERIPHERAL;
sys/dev/ciss/ciss.c
1390
cc->header.address.physical.bus = 0;
sys/dev/ciss/ciss.c
1391
cc->header.address.physical.target = 0;
sys/dev/ciss/ciss.c
1593
if (cll->lun[i].physical.extra_address == 0) {
sys/dev/ciss/ciss.c
1594
bus = cll->lun[i].physical.bus;
sys/dev/ciss/ciss.c
1597
bus = CISS_EXTRA_BUS2(cll->lun[i].physical.extra_address);
sys/dev/ciss/ciss.c
1614
if (cll->lun[i].physical.extra_address == 0) {
sys/dev/ciss/ciss.c
1615
sc->ciss_controllers[cll->lun[i].physical.bus] = cll->lun[i];
sys/dev/ciss/ciss.c
1659
if (cll->lun[i].physical.extra_address == 0)
sys/dev/ciss/ciss.c
1674
ea = cll->lun[i].physical.extra_address;
sys/dev/ciss/ciss.c
1679
(cll->lun[i].physical.mode == CISS_HDR_ADDRESS_MODE_MASK_PERIPHERAL))
sys/dev/ciss/ciss.c
1693
(cll->lun[i].physical.mode != CISS_HDR_ADDRESS_MODE_MASK_PERIPHERAL))
sys/dev/ciss/ciss.c
2508
cc->header.address.physical.target = 0;
sys/dev/ciss/ciss.c
2509
cc->header.address.physical.bus = 0;
sys/dev/ciss/ciss.c
2649
cc->header.address.physical.mode = CISS_HDR_ADDRESS_MODE_PERIPHERAL;
sys/dev/ciss/ciss.c
2650
cc->header.address.physical.bus = 0;
sys/dev/ciss/ciss.c
2651
cc->header.address.physical.target = 0;
sys/dev/ciss/ciss.c
2954
if (i == 0 || sc->ciss_controllers[i].physical.bus != 0) {
sys/dev/ciss/ciss.c
3023
int physical;
sys/dev/ciss/ciss.c
3029
physical = CISS_IS_PHYSICAL(bus);
sys/dev/ciss/ciss.c
3047
if (!physical)
sys/dev/ciss/ciss.c
3054
if (physical || ld->cl_geometry.fault_tolerance == 0xFF) {
sys/dev/ciss/ciss.c
3674
cc->header.address.physical.mode = CISS_HDR_ADDRESS_MODE_PERIPHERAL;
sys/dev/ciss/ciss.c
3675
cc->header.address.physical.bus = 0;
sys/dev/ciss/ciss.c
3676
cc->header.address.physical.target = 0;
sys/dev/ciss/ciss.c
3826
cc->header.address.physical.mode = CISS_HDR_ADDRESS_MODE_PERIPHERAL;
sys/dev/ciss/ciss.c
3827
cc->header.address.physical.bus = 0;
sys/dev/ciss/ciss.c
3828
cc->header.address.physical.target = 0;
sys/dev/ciss/ciss.c
4056
bus = cn->device.physical.bus;
sys/dev/ciss/ciss.c
4299
cc->header.address.physical.bus, cc->header.address.physical.target);
sys/dev/ciss/cissreg.h
44
} physical;
sys/dev/drm2/drm.h
536
unsigned long physical; /**< Physical used by i810 */
sys/dev/drm2/drm_agpsupport.c
230
request->physical = info.ami_physical;
sys/dev/drm2/drm_ioc32.c
614
u32 physical; /**< Physical used by i810 */
sys/dev/drm2/drm_ioc32.c
632
req32->physical = request.physical;
sys/geom/raid/g_raid.c
1005
void *virtual, vm_offset_t physical, off_t offset, size_t length)
sys/geom/raid/g_raid.h
426
void *virtual, vm_offset_t physical, off_t offset, size_t length);
sys/sys/agpio.h
134
u_int32_t physical; /* device specific (some devices
usr.sbin/ppp/acf.c
76
struct physical *p = link2physical(l);
usr.sbin/ppp/async.c
105
struct physical *p = link2physical(l);
usr.sbin/ppp/async.c
193
struct physical *p = link2physical(l);
usr.sbin/ppp/async.h
46
struct physical;
usr.sbin/ppp/auth.c
405
datalink_AuthNotOk(authp->physical->dl);
usr.sbin/ppp/auth.c
410
auth_Init(struct authinfo *authp, struct physical *p, auth_func req,
usr.sbin/ppp/auth.c
420
authp->physical = p;
usr.sbin/ppp/auth.h
31
struct physical;
usr.sbin/ppp/auth.h
49
struct physical *physical;
usr.sbin/ppp/auth.h
59
extern void auth_Init(struct authinfo *, struct physical *,
usr.sbin/ppp/bundle.c
1027
octets = MAX(dl->physical->link.stats.total.in.OctetsPerSecond,
usr.sbin/ppp/bundle.c
1028
dl->physical->link.stats.total.out.OctetsPerSecond);
usr.sbin/ppp/bundle.c
1031
dl->name, mode2Nam(dl->physical->type), datalink_State(dl));
usr.sbin/ppp/bundle.c
1032
if (dl->physical->link.stats.total.rolling && dl->state == DATALINK_OPEN)
usr.sbin/ppp/bundle.c
1035
physical_GetSpeed(dl->physical),
usr.sbin/ppp/bundle.c
1307
(*dlp)->physical->type &
usr.sbin/ppp/bundle.c
1552
constlock = physical_LockedDevice(dl->physical);
usr.sbin/ppp/bundle.c
1686
omode = dl->physical->type;
usr.sbin/ppp/bundle.c
1777
physical_ChangedPid(dl->physical, pid);
usr.sbin/ppp/bundle.c
1789
physical_ChangedPid(dl->physical, pid);
usr.sbin/ppp/bundle.c
1848
if (dl->physical->fd == fd) {
usr.sbin/ppp/bundle.c
1888
overhead = ccp_MTUOverhead(&dl->physical->link.ccp);
usr.sbin/ppp/bundle.c
1893
(sp = physical_GetSpeed(dl->physical)) == 0)
usr.sbin/ppp/bundle.c
1895
dl->name, dl->physical->name.full);
usr.sbin/ppp/bundle.c
1899
bundle->iface->mtu = dl->physical->link.lcp.his_mru;
usr.sbin/ppp/bundle.c
1943
if (dl->physical->type == PHYS_AUTO) {
usr.sbin/ppp/bundle.c
1986
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
965
if (dl->physical->type != PHYS_AUTO) /* Not in -auto mode */
usr.sbin/ppp/bundle.c
988
if ((mask & dl->physical->type) &&
usr.sbin/ppp/bundle.h
69
struct physical;
usr.sbin/ppp/cbcp.c
624
struct physical *p = link2physical(l);
usr.sbin/ppp/cbcp.c
63
cbcp_Init(struct cbcp *cbcp, struct physical *p)
usr.sbin/ppp/cbcp.c
754
cbcp_ReceiveTerminateReq(struct physical *p)
usr.sbin/ppp/cbcp.h
30
struct physical;
usr.sbin/ppp/cbcp.h
48
struct physical *p; /* On this physical link */
usr.sbin/ppp/cbcp.h
61
extern void cbcp_Init(struct cbcp *, struct physical *);
usr.sbin/ppp/cbcp.h
65
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
669
chap_Init(struct chap *chap, struct physical *p)
usr.sbin/ppp/chap.c
695
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
269
ExecStr(c->physical, c->exp + 3, c->exp + 3, sizeof c->exp - 3);
usr.sbin/ppp/chat.c
324
return physical_doUpdateSet(&c->physical->desc, r, NULL, e, n, 1);
usr.sbin/ppp/chat.c
326
return physical_doUpdateSet(&c->physical->desc, NULL, w, e, n, 1);
usr.sbin/ppp/chat.c
333
return c->argptr && physical_IsSet(&c->physical->desc, fdset);
usr.sbin/ppp/chat.c
397
in = physical_Read(c->physical, c->bufend, in);
usr.sbin/ppp/chat.c
514
if (physical_IsSync(c->physical)) {
usr.sbin/ppp/chat.c
525
wrote = physical_Write(c->physical, c->argptr, c->arglen);
usr.sbin/ppp/chat.c
532
if (physical_IsSync(c->physical)) {
usr.sbin/ppp/chat.c
536
} else if (wrote < 2 && physical_IsSync(c->physical)) {
usr.sbin/ppp/chat.c
550
chat_Init(struct chat *c, struct physical *p)
usr.sbin/ppp/chat.c
557
c->physical = p;
usr.sbin/ppp/chat.c
663
strncpy(result, c->physical->dl->bundle->cfg.auth.key, reslen);
usr.sbin/ppp/chat.c
677
strncpy(result, c->physical->dl->bundle->cfg.auth.name, reslen);
usr.sbin/ppp/chat.c
713
ExecStr(struct physical *physical, char *command, char *out, int olen)
usr.sbin/ppp/chat.c
737
physical->dl->bundle, 0, getpid());
usr.sbin/ppp/chat.c
742
dup2(physical->fd, STDIN_FILENO);
usr.sbin/ppp/chat.c
83
static void ExecStr(struct physical *, char *, char *, int);
usr.sbin/ppp/chat.h
38
struct physical;
usr.sbin/ppp/chat.h
42
struct physical *physical;
usr.sbin/ppp/chat.h
81
extern void chat_Init(struct chat *, struct physical *);
usr.sbin/ppp/command.c
1262
if (arg->cx->physical->link.lcp.fsm.state > ST_CLOSED) {
usr.sbin/ppp/command.c
1264
State2Nam(arg->cx->physical->link.lcp.fsm.state));
usr.sbin/ppp/command.c
1296
if (cx->physical->link.lcp.fsm.state == ST_OPENED)
usr.sbin/ppp/command.c
1297
fsm_Reopen(&cx->physical->link.lcp.fsm);
usr.sbin/ppp/command.c
1378
struct fsm *fp = arg->cx ? &arg->cx->physical->link.ccp.fsm :
usr.sbin/ppp/command.c
1401
physical_SetSync(arg->cx->physical);
usr.sbin/ppp/command.c
1411
if (physical_SetSpeed(arg->cx->physical, speed))
usr.sbin/ppp/command.c
1423
struct link *l = &arg->cx->physical->link;
usr.sbin/ppp/command.c
1552
arg->cx->physical->async.cfg.EscMap[code] = 0;
usr.sbin/ppp/command.c
1557
arg->cx->physical->async.cfg.EscMap[code >> 3] |= (1 << (code & 7));
usr.sbin/ppp/command.c
1558
arg->cx->physical->async.cfg.EscMap[32] = 1;
usr.sbin/ppp/command.c
1827
physical_SetDeviceList(cx->physical, arg->argc - arg->argn,
usr.sbin/ppp/command.c
1835
cx->physical->link.lcp.cfg.accmap = (u_int32_t)ulong_val;
usr.sbin/ppp/command.c
1999
cx->physical->link.lcp.cfg.openmode = arg->argc > arg->argn+1 ?
usr.sbin/ppp/command.c
2002
cx->physical->link.lcp.cfg.openmode = OPEN_PASSIVE;
usr.sbin/ppp/command.c
2083
&cx->physical->link.lcp.cfg.fsm.timeout,
usr.sbin/ppp/command.c
2084
&cx->physical->link.lcp.cfg.fsm.maxreq,
usr.sbin/ppp/command.c
2085
&cx->physical->link.lcp.cfg.fsm.maxtrm, DEF_FSMTRIES);
usr.sbin/ppp/command.c
2241
cx->physical->cfg.cd.delay = long_val;
usr.sbin/ppp/command.c
2242
cx->physical->cfg.cd.necessity = argp[strlen(argp)-1] == '!' ?
usr.sbin/ppp/command.c
2245
cx->physical->cfg.cd.necessity = CD_NOTREQUIRED;
usr.sbin/ppp/command.c
2247
cx->physical->cfg.cd.delay = 0;
usr.sbin/ppp/command.c
2248
cx->physical->cfg.cd.necessity = CD_DEFAULT;
usr.sbin/ppp/command.c
2254
res = physical_SetParity(arg->cx->physical, argp);
usr.sbin/ppp/command.c
2263
physical_SetRtsCts(arg->cx->physical, 1);
usr.sbin/ppp/command.c
2265
physical_SetRtsCts(arg->cx->physical, 0);
usr.sbin/ppp/command.c
2322
physical_SetPPPoEnonstandard(arg->cx->physical, 1);
usr.sbin/ppp/command.c
2324
physical_SetPPPoEnonstandard(arg->cx->physical, 0);
usr.sbin/ppp/command.c
266
Concatinate(arg->cx->physical->link.lcp.cfg.ident,
usr.sbin/ppp/command.c
267
sizeof arg->cx->physical->link.lcp.cfg.ident,
usr.sbin/ppp/command.c
2746
return &arg->cx->physical->link;
usr.sbin/ppp/command.c
2750
return &dl->physical->link;
usr.sbin/ppp/command.c
279
return lcp_SendIdentification(&arg->cx->physical->link.lcp) ? 0 : 1;
usr.sbin/ppp/command.c
2873
cx->physical->link.lcp.cfg.acfcomp &= keep;
usr.sbin/ppp/command.c
2874
cx->physical->link.lcp.cfg.acfcomp |= add;
usr.sbin/ppp/command.c
2877
cx->physical->link.lcp.cfg.chap05 &= keep;
usr.sbin/ppp/command.c
2878
cx->physical->link.lcp.cfg.chap05 |= add;
usr.sbin/ppp/command.c
2882
cx->physical->link.lcp.cfg.chap80nt &= keep;
usr.sbin/ppp/command.c
2883
cx->physical->link.lcp.cfg.chap80nt |= add;
usr.sbin/ppp/command.c
2886
cx->physical->link.lcp.cfg.chap80lm &= keep;
usr.sbin/ppp/command.c
2887
cx->physical->link.lcp.cfg.chap80lm |= add;
usr.sbin/ppp/command.c
2890
cx->physical->link.lcp.cfg.chap81 &= keep;
usr.sbin/ppp/command.c
2891
cx->physical->link.lcp.cfg.chap81 |= add;
usr.sbin/ppp/command.c
2907
if (cx->physical->link.lcp.cfg.echo && !add) {
usr.sbin/ppp/command.c
2908
cx->physical->link.lcp.cfg.echo = 0;
usr.sbin/ppp/command.c
2909
cx->physical->hdlc.lqm.method &= ~LQM_ECHO;
usr.sbin/ppp/command.c
2910
if (cx->physical->hdlc.lqm.method & LQM_ECHO &&
usr.sbin/ppp/command.c
2911
!cx->physical->link.lcp.want_lqrperiod &&
usr.sbin/ppp/command.c
2912
cx->physical->hdlc.lqm.timer.load) {
usr.sbin/ppp/command.c
2913
cx->physical->hdlc.lqm.timer.load = 0;
usr.sbin/ppp/command.c
2914
lqr_StopTimer(cx->physical);
usr.sbin/ppp/command.c
2916
} else if (!cx->physical->link.lcp.cfg.echo && add) {
usr.sbin/ppp/command.c
2917
cx->physical->link.lcp.cfg.echo = 1;
usr.sbin/ppp/command.c
2918
cx->physical->hdlc.lqm.method |= LQM_ECHO;
usr.sbin/ppp/command.c
2919
cx->physical->hdlc.lqm.timer.load =
usr.sbin/ppp/command.c
2920
cx->physical->link.lcp.cfg.lqrperiod * SECTICKS;
usr.sbin/ppp/command.c
2921
if (cx->physical->link.lcp.fsm.state == ST_OPENED)
usr.sbin/ppp/command.c
2922
(*cx->physical->hdlc.lqm.timer.func)(&cx->physical->link.lcp);
usr.sbin/ppp/command.c
2930
cx->physical->link.lcp.cfg.lqr &= keep;
usr.sbin/ppp/command.c
2931
cx->physical->link.lcp.cfg.lqr |= add;
usr.sbin/ppp/command.c
2934
cx->physical->link.lcp.cfg.pap &= keep;
usr.sbin/ppp/command.c
2935
cx->physical->link.lcp.cfg.pap |= add;
usr.sbin/ppp/command.c
2946
cx->physical->link.lcp.cfg.protocomp &= keep;
usr.sbin/ppp/command.c
2947
cx->physical->link.lcp.cfg.protocomp |= add;
usr.sbin/ppp/command.c
3137
t = &cx->physical->link.stats.total;
usr.sbin/ppp/command.c
398
if ((arg->cx && !(arg->cx->physical->type & (PHYS_INTERACTIVE|PHYS_AUTO)))
usr.sbin/ppp/command.c
921
if (arg->cx->physical->async.cfg.EscMap[32]) {
usr.sbin/ppp/command.c
926
if (arg->cx->physical->async.cfg.EscMap[code])
usr.sbin/ppp/command.c
928
if (arg->cx->physical->async.cfg.EscMap[code] & (1 << bit)) {
usr.sbin/ppp/command.c
948
if (!arg->cx->physical->link.lcp.fsm.StoppedTimer.load)
usr.sbin/ppp/command.c
952
arg->cx->physical->link.lcp.fsm.StoppedTimer.load / SECTICKS);
usr.sbin/ppp/command.c
955
if (!arg->cx->physical->link.ccp.fsm.StoppedTimer.load)
usr.sbin/ppp/command.c
959
arg->cx->physical->link.ccp.fsm.StoppedTimer.load / SECTICKS);
usr.sbin/ppp/datalink.c
1009
fsm2initial(&dl->physical->link.ccp.fsm);
usr.sbin/ppp/datalink.c
1020
fsm_Close(&dl->physical->link.lcp.fsm);
usr.sbin/ppp/datalink.c
1035
fsm2initial(&dl->physical->link.ccp.fsm);
usr.sbin/ppp/datalink.c
1041
fsm2initial(&dl->physical->link.lcp.fsm);
usr.sbin/ppp/datalink.c
1107
prompt_Printf(arg->prompt, " Callback %s ", arg->cx->physical->type ==
usr.sbin/ppp/datalink.c
1124
if (arg->cx->physical->type != PHYS_DIRECT)
usr.sbin/ppp/datalink.c
1134
if (arg->cx->physical->type & PHYS_DIRECT)
usr.sbin/ppp/datalink.c
117
if (dl->physical->type == PHYS_DEDICATED && !dl->bundle->CleaningUp &&
usr.sbin/ppp/datalink.c
118
dl->physical->fd != -1) {
usr.sbin/ppp/datalink.c
125
physical_Close(dl->physical);
usr.sbin/ppp/datalink.c
1358
dl->physical = iov2physical(dl, iov, niov, maxiov, fd, auxfd, nauxfd);
usr.sbin/ppp/datalink.c
1360
if (!dl->physical) {
usr.sbin/ppp/datalink.c
1366
pap_Init(&dl->pap, dl->physical);
usr.sbin/ppp/datalink.c
1370
chap_Init(&dl->chap, dl->physical);
usr.sbin/ppp/datalink.c
1373
cbcp_Init(&dl->cbcp, dl->physical);
usr.sbin/ppp/datalink.c
1376
chat_Init(&dl->chat, dl->physical);
usr.sbin/ppp/datalink.c
140
if (!physical_SetMode(dl->physical, PHYS_BACKGROUND))
usr.sbin/ppp/datalink.c
1414
link_fd = physical2iov(dl ? dl->physical : NULL, iov, niov, maxiov, auxfd,
usr.sbin/ppp/datalink.c
1429
dl->physical->link.name = dl->name = strdup(name);
usr.sbin/ppp/datalink.c
1457
if (!physical_SetMode(dl->physical, mode))
usr.sbin/ppp/datalink.c
1459
if (dl->physical->type & (PHYS_DIRECT|PHYS_DEDICATED))
usr.sbin/ppp/datalink.c
1461
if (dl->physical->type == PHYS_DIRECT)
usr.sbin/ppp/datalink.c
153
(dl->physical->type == PHYS_DIRECT) ||
usr.sbin/ppp/datalink.c
155
!(dl->physical->type & (PHYS_DDIAL|PHYS_DEDICATED)))) {
usr.sbin/ppp/datalink.c
162
!(dl->physical->type & (PHYS_DIRECT|PHYS_BACKGROUND|PHYS_FOREGROUND)))
usr.sbin/ppp/datalink.c
219
} else if (!physical_Raw(dl->physical)) {
usr.sbin/ppp/datalink.c
227
physical_StopDeviceTimer(dl->physical);
usr.sbin/ppp/datalink.c
228
if (dl->physical->type == PHYS_DEDICATED)
usr.sbin/ppp/datalink.c
230
physical_Close(dl->physical);
usr.sbin/ppp/datalink.c
237
hdlc_Init(&dl->physical->hdlc, &dl->physical->link.lcp);
usr.sbin/ppp/datalink.c
238
async_Setup(&dl->physical->async);
usr.sbin/ppp/datalink.c
240
lcp_Setup(&dl->physical->link.lcp, dl->state == DATALINK_READY ?
usr.sbin/ppp/datalink.c
241
0 : dl->physical->link.lcp.cfg.openmode);
usr.sbin/ppp/datalink.c
242
ccp_Setup(&dl->physical->link.ccp);
usr.sbin/ppp/datalink.c
245
fsm_Up(&dl->physical->link.lcp.fsm);
usr.sbin/ppp/datalink.c
246
fsm_Open(&dl->physical->link.lcp.fsm);
usr.sbin/ppp/datalink.c
260
if ((dl->physical->type & (PHYS_DIRECT|PHYS_DEDICATED|PHYS_BACKGROUND|
usr.sbin/ppp/datalink.c
278
if (physical_Open(dl->physical) >= 0) {
usr.sbin/ppp/datalink.c
281
dl->physical->name.full);
usr.sbin/ppp/datalink.c
288
if (!(dl->physical->type & (PHYS_DDIAL|PHYS_DEDICATED)) &&
usr.sbin/ppp/datalink.c
297
if (!(dl->physical->type & (PHYS_DDIAL|PHYS_DEDICATED)) &&
usr.sbin/ppp/datalink.c
305
(!(dl->physical->type & (PHYS_DDIAL|PHYS_DEDICATED)) &&
usr.sbin/ppp/datalink.c
311
dl->physical->name.full);
usr.sbin/ppp/datalink.c
320
dl->physical->name.full, timeout);
usr.sbin/ppp/datalink.c
328
switch (physical_AwaitCarrier(dl->physical)) {
usr.sbin/ppp/datalink.c
343
physical_Offline(dl->physical); /* Is this required ? */
usr.sbin/ppp/datalink.c
372
physical_Offline(dl->physical);
usr.sbin/ppp/datalink.c
393
physical_Offline(dl->physical);
usr.sbin/ppp/datalink.c
408
descriptor_UpdateSet(&dl->physical->desc, r, w, e, n);
usr.sbin/ppp/datalink.c
417
return physical_RemoveFromSet(dl->physical, r, w, e);
usr.sbin/ppp/datalink.c
442
descriptor_IsSet(&dl->physical->desc, fdset);
usr.sbin/ppp/datalink.c
471
if (descriptor_IsSet(&dl->physical->desc, fdset))
usr.sbin/ppp/datalink.c
472
descriptor_Read(&dl->physical->desc, bundle, fdset);
usr.sbin/ppp/datalink.c
512
if (descriptor_IsSet(&dl->physical->desc, fdset))
usr.sbin/ppp/datalink.c
513
switch (descriptor_Write(&dl->physical->desc, bundle, fdset)) {
usr.sbin/ppp/datalink.c
540
physical_StopDeviceTimer(dl->physical);
usr.sbin/ppp/datalink.c
543
physical_Offline(dl->physical);
usr.sbin/ppp/datalink.c
574
struct lcp *lcp = &dl->physical->link.lcp;
usr.sbin/ppp/datalink.c
593
(*dl->parent->LayerUp)(dl->parent->object, &dl->physical->link.ccp.fsm);
usr.sbin/ppp/datalink.c
614
int ccpok = ccp_SetOpenMode(&dl->physical->link.ccp);
usr.sbin/ppp/datalink.c
616
if (dl->physical->link.lcp.want_mrru && dl->physical->link.lcp.his_mrru) {
usr.sbin/ppp/datalink.c
629
dl->physical->link.ccp.fsm.open_mode = OPEN_PASSIVE; /* override */
usr.sbin/ppp/datalink.c
640
(*dl->parent->LayerUp)(dl->parent->object, &dl->physical->link.lcp.fsm);
usr.sbin/ppp/datalink.c
644
ncp_SetLink(&dl->bundle->ncp, &dl->physical->link);
usr.sbin/ppp/datalink.c
649
fsm_Up(&dl->physical->link.ccp.fsm);
usr.sbin/ppp/datalink.c
650
fsm_Open(&dl->physical->link.ccp.fsm);
usr.sbin/ppp/datalink.c
654
(*dl->parent->LayerUp)(dl->parent->object, &dl->physical->link.lcp.fsm);
usr.sbin/ppp/datalink.c
662
fsm_Close(&dl->physical->link.lcp.fsm);
usr.sbin/ppp/datalink.c
675
if ((dl->physical->link.lcp.his_callback.opmask &
usr.sbin/ppp/datalink.c
677
dl->physical->link.lcp.want_callback.opmask &
usr.sbin/ppp/datalink.c
679
!(dl->physical->link.lcp.want_callback.opmask &
usr.sbin/ppp/datalink.c
684
} else if (dl->physical->link.lcp.want_callback.opmask) {
usr.sbin/ppp/datalink.c
689
fsm_Close(&dl->physical->link.lcp.fsm);
usr.sbin/ppp/datalink.c
691
switch (dl->physical->link.lcp.his_callback.opmask) {
usr.sbin/ppp/datalink.c
714
fsm_Close(&dl->physical->link.lcp.fsm);
usr.sbin/ppp/datalink.c
718
strncpy(dl->cbcp.fsm.phone, dl->physical->link.lcp.his_callback.msg,
usr.sbin/ppp/datalink.c
727
fsm_Close(&dl->physical->link.lcp.fsm);
usr.sbin/ppp/datalink.c
735
fsm_Close(&dl->physical->link.lcp.fsm);
usr.sbin/ppp/datalink.c
745
fsm_Close(&dl->physical->link.lcp.fsm);
usr.sbin/ppp/datalink.c
758
fsm2initial(&dl->physical->link.ccp.fsm);
usr.sbin/ppp/datalink.c
852
if ((dl->physical = physical_Create(dl, type)) == NULL) {
usr.sbin/ppp/datalink.c
858
pap_Init(&dl->pap, dl->physical);
usr.sbin/ppp/datalink.c
859
chap_Init(&dl->chap, dl->physical);
usr.sbin/ppp/datalink.c
860
cbcp_Init(&dl->cbcp, dl->physical);
usr.sbin/ppp/datalink.c
863
chat_Init(&dl->chat, dl->physical);
usr.sbin/ppp/datalink.c
905
if ((dl->physical = physical_Create(dl, PHYS_INTERACTIVE)) == NULL) {
usr.sbin/ppp/datalink.c
910
pap_Init(&dl->pap, dl->physical);
usr.sbin/ppp/datalink.c
913
chap_Init(&dl->chap, dl->physical);
usr.sbin/ppp/datalink.c
916
memcpy(&dl->physical->cfg, &odl->physical->cfg, sizeof dl->physical->cfg);
usr.sbin/ppp/datalink.c
917
memcpy(&dl->physical->link.lcp.cfg, &odl->physical->link.lcp.cfg,
usr.sbin/ppp/datalink.c
918
sizeof dl->physical->link.lcp.cfg);
usr.sbin/ppp/datalink.c
919
memcpy(&dl->physical->link.ccp.cfg, &odl->physical->link.ccp.cfg,
usr.sbin/ppp/datalink.c
920
sizeof dl->physical->link.ccp.cfg);
usr.sbin/ppp/datalink.c
921
memcpy(&dl->physical->async.cfg, &odl->physical->async.cfg,
usr.sbin/ppp/datalink.c
922
sizeof dl->physical->async.cfg);
usr.sbin/ppp/datalink.c
924
cbcp_Init(&dl->cbcp, dl->physical);
usr.sbin/ppp/datalink.c
927
chat_Init(&dl->chat, dl->physical);
usr.sbin/ppp/datalink.c
955
physical_Destroy(dl->physical);
usr.sbin/ppp/datalink.c
966
(dl->physical->type & (PHYS_DIRECT|PHYS_DEDICATED)))
usr.sbin/ppp/datalink.c
977
dl->physical->type == PHYS_DIRECT ? 0 : dl->cfg.reconnect.max;
usr.sbin/ppp/datalink.h
51
struct physical;
usr.sbin/ppp/datalink.h
57
struct physical *physical; /* Our link */
usr.sbin/ppp/ether.c
120
ether_Write(struct physical *p, const void *v, size_t n)
usr.sbin/ppp/ether.c
128
ether_Read(struct physical *p, void *v, size_t n)
usr.sbin/ppp/ether.c
136
ether_RemoveFromSet(struct physical *p, fd_set *r, fd_set *w, fd_set *e)
usr.sbin/ppp/ether.c
158
ether_Free(struct physical *p)
usr.sbin/ppp/ether.c
169
ether_OpenInfo(struct physical *p)
usr.sbin/ppp/ether.c
184
ether_Slot(struct physical *p)
usr.sbin/ppp/ether.c
312
ether_AwaitCarrier(struct physical *p)
usr.sbin/ppp/ether.c
346
ether_iov2device(int type, struct physical *p, struct iovec *iov, int *niov,
usr.sbin/ppp/ether.c
378
struct physical *p = descriptor2physical(d);
usr.sbin/ppp/ether.c
397
struct physical *p = descriptor2physical(d);
usr.sbin/ppp/ether.c
411
struct physical *p = descriptor2physical(d);
usr.sbin/ppp/ether.c
428
ether_Abandon(struct etherdevice *dev, struct physical *p)
usr.sbin/ppp/ether.c
440
ether_Create(struct physical *p)
usr.sbin/ppp/ether.h
29
struct physical;
usr.sbin/ppp/ether.h
34
extern struct device *ether_Create(struct physical *);
usr.sbin/ppp/ether.h
35
extern struct device *ether_iov2device(int, struct physical *, struct iovec *,
usr.sbin/ppp/exec.c
118
exec_RemoveFromSet(struct physical *p, fd_set *r, fd_set *w, fd_set *e)
usr.sbin/ppp/exec.c
144
exec_Write(struct physical *p, const void *v, size_t n)
usr.sbin/ppp/exec.c
174
exec_iov2device(int type, struct physical *p, struct iovec *iov,
usr.sbin/ppp/exec.c
206
struct physical *p = descriptor2physical(d);
usr.sbin/ppp/exec.c
232
struct physical *p = descriptor2physical(d);
usr.sbin/ppp/exec.c
241
exec_Create(struct physical *p)
usr.sbin/ppp/exec.c
86
exec_Free(struct physical *p)
usr.sbin/ppp/exec.h
29
struct physical;
usr.sbin/ppp/exec.h
32
extern struct device *exec_Create(struct physical *);
usr.sbin/ppp/exec.h
33
extern struct device *exec_iov2device(int, struct physical *,
usr.sbin/ppp/fsm.c
879
struct physical *p = link2physical(fp->link);
usr.sbin/ppp/hdlc.c
304
struct physical *p = link2physical(l);
usr.sbin/ppp/hdlc.c
385
struct hdlc *hdlc = &arg->cx->physical->hdlc;
usr.sbin/ppp/hdlc.h
54
struct physical;
usr.sbin/ppp/i4b.h
29
struct physical;
usr.sbin/ppp/i4b.h
34
extern struct device *i4b_Create(struct physical *);
usr.sbin/ppp/i4b.h
35
extern struct device *i4b_iov2device(int, struct physical *,
usr.sbin/ppp/ipcp.c
760
struct physical *p = link2physical(fp->link);
usr.sbin/ppp/ipv6cp.c
619
struct physical *p = link2physical(fp->link);
usr.sbin/ppp/lcp.c
288
struct physical *p = link2physical(lcp->fsm.link);
usr.sbin/ppp/lcp.c
382
struct physical *p = link2physical(fp->link);
usr.sbin/ppp/lcp.c
544
struct physical *p = link2physical(fp->link);
usr.sbin/ppp/lcp.c
575
struct physical *p = link2physical(fp->link);
usr.sbin/ppp/lcp.c
593
struct physical *p = link2physical(fp->link);
usr.sbin/ppp/lcp.c
671
struct physical *p = link2physical(fp->link);
usr.sbin/ppp/link.c
384
struct physical *p = link2physical(l);
usr.sbin/ppp/lqr.c
166
struct physical *p = link2physical(lcp->fsm.link);
usr.sbin/ppp/lqr.c
204
struct physical *p = link2physical(l);
usr.sbin/ppp/lqr.c
270
struct physical *physical = link2physical(lcp->fsm.link);
usr.sbin/ppp/lqr.c
273
physical->hdlc.lqm.lqr.resent = 0;
usr.sbin/ppp/lqr.c
274
physical->hdlc.lqm.echo.seq_sent = 0;
usr.sbin/ppp/lqr.c
275
physical->hdlc.lqm.echo.seq_recv = 0;
usr.sbin/ppp/lqr.c
276
memset(&physical->hdlc.lqm.lqr.peer, '\0',
usr.sbin/ppp/lqr.c
277
sizeof physical->hdlc.lqm.lqr.peer);
usr.sbin/ppp/lqr.c
279
physical->hdlc.lqm.method = lcp->cfg.echo ? LQM_ECHO : 0;
usr.sbin/ppp/lqr.c
281
physical->hdlc.lqm.method |= LQM_LQR;
usr.sbin/ppp/lqr.c
282
timer_Stop(&physical->hdlc.lqm.timer);
usr.sbin/ppp/lqr.c
284
physical->hdlc.lqm.lqr.peer_timeout = lcp->his_lqrperiod;
usr.sbin/ppp/lqr.c
287
physical->link.name, lcp->his_lqrperiod / 100,
usr.sbin/ppp/lqr.c
292
physical->hdlc.lqm.timer.func = SendLqrReport;
usr.sbin/ppp/lqr.c
293
physical->hdlc.lqm.timer.name = "lqm";
usr.sbin/ppp/lqr.c
294
physical->hdlc.lqm.timer.arg = lcp;
usr.sbin/ppp/lqr.c
296
if (lcp->want_lqrperiod || physical->hdlc.lqm.method & LQM_ECHO) {
usr.sbin/ppp/lqr.c
298
physical->link.name, lcp->want_lqrperiod ? "LQR" : "LCP ECHO",
usr.sbin/ppp/lqr.c
300
physical->hdlc.lqm.timer.load = period * SECTICKS / 100;
usr.sbin/ppp/lqr.c
302
physical->hdlc.lqm.timer.load = 0;
usr.sbin/ppp/lqr.c
305
physical->link.name);
usr.sbin/ppp/lqr.c
312
struct physical *p = link2physical(lcp->fsm.link);
usr.sbin/ppp/lqr.c
322
struct physical *p = link2physical(lcp->fsm.link);
usr.sbin/ppp/lqr.c
330
lqr_StopTimer(struct physical *physical)
usr.sbin/ppp/lqr.c
332
timer_Stop(&physical->hdlc.lqm.timer);
usr.sbin/ppp/lqr.c
336
lqr_Stop(struct physical *physical, int method)
usr.sbin/ppp/lqr.c
340
physical->link.name);
usr.sbin/ppp/lqr.c
343
physical->link.name);
usr.sbin/ppp/lqr.c
344
physical->hdlc.lqm.method &= ~method;
usr.sbin/ppp/lqr.c
345
if (physical->hdlc.lqm.method)
usr.sbin/ppp/lqr.c
346
SendLqrReport(physical->hdlc.lqm.owner);
usr.sbin/ppp/lqr.c
348
timer_Stop(&physical->hdlc.lqm.timer);
usr.sbin/ppp/lqr.c
420
struct physical *p = link2physical(l);
usr.sbin/ppp/lqr.h
64
struct physical;
usr.sbin/ppp/lqr.h
77
extern void lqr_Stop(struct physical *, int);
usr.sbin/ppp/lqr.h
78
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
299
struct lcp *lcp = &dl->physical->link.lcp;
usr.sbin/ppp/mp.c
339
dl->physical->link.stats.parent = &mp->link.stats.total;
usr.sbin/ppp/mp.c
415
mp_Assemble(struct mp *mp, struct mbuf *m, struct physical *p)
usr.sbin/ppp/mp.c
614
struct physical *p = link2physical(l);
usr.sbin/ppp/mp.c
707
if (dl->physical->out)
usr.sbin/ppp/mp.c
711
add = link_QueueLen(&dl->physical->link);
usr.sbin/ppp/mp.c
732
if (dl->physical->link.lcp.his_mru < mp->peer_mrru) {
usr.sbin/ppp/mp.c
744
bestlink = sendasip ? &dl->physical->link : &mp->link;
usr.sbin/ppp/mp.c
754
add = link_QueueLen(&dl->physical->link);
usr.sbin/ppp/mp.c
772
if (len <= dl->physical->link.lcp.his_mru) {
usr.sbin/ppp/mp.c
778
mo = m_get(dl->physical->link.lcp.his_mru, MB_MPOUT);
usr.sbin/ppp/mp.c
782
mp_Output(mp, bundle, &dl->physical->link, mo, begin, end);
usr.sbin/ppp/mp.h
30
struct physical;
usr.sbin/ppp/ncp.c
118
ipcp_Init(&ncp->ipcp, bundle, &bundle->links->physical->link,
usr.sbin/ppp/ncp.c
121
ipv6cp_Init(&ncp->ipv6cp, bundle, &bundle->links->physical->link,
usr.sbin/ppp/ncp.c
325
add = link_QueueLen(&dl->physical->link);
usr.sbin/ppp/ncp.c
326
if (add == 0 && dl->physical->out == NULL)
usr.sbin/ppp/ncp.c
327
add = ncp_PushPacket(ncp, &ncp->afq, &dl->physical->link);
usr.sbin/ppp/netgraph.c
167
ng_MessageIn(struct physical *p, char *buf, size_t sz)
usr.sbin/ppp/netgraph.c
221
ng_Write(struct physical *p, const void *v, size_t n)
usr.sbin/ppp/netgraph.c
234
ng_Read(struct physical *p, void *v, size_t n)
usr.sbin/ppp/netgraph.c
248
ng_RemoveFromSet(struct physical *p, fd_set *r, fd_set *w, fd_set *e)
usr.sbin/ppp/netgraph.c
270
ng_Free(struct physical *p)
usr.sbin/ppp/netgraph.c
322
ng_iov2device(int type, struct physical *p, struct iovec *iov, int *niov,
usr.sbin/ppp/netgraph.c
355
struct physical *p = descriptor2physical(d);
usr.sbin/ppp/netgraph.c
381
struct physical *p = descriptor2physical(d);
usr.sbin/ppp/netgraph.c
395
struct physical *p = descriptor2physical(d);
usr.sbin/ppp/netgraph.c
406
ng_Abandon(struct ngdevice *dev, struct physical *p)
usr.sbin/ppp/netgraph.c
453
ng_Create(struct physical *p)
usr.sbin/ppp/netgraph.h
29
struct physical;
usr.sbin/ppp/netgraph.h
34
extern struct device *ng_Create(struct physical *);
usr.sbin/ppp/netgraph.h
35
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
36
struct physical;
usr.sbin/ppp/pap.h
39
extern void pap_Init(struct authinfo *, struct physical *);
usr.sbin/ppp/physical.c
1053
physical_SetupStack(struct physical *p, const char *who, int how)
usr.sbin/ppp/physical.c
1084
physical_StopDeviceTimer(struct physical *p)
usr.sbin/ppp/physical.c
1091
physical_AwaitCarrier(struct physical *p)
usr.sbin/ppp/physical.c
1101
physical_SetAsyncParams(struct physical *p, u_int32_t mymap, u_int32_t hismap)
usr.sbin/ppp/physical.c
1110
physical_Slot(struct physical *p)
usr.sbin/ppp/physical.c
1119
physical_SetPPPoEnonstandard(struct physical *p, int enable)
usr.sbin/ppp/physical.c
115
struct device *(*create)(struct physical *);
usr.sbin/ppp/physical.c
116
struct device *(*iov2device)(int, struct physical *, struct iovec *,
usr.sbin/ppp/physical.c
146
physical_SetDescriptor(struct physical *p)
usr.sbin/ppp/physical.c
155
struct physical *
usr.sbin/ppp/physical.c
158
struct physical *p;
usr.sbin/ppp/physical.c
160
p = (struct physical *)malloc(sizeof(struct physical));
usr.sbin/ppp/physical.c
237
physical_SetParity(struct physical *p, const char *str)
usr.sbin/ppp/physical.c
258
physical_GetSpeed(struct physical *p)
usr.sbin/ppp/physical.c
267
physical_SetSpeed(struct physical *p, unsigned speed)
usr.sbin/ppp/physical.c
278
physical_Raw(struct physical *p)
usr.sbin/ppp/physical.c
287
physical_Offline(struct physical *p)
usr.sbin/ppp/physical.c
295
physical_Lock(struct physical *p)
usr.sbin/ppp/physical.c
313
physical_Unlock(struct physical *p)
usr.sbin/ppp/physical.c
322
physical_Close(struct physical *p)
usr.sbin/ppp/physical.c
378
physical_Destroy(struct physical *p)
usr.sbin/ppp/physical.c
389
struct physical *p = descriptor2physical(d);
usr.sbin/ppp/physical.c
423
struct physical *p = arg->cx->physical;
usr.sbin/ppp/physical.c
475
if (physical_IsSync(arg->cx->physical))
usr.sbin/ppp/physical.c
521
struct physical *p = descriptor2physical(d);
usr.sbin/ppp/physical.c
570
struct physical *
usr.sbin/ppp/physical.c
574
struct physical *p;
usr.sbin/ppp/physical.c
578
p = (struct physical *)iov[(*niov)++].iov_base;
usr.sbin/ppp/physical.c
663
physical2iov(struct physical *p, struct iovec *iov, int *niov, int maxiov,
usr.sbin/ppp/physical.c
735
physical_LockedDevice(struct physical *p)
usr.sbin/ppp/physical.c
744
physical_ChangedPid(struct physical *p, pid_t newpid)
usr.sbin/ppp/physical.c
755
physical_IsSync(struct physical *p)
usr.sbin/ppp/physical.c
761
physical_DeviceMTU(struct physical *p)
usr.sbin/ppp/physical.c
766
const char *physical_GetDevice(struct physical *p)
usr.sbin/ppp/physical.c
772
physical_SetDeviceList(struct physical *p, int argc, const char *const *argv)
usr.sbin/ppp/physical.c
788
physical_SetSync(struct physical *p)
usr.sbin/ppp/physical.c
794
physical_SetRtsCts(struct physical *p, int enable)
usr.sbin/ppp/physical.c
801
physical_Read(struct physical *p, void *buf, size_t nbytes)
usr.sbin/ppp/physical.c
816
physical_Write(struct physical *p, const void *buf, size_t nbytes)
usr.sbin/ppp/physical.c
830
struct physical *p = descriptor2physical(d);
usr.sbin/ppp/physical.c
858
physical_RemoveFromSet(struct physical *p, fd_set *r, fd_set *w, fd_set *e)
usr.sbin/ppp/physical.c
891
struct physical *p = descriptor2physical(d);
usr.sbin/ppp/physical.c
896
physical_Login(struct physical *p, const char *name)
usr.sbin/ppp/physical.c
925
physical_SetMode(struct physical *p, int mode)
usr.sbin/ppp/physical.c
940
physical_DeleteQueue(struct physical *p)
usr.sbin/ppp/physical.c
950
physical_SetDevice(struct physical *p, const char *name)
usr.sbin/ppp/physical.c
964
physical_Found(struct physical *p)
usr.sbin/ppp/physical.c
989
physical_Open(struct physical *p)
usr.sbin/ppp/physical.h
117
((struct physical *)((char *)fp - (uintptr_t)(&((struct physical *)0)->name)))
usr.sbin/ppp/physical.h
130
extern struct physical *physical_Create(struct datalink *, int);
usr.sbin/ppp/physical.h
131
extern int physical_Open(struct physical *);
usr.sbin/ppp/physical.h
132
extern int physical_Raw(struct physical *);
usr.sbin/ppp/physical.h
133
extern unsigned physical_GetSpeed(struct physical *);
usr.sbin/ppp/physical.h
134
extern int physical_SetSpeed(struct physical *, unsigned);
usr.sbin/ppp/physical.h
135
extern int physical_SetParity(struct physical *, const char *);
usr.sbin/ppp/physical.h
136
extern int physical_SetRtsCts(struct physical *, int);
usr.sbin/ppp/physical.h
137
extern void physical_SetSync(struct physical *);
usr.sbin/ppp/physical.h
139
extern void physical_Offline(struct physical *);
usr.sbin/ppp/physical.h
140
extern void physical_Close(struct physical *);
usr.sbin/ppp/physical.h
141
extern void physical_Destroy(struct physical *);
usr.sbin/ppp/physical.h
142
extern struct physical *iov2physical(struct datalink *, struct iovec *, int *,
usr.sbin/ppp/physical.h
144
extern int physical2iov(struct physical *, struct iovec *, int *, int, int *,
usr.sbin/ppp/physical.h
146
extern const char *physical_LockedDevice(struct physical *);
usr.sbin/ppp/physical.h
147
extern void physical_ChangedPid(struct physical *, pid_t);
usr.sbin/ppp/physical.h
149
extern int physical_IsSync(struct physical *);
usr.sbin/ppp/physical.h
150
extern u_short physical_DeviceMTU(struct physical *);
usr.sbin/ppp/physical.h
151
extern const char *physical_GetDevice(struct physical *);
usr.sbin/ppp/physical.h
152
extern void physical_SetDeviceList(struct physical *, int, const char *const *);
usr.sbin/ppp/physical.h
153
extern void physical_SetDevice(struct physical *, const char *);
usr.sbin/ppp/physical.h
155
extern ssize_t physical_Read(struct physical *, void *, size_t);
usr.sbin/ppp/physical.h
156
extern ssize_t physical_Write(struct physical *, const void *, size_t);
usr.sbin/ppp/physical.h
162
extern void physical_Login(struct physical *, const char *);
usr.sbin/ppp/physical.h
163
extern int physical_RemoveFromSet(struct physical *, fd_set *, fd_set *,
usr.sbin/ppp/physical.h
165
extern int physical_SetMode(struct physical *, int);
usr.sbin/ppp/physical.h
166
extern void physical_DeleteQueue(struct physical *);
usr.sbin/ppp/physical.h
167
extern void physical_SetupStack(struct physical *, const char *, int);
usr.sbin/ppp/physical.h
168
extern void physical_StopDeviceTimer(struct physical *);
usr.sbin/ppp/physical.h
170
extern int physical_AwaitCarrier(struct physical *);
usr.sbin/ppp/physical.h
171
extern void physical_SetDescriptor(struct physical *);
usr.sbin/ppp/physical.h
172
extern void physical_SetAsyncParams(struct physical *, u_int32_t, u_int32_t);
usr.sbin/ppp/physical.h
173
extern int physical_Slot(struct physical *);
usr.sbin/ppp/physical.h
174
extern int physical_SetPPPoEnonstandard(struct physical *, int);
usr.sbin/ppp/physical.h
24
struct physical;
usr.sbin/ppp/physical.h
61
int (*awaitcarrier)(struct physical *);
usr.sbin/ppp/physical.h
62
int (*removefromset)(struct physical *, fd_set *, fd_set *, fd_set *);
usr.sbin/ppp/physical.h
63
int (*raw)(struct physical *);
usr.sbin/ppp/physical.h
64
void (*offline)(struct physical *);
usr.sbin/ppp/physical.h
65
void (*cooked)(struct physical *);
usr.sbin/ppp/physical.h
66
void (*setasyncparams)(struct physical *, u_int32_t, u_int32_t);
usr.sbin/ppp/physical.h
67
void (*stoptimer)(struct physical *);
usr.sbin/ppp/physical.h
68
void (*destroy)(struct physical *);
usr.sbin/ppp/physical.h
69
ssize_t (*read)(struct physical *, void *, size_t);
usr.sbin/ppp/physical.h
70
ssize_t (*write)(struct physical *, const void *, size_t);
usr.sbin/ppp/physical.h
72
unsigned (*speed)(struct physical *);
usr.sbin/ppp/physical.h
73
const char *(*openinfo)(struct physical *);
usr.sbin/ppp/physical.h
74
int (*slot)(struct physical *);
usr.sbin/ppp/prompt.c
252
if (physical_Write(p->TermMode->physical, &ch, n) < 0) {
usr.sbin/ppp/prompt.c
292
if (physical_Write(p->TermMode->physical, &ch, n) < 0) {
usr.sbin/ppp/radius.c
1016
authp->physical->link.lcp.want_authtype);
usr.sbin/ppp/radius.c
1025
if (Enabled(authp->physical->dl->bundle, OPT_NAS_IP_ADDRESS) &&
usr.sbin/ppp/radius.c
1035
if (Enabled(authp->physical->dl->bundle, OPT_NAS_IDENTIFIER) &&
usr.sbin/ppp/radius.c
1051
radius_put_physical_details(r, authp->physical);
usr.sbin/ppp/radius.c
1229
radius_put_physical_details(r, dl->physical);
usr.sbin/ppp/radius.c
401
bundle = r->cx.auth->physical->dl->bundle;
usr.sbin/ppp/radius.c
486
bundle = r->cx.auth->physical->dl->bundle;
usr.sbin/ppp/radius.c
829
radius_put_physical_details(struct radius *rad, struct physical *p)
usr.sbin/ppp/radius.c
947
switch (authp->physical->link.lcp.want_auth) {
usr.sbin/ppp/radius.c
960
switch (authp->physical->link.lcp.want_authtype) {
usr.sbin/ppp/sync.c
65
struct physical *p = link2physical(l);
usr.sbin/ppp/tcp.c
121
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
29
struct physical;
usr.sbin/ppp/tcp.h
31
extern struct device *tcp_Create(struct physical *);
usr.sbin/ppp/tcp.h
32
extern struct device *tcp_iov2device(int, struct physical *,
usr.sbin/ppp/tty.c
119
struct physical *p = data;
usr.sbin/ppp/tty.c
181
tty_StartTimer(struct physical *p)
usr.sbin/ppp/tty.c
196
tty_AwaitCarrier(struct physical *p)
usr.sbin/ppp/tty.c
227
tty_SetAsyncParams(struct physical *p, u_int32_t mymap, u_int32_t hismap)
usr.sbin/ppp/tty.c
253
LoadLineDiscipline(struct physical *p)
usr.sbin/ppp/tty.c
382
UnloadLineDiscipline(struct physical *p)
usr.sbin/ppp/tty.c
407
tty_Write(struct physical *p, const void *v, size_t n)
usr.sbin/ppp/tty.c
418
tty_Read(struct physical *p, void *v, size_t n)
usr.sbin/ppp/tty.c
432
tty_Raw(struct physical *p)
usr.sbin/ppp/tty.c
474
tty_Offline(struct physical *p)
usr.sbin/ppp/tty.c
493
tty_Cooked(struct physical *p)
usr.sbin/ppp/tty.c
515
tty_StopTimer(struct physical *p)
usr.sbin/ppp/tty.c
523
tty_Free(struct physical *p)
usr.sbin/ppp/tty.c
532
tty_Speed(struct physical *p)
usr.sbin/ppp/tty.c
543
tty_OpenInfo(struct physical *p)
usr.sbin/ppp/tty.c
558
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
675
tty_Create(struct physical *p)
usr.sbin/ppp/tty.h
29
struct physical;
usr.sbin/ppp/tty.h
34
extern struct device *tty_Create(struct physical *);
usr.sbin/ppp/tty.h
35
extern struct device *tty_iov2device(int, struct physical *,
usr.sbin/ppp/udp.c
111
udp_Recvfrom(struct physical *p, void *v, size_t n)
usr.sbin/ppp/udp.c
132
udp_Free(struct physical *p)
usr.sbin/ppp/udp.c
176
udp_iov2device(int type, struct physical *p, struct iovec *iov, int *niov,
usr.sbin/ppp/udp.c
200
udp_CreateDevice(struct physical *p, char *host, char *port)
usr.sbin/ppp/udp.c
253
udp_Create(struct physical *p)
usr.sbin/ppp/udp.c
83
udp_Sendto(struct physical *p, const void *v, size_t n)
usr.sbin/ppp/udp.h
29
struct physical;
usr.sbin/ppp/udp.h
32
extern struct device *udp_Create(struct physical *);
usr.sbin/ppp/udp.h
33
extern struct device *udp_iov2device(int, struct physical *,