Home | History | Annotate | Download | only in openssh

Lines Matching refs:ent

257 monitor_permit(struct mon_table *ent, enum monitor_reqtype type, int permit)
259 while (ent->f != NULL) {
260 if (ent->type == type) {
261 ent->flags &= ~MON_PERMIT;
262 ent->flags |= permit ? MON_PERMIT : 0;
265 ent++;
272 struct mon_table *ent = mon_dispatch;
274 while (ent->f != NULL) {
275 if (ent->flags & MON_AUTH) {
276 ent->flags &= ~MON_PERMIT;
277 ent->flags |= permit ? MON_PERMIT : 0;
279 ent++;
287 struct mon_table *ent;
311 authenticated = (monitor_read(pmonitor, mon_dispatch, &ent) == 1);
326 if (!(ent->flags & MON_AUTHDECIDE))
328 __func__, ent->type);
345 if (ent->flags & (MON_AUTHDECIDE|MON_ALOG)) {
463 monitor_read(struct monitor *pmonitor, struct mon_table *ent,
501 while (ent->f != NULL) {
502 if (ent->type == type)
504 ent++;
507 if (ent->f != NULL) {
508 if (!(ent->flags & MON_PERMIT))
511 ret = (*ent->f)(pmonitor->m_sendfd, &m);
515 if (ent->flags & MON_ONCE) {
518 ent->flags &= ~MON_PERMIT;
522 *pent = ent;