Lines Matching full:gd

499 	struct gdata		gd;  in db_addrstate()  local
510 if (gdcopyin(&dbd, &gd) != -1) in db_addrstate()
511 return (gd.pcount == -1 ? 1 : 2); in db_addrstate()
526 struct gdata gd; in greyscan() local
543 if ((dbk.size < 1) || gdcopyin(&dbd, &gd) == -1) { in greyscan()
558 if (gd.expire <= now && gd.pcount != -2) { in greyscan()
562 } else if (gd.pcount == -1) { in greyscan()
567 } else if (gd.pcount >= 0 && gd.pass <= now) { in greyscan()
595 gd.expire = now + whiteexp; in greyscan()
596 dbd.size = sizeof(gd); in greyscan()
597 dbd.data = &gd; in greyscan()
598 if (queue_change(a, (void *) &gd, sizeof(gd), in greyscan()
671 struct gdata gd; in twupdate() local
703 memset(&gd, 0, sizeof(gd)); in twupdate()
704 gd.first = now; in twupdate()
705 gd.pcount = spamtrap ? -1 : 0; in twupdate()
706 gd.expire = expire; in twupdate()
711 dbd.size = sizeof(gd); in twupdate()
712 dbd.data = &gd; in twupdate()
725 if (gdcopyin(&dbd, &gd) == -1) { in twupdate()
732 gd.pcount = -1; in twupdate()
733 gd.bcount++; in twupdate()
735 gd.pcount++; in twupdate()
740 dbd.size = sizeof(gd); in twupdate()
741 dbd.data = &gd; in twupdate()
766 struct gdata gd; in greyupdate() local
823 memset(&gd, 0, sizeof(gd)); in greyupdate()
824 gd.first = now; in greyupdate()
825 gd.bcount = 1; in greyupdate()
826 gd.pcount = spamtrap ? -1 : 0; in greyupdate()
827 gd.pass = now + expire; in greyupdate()
828 gd.expire = now + expire; in greyupdate()
833 dbd.size = sizeof(gd); in greyupdate()
834 dbd.data = &gd; in greyupdate()
847 if (gdcopyin(&dbd, &gd) == -1) { in greyupdate()
853 gd.bcount++; in greyupdate()
854 gd.pcount = spamtrap ? -1 : 0; in greyupdate()
855 if (gd.first + passtime < now) in greyupdate()
856 gd.pass = now; in greyupdate()
861 dbd.size = sizeof(gd); in greyupdate()
862 dbd.data = &gd; in greyupdate()