search for: send_query

Displaying 6 results from an estimated 6 matches for "send_query".

2011 Sep 04
1
mrtg 2.16.2 ipv6 on centos 6
...to the network. LogDir: /tmp ThreshDir: /tmp HtmlDir: /tmp ImageDir: /tmp LogDir: /tmp EnableIPv6: yes Target[bai-gw-i-oct]: ifInOctets.1&ifOutOctets.1:abc123@[2001:b50:940f::f001] Title[bai-gw-i-oct]: Test MaxBytes[bai-gw-i-oct]: 100000000 # env LANG=C /usr/bin/mrtg /tmp/test.cfg SNMP Error: send_query: Address family not supported by protocol SNMPv1_Session (remote host: "2001:b50:940f::f001" [2001:b50:940f::f001].161) community: "abc123" request ID: 1156567655 PDU bufsize: 8000 bytes timeout: 2s...
2020 Sep 28
0
[libnbd PATCH 2/3] generator: Rename OPT_SET_META_CONTEXT states
...n 0; - NEWSTYLE.OPT_SET_META_CONTEXT.PREPARE_NEXT_QUERY: + NEWSTYLE.OPT_META_CONTEXT.PREPARE_NEXT_QUERY: const char *query = h->request_meta_contexts[h->querynum]; if (query == NULL) { /* end of list of requested meta contexts */ @@ -112,7 +112,7 @@ STATE_MACHINE { SET_NEXT_STATE (%SEND_QUERYLEN); return 0; - NEWSTYLE.OPT_SET_META_CONTEXT.SEND_QUERYLEN: + NEWSTYLE.OPT_META_CONTEXT.SEND_QUERYLEN: const char *query = h->request_meta_contexts[h->querynum]; switch (send_from_wbuf (h)) { @@ -124,7 +124,7 @@ STATE_MACHINE { } return 0; - NEWSTYLE.OPT_SET_META_CONTEXT.S...
2020 Sep 28
8
[libnbd PATCH 0/3] opt_list_meta_context
I'm posting this now, as I'm at the end of a workday and I got things working for manual experimentation. Still to do: - write interop tests for qemu-nbd and nbdkit (including my proposed patch addition of qemu-nbd -A to show qemu:allocation-depth) - figure out if we can make 'nbdinfo --map' use the new API to automatically select all contexts advertised by the server Eric Blake
2019 Jun 29
0
[libnbd PATCH 2/6] generator: Allow DEAD state actions to run
...= h->request_meta_contexts[h->querynum]; switch (send_from_wbuf (h)) { - case -1: SET_NEXT_STATE (%.DEAD); return -1; + case -1: SET_NEXT_STATE (%.DEAD); return 0; case 0: h->wbuf = query; h->wlen = strlen (query); @@ -125,7 +125,7 @@ NEWSTYLE.OPT_SET_META_CONTEXT.SEND_QUERY: switch (send_from_wbuf (h)) { - case -1: SET_NEXT_STATE (%.DEAD); return -1; + case -1: SET_NEXT_STATE (%.DEAD); return 0; case 0: h->querynum++; SET_NEXT_STATE (%PREPARE_NEXT_QUERY); @@ -140,11 +140,11 @@ NEWSTYLE.OPT_SET_META_CONTEXT.RECV_REPLY: switch (recv_into_rbuf...
2019 May 23
2
[PATCH libnbd] api: Get rid of nbd_connection.
This isn't quite finished because not all of the tests or examples have been updated, but it demonstrates an idea: Should we forget about the concept of having multiple connections managed under a single handle? In this patch there is a single ‘struct nbd_handle *’ which manages a single state machine and connection (and therefore no nbd_connection). To connect to a multi-conn server you must
2019 Jun 29
19
[libnbd PATCH 0/6] new APIs: aio_in_flight, aio_FOO_notify
I still need to wire in the use of *_notify functions into nbdkit to prove whether it makes the code any faster or easier to maintain, but at least the added example shows one good use case for the new API. Eric Blake (6): api: Add nbd_aio_in_flight generator: Allow DEAD state actions to run generator: Allow Int64 in callbacks states: Prepare for aio notify callback api: Add new