Lines Matching refs:mon
2496 mru *mon;
2502 for (mon = hash_table[hash]; mon != NULL; mon = mon->hlink)
2503 if (SOCK_EQ(&mon->addr, &add->addr))
2505 if (mon != NULL) {
2506 if (!L_ISGEQ(&add->first, &mon->first)) {
2510 add->last.l_uf, mon->last.l_ui,
2511 mon->last.l_uf);
2514 UNLINK_DLIST(mon, mlink);
2515 UNLINK_SLIST(unlinked, hash_table[hash], mon, hlink, mru);
2516 INSIST(unlinked == mon);
2518 TRACE(2, ("(updated from %08x.%08x) ", mon->last.l_ui,
2519 mon->last.l_uf));
2528 if (NULL == mon) {
2529 mon = emalloc(sizeof(*mon));
2532 ZERO(*mon);
2534 return mon;
2544 mon = add_mru(mon); \
2570 mru *mon;
2621 cb = sizeof(*mon);
2622 mon = emalloc_zero(cb);
2785 else if (decodenetnum(val, &mon->addr))
2832 !hextolfp(val + 2, &mon->last)) {
2842 *pnow = mon->last;
2850 !hextolfp(val + 2, &mon->first))
2871 1 != sscanf(val, "%d", &mon->count)
2872 || mon->count < 1)
2882 mon->mode = PKT_MODE(mv);
2883 mon->ver = PKT_VERSION(mv);
2890 1 != sscanf(val, "0x%hx", &mon->rs))
3005 if (mon != NULL)
3006 free(mon);