aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/dns/dns.c
AgeCommit message (Expand)AuthorFilesLines
2021-08-13ip: source address selectionOle Troan1-151/+14
2021-07-13misc: fix init order to avoid startup warningsBin Zhou (bzhou2)1-2/+4
2021-03-15dns: fix crash when printing unlikely msgDave Barach1-3/+4
2021-03-15ikev2: support responder hostnameFilip Tehlar1-30/+48
2020-12-14misc: move to new pool_foreach macrosDamjan Marion1-6/+6
2020-11-25dns: use correct per-thread vlib_mainBenoît Ganne1-31/+33
2020-11-25dns: fix double-unlockBenoît Ganne1-12/+0
2020-11-25api: vat2 and json autogeneration for api messagesOle Troan1-53/+0
2020-10-21misc: minimize dependencies on udp.hFlorin Coras1-1/+1
2020-02-14vrrp dns: fix coverity warningsDave Barach1-1/+1
2019-12-10api: multiple connections per processDave Barach1-1/+1
2019-09-30dns: fix non-NULL terminated C-stringBenoît Ganne1-0/+2
2019-09-27dns: remove api boilerplateOle Troan1-84/+5
2019-08-22dns: fix trivial multi-thread deadlockDave Barach1-9/+8
2019-08-22dns: make the dns name resolver a pluginDave Barach1-0/+3162
om_buffer_t * b, uword n_words) { uword *w, n = n_words; if (n < 256) n = 256; n = round_pow2 (n, 2 << ISAAC_LOG2_SIZE); vec_add2 (b->buffer, w, n); do { isaac2 (b->ctx, w); w += 2 * ISAAC_SIZE; n -= 2 * ISAAC_SIZE; } while (n > 0); } void clib_random_buffer_init (clib_random_buffer_t * b, uword seed) { uword i, j; memset (b, 0, sizeof (b[0])); /* Seed ISAAC. */ for (i = 0; i < ARRAY_LEN (b->ctx); i++) { uword s[ISAAC_SIZE]; for (j = 0; j < ARRAY_LEN (s); j++) s[j] = ARRAY_LEN (b->ctx) * (seed + j) + i; isaac_init (&b->ctx[i], s); } } /* * fd.io coding-style-patch-verification: ON * * Local Variables: * eval: (c-set-style "gnu") * End: */