Lines Matching defs:physical
19 * $FreeBSD: src/usr.sbin/ppp/physical.h,v 1.28.24.1 2010/12/21 17:10:29 kensmith Exp $
26 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);
72 ssize_t (*write)(struct physical *, const void *, size_t);
74 unsigned (*speed)(struct physical *);
75 const char *(*openinfo)(struct physical *);
76 int (*slot)(struct physical *);
79 struct physical {
119 ((struct physical *)((char *)fp - (int)(&((struct physical *)0)->name)))
132 extern struct physical *physical_Create(struct datalink *, int);
133 extern int physical_Open(struct physical *);
134 extern int physical_Raw(struct physical *);
135 extern unsigned physical_GetSpeed(struct physical *);
136 extern int physical_SetSpeed(struct physical *, unsigned);
137 extern int physical_SetParity(struct physical *, const char *);
138 extern int physical_SetRtsCts(struct physical *, int);
139 extern void physical_SetSync(struct physical *);
141 extern void physical_Offline(struct physical *);
142 extern void physical_Close(struct physical *);
143 extern void physical_Destroy(struct physical *);
144 extern struct physical *iov2physical(struct datalink *, struct iovec *, int *,
146 extern int physical2iov(struct physical *, struct iovec *, int *, int, int *,
148 extern const char *physical_LockedDevice(struct physical *);
149 extern void physical_ChangedPid(struct physical *, pid_t);
151 extern int physical_IsSync(struct physical *);
152 extern u_short physical_DeviceMTU(struct physical *);
153 extern const char *physical_GetDevice(struct physical *);
154 extern void physical_SetDeviceList(struct physical *, int, const char *const *);
155 extern void physical_SetDevice(struct physical *, const char *);
157 extern ssize_t physical_Read(struct physical *, void *, size_t);
158 extern ssize_t physical_Write(struct physical *, const void *, size_t);
164 extern void physical_Login(struct physical *, const char *);
165 extern int physical_RemoveFromSet(struct physical *, fd_set *, fd_set *,
167 extern int physical_SetMode(struct physical *, int);
168 extern void physical_DeleteQueue(struct physical *);
169 extern void physical_SetupStack(struct physical *, const char *, int);
170 extern void physical_StopDeviceTimer(struct physical *);
172 extern int physical_AwaitCarrier(struct physical *);
173 extern void physical_SetDescriptor(struct physical *);
174 extern void physical_SetAsyncParams(struct physical *, u_int32_t, u_int32_t);
175 extern int physical_Slot(struct physical *);
176 extern int physical_SetPPPoEnonstandard(struct physical *, int);