Home | History | Annotate | Download | only in openssh

Lines Matching refs:ent

325 monitor_permit(struct mon_table *ent, enum monitor_reqtype type, int permit)
327 while (ent->f != NULL) {
328 if (ent->type == type) {
329 ent->flags &= ~MON_PERMIT;
330 ent->flags |= permit ? MON_PERMIT : 0;
333 ent++;
340 struct mon_table *ent = mon_dispatch;
342 while (ent->f != NULL) {
343 if (ent->flags & MON_AUTH) {
344 ent->flags &= ~MON_PERMIT;
345 ent->flags |= permit ? MON_PERMIT : 0;
347 ent++;
354 struct mon_table *ent;
383 authenticated = (monitor_read(pmonitor, mon_dispatch, &ent) == 1);
385 if (!(ent->flags & MON_AUTHDECIDE))
387 __func__, ent->type);
405 if (ent->flags & (MON_AUTHDECIDE|MON_ALOG)) {
413 if (ent->flags & MON_AUTHDECIDE) {
543 monitor_read(struct monitor *pmonitor, struct mon_table *ent,
581 while (ent->f != NULL) {
582 if (ent->type == type)
584 ent++;
587 if (ent->f != NULL) {
588 if (!(ent->flags & MON_PERMIT))
591 ret = (*ent->f)(pmonitor->m_sendfd, &m);
595 if (ent->flags & MON_ONCE) {
598 ent->flags &= ~MON_PERMIT;
602 *pent = ent;