Lines Matching defs:mon
2409 mru *mon;
2415 for (mon = hash_table[hash]; mon != NULL; mon = mon->hlink)
2416 if (SOCK_EQ(&mon->addr, &add->addr))
2418 if (mon != NULL) {
2419 if (!L_ISGEQ(&add->first, &mon->first)) {
2423 add->last.l_uf, mon->last.l_ui,
2424 mon->last.l_uf);
2427 UNLINK_DLIST(mon, mlink);
2428 UNLINK_SLIST(unlinked, hash_table[hash], mon, hlink, mru);
2429 INSIST(unlinked == mon);
2431 TRACE(2, ("(updated from %08x.%08x) ", mon->last.l_ui,
2432 mon->last.l_uf));
2441 if (NULL == mon) {
2442 mon = emalloc(sizeof(*mon));
2445 ZERO(*mon);
2447 return mon;
2457 mon = add_mru(mon); \
2483 mru *mon;
2534 cb = sizeof(*mon);
2535 mon = emalloc_zero(cb);
2697 else if (decodenetnum(val, &mon->addr))
2744 !hextolfp(val + 2, &mon->last)) {
2754 *pnow = mon->last;
2762 !hextolfp(val + 2, &mon->first))
2783 1 != sscanf(val, "%d", &mon->count)
2784 || mon->count < 1)
2794 mon->mode = PKT_MODE(mv);
2795 mon->ver = PKT_VERSION(mv);
2802 1 != sscanf(val, "0x%hx", &mon->rs))
2917 if (mon != NULL)
2918 free(mon);