search for: optnam

Displaying 20 results from an estimated 115 matches for "optnam".

Did you mean: optname
2018 Nov 29
2
[nbdkit PATCH] connections: Implement NBD_OPT_INFO
.../src/connections.c index 1b40e46..410a893 100644 --- a/src/connections.c +++ b/src/connections.c @@ -636,6 +636,7 @@ _negotiate_handshake_newstyle_options (struct connection *conn) uint32_t optlen; char data[MAX_OPTION_LENGTH+1]; struct new_handshake_finish handshake_finish; + const char *optname; for (nr_options = 0; nr_options < MAX_NR_OPTIONS; ++nr_options) { if (conn->recv (conn, &new_option, sizeof new_option) == -1) { @@ -774,14 +775,16 @@ _negotiate_handshake_newstyle_options (struct connection *conn) } break; + case NBD_OPT_INFO: case NBD_O...
2018 Dec 21
1
[nbdkit PATCH] connections: Don't use uninit memory on early client EOF
...+ return -1; + } + return r; +} + /* Sub-function of _negotiate_handshake_newstyle_options below. It * must be called on all non-error paths out of the options for-loop * in that function. @@ -639,10 +664,9 @@ _negotiate_handshake_newstyle_options (struct connection *conn) const char *optname; for (nr_options = 0; nr_options < MAX_NR_OPTIONS; ++nr_options) { - if (conn->recv (conn, &new_option, sizeof new_option) == -1) { - nbdkit_error ("read: %m"); + if (conn_recv_full (conn, &new_option, sizeof new_option, + "read: %...
2012 Mar 27
16
[PATCH 01/16] generator: Fix unescaped '<' and '>' in api descriptions
--- generator/generator_actions.ml | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/generator/generator_actions.ml b/generator/generator_actions.ml index 68a7bf6..fcf363f 100644 --- a/generator/generator_actions.ml +++ b/generator/generator_actions.ml @@ -4664,7 +4664,7 @@ This creates an ext2/3/4 filesystem on C<device> with an external journal on
2019 Mar 08
1
[PATCH nbdkit] server: Implement minimal implementation of set/list metadata contexts.
...conn->structured_replies = true; break; + case NBD_OPT_LIST_META_CONTEXT: + case NBD_OPT_SET_META_CONTEXT: + { + uint32_t opt_index; + uint32_t exportnamelen; + uint32_t nr_queries; + uint32_t querylen; + const char *what; + + optname = name_of_nbd_opt (option); + if (conn_recv_full (conn, data, optlen, "read: %s: %m", optname) == -1) + return -1; + + if (!conn->structured_replies) { + if (send_newstyle_option_reply (conn, option, NBD_REP_ERR_INVALID) + == -1) +...
2016 Aug 25
1
[PATCH] inspection: Fix parsing of btrfs subvolumes in /etc/fstab.
...ot;)) { - char **opt; + size_t i; snprintf (augpath, sizeof augpath, "%s/opt", *entry); CLEANUP_FREE_STRING_LIST char **opts = guestfs_aug_match (g, augpath); if (opts == NULL) return -1; - for (opt = opts; *opt; opt++) { - CLEANUP_FREE char *optname = guestfs_aug_get (g, augpath); + for (i = 0; opts[i] != NULL; ++i) { + CLEANUP_FREE char *optname = NULL, *optvalue = NULL, *subvol = NULL; + char *old_mountable; + + optname = guestfs_aug_get (g, opts[i]); if (optname == NULL) return -1; if (STREQ (o...
2004 Mar 03
2
ie6 and outlook
...else works like a charm. 2. With Outlook 2000 I can not connect to an Exchange server. I get immediately the message that the servers name can't be resolved. For sure it is resolvable, both by nameserver and /etc/hosts. On the console it says: fixme:winsock:convert_sockopt Unknown IPPROTO_TCP optname 0x8 err:winsock:WS_setsockopt Invalid level (6) or optname (8) This only happens if this server is available. If I give a resolvable but non reachable server name in the connection dialog of outlook, I also get the console output but Outlook seems to try for a long time to get a connection and th...
2006 Jun 18
1
winsock error.
Running Orbitron, it was O.K. for a while, now in a terminal, I get: fixme:winsock:convert_sockopt Unknown SOL_SOCKET optname 0xff7f err:winsock:WS_setsockopt Invalid level (1) or optname (65407) AFAIK, the only difference in my setup between last time and now is to install ddclient. Any suggestions please? Doug. -- I'm only a beer teetotaller, not a champagne teetotaller. - G.B. Shaw.
2012 Jan 17
3
GObject bindings
This is the first iteration of the GObject bindings. I have 'kicked the tyres' on these, meaning I have ensured that a bunch of basic manual tests work as expected. I'm in the process of adding more comprehensive tests. Here's an example simple javascript program which uses these bindings: === const Guestfs = imports.gi.Guestfs; print('Starting'); var g = new
2010 Nov 26
1
problem installing utorrent on 64bit linux
...t_Enabled 0x18ae08, 0x7efa8c fixme:hnetcfg:fw_app_put_ProcessImageFileName 0x18ae08, L"Z:\\home\\steini\\downloads\\utorrent.exe" fixme:hnetcfg:fw_app_put_Name 0x18ae08, L"\00b5Torrent" fixme:hnetcfg:fw_apps_Add 0x18b328, 0x18ae08 fixme:winsock:WS_setsockopt Unknown IPPROTO_IPV6 optname 0x00000017 fixme:winsock:WS_setsockopt Unknown IPPROTO_IPV6 optname 0x00000017 err:winediag:WSASocketW Failed to create a socket of type SOCK_RAW, this requires special permissions. err:winediag:WSASocketW Failed to create a socket of type SOCK_RAW, this requires special permissions. err:ole:CoGet...
2019 Mar 18
0
[PATCH nbdkit 2/2] server: Split out NBD protocol code from connections code.
...-} - -static int -_negotiate_handshake_newstyle_options (struct connection *conn) -{ - struct new_option new_option; - size_t nr_options; - uint64_t version; - uint32_t option; - uint32_t optlen; - char data[MAX_OPTION_LENGTH+1]; - struct new_handshake_finish handshake_finish; - const char *optname; - - for (nr_options = 0; nr_options < MAX_NR_OPTIONS; ++nr_options) { - if (conn_recv_full (conn, &new_option, sizeof new_option, - "reading option: conn->recv: %m") == -1) - return -1; - - version = be64toh (new_option.version); - if (ver...
2010 Feb 11
1
Runtime Error 429: Activex component can not create the obje
...e:win:RegisterDeviceNotificationA (hwnd=0x1432d0, filter=0x84e9d4,flags=0x00000001), returns a fake device notification handle! fixme:heap:HeapSetInformation (nil) 1 (nil) 0 fixme:advapi:RegisterEventSourceW ((null),L"Bonjour Service"): stub fixme:winsock:WS_setsockopt Unknown IPPROTO_IP optname 0x00000013 fixme:winsock:WSAIoctl SIO_GET_EXTENSION_FUNCTION_POINTER {f689d7c8-6f1f-436b-8a53-e54fe351c322}: stub fixme:winsock:WSAIoctl SIO_GET_EXTENSION_FUNCTION_POINTER {f689d7c8-6f1f-436b-8a53-e54fe351c322}: stub fixme:winsock:WSAIoctl -> SIO_ADDRESS_LIST_CHANGE request: stub fixme:iphlpapi...
2019 Mar 18
3
[PATCH nbdkit 0/2] server: Split out NBD protocol code from connections code.
These are a couple of patches in preparation for the Block Status implementation. While the patches (especially the second one) are very large they are really just elementary code motion. Rich.
2018 Dec 06
10
[PATCH nbdkit 0/5] protocol: Generate map functions from NBD protocol flags to printable strings.
With some crufty sed scripts we can generate functions that map from NBD protocol flags (eg. NBD_CMD_READ) to strings ("NBD_CMD_READ"). This works on GNU sed and with FreeBSD, also with GNU sed's --posix option, so I guess the sed code is POSIX-compatible. Rich.
2019 Sep 28
3
Re: [nbdkit PATCH v2 5/7] server: Allow longer NBD_OPT
...connection *conn) > uint64_t version; > uint32_t option; > uint32_t optlen; > - char data[MAX_OPTION_LENGTH+1]; > + CLEANUP_FREE char *data = NULL; Even though you have the CLEANUP here ... > struct nbd_export_name_option_reply handshake_finish; > const char *optname; > uint64_t exportsize; > @@ -281,6 +281,11 @@ negotiate_handshake_newstyle_options (struct connection *conn) > nbdkit_error ("client option data too long (%" PRIu32 ")", optlen); > return -1; > } > + data = malloc (optlen + 1); /* All...
2010 Nov 20
2
utorrent mot workin on Centos
...:fw_app_get_Enabled 0x164958, 0x7efaa0 fixme:hnetcfg:fw_app_put_ProcessImageFileName 0x164958, L"Z:\\home\\Cleaner\\utorrent.exe" fixme:hnetcfg:fw_app_put_Name 0x164958, L"\00b5Torrent" fixme:hnetcfg:fw_apps_Add 0x164940, 0x164958 fixme:winsock:WS_setsockopt Unknown IPPROTO_IPV6 optname 0x00000017 fixme:winsock:WS_setsockopt Unknown IPPROTO_IPV6 optname 0x00000017 err:winediag:WSASocketW Failed to create a socket of type SOCK_RAW, this requires special permissions. err:winediag:WSASocketW Failed to create a socket of type SOCK_RAW, this requires special permissions. err:ole:CoGet...
2017 Apr 18
2
Can't compile Asterisk on Ubuntu 16
...no member named 'sockopt_params' cfg.sockopt_params.options[0].level = pj_SOL_TCP(); ^ res_pjsip/config_transport.c:573:6: error: 'pjsip_tcp_transport_cfg {aka struct pjsip_tcp_transport_cfg}' has no member named 'sockopt_params' cfg.sockopt_params.options[0].optname = pj_TCP_NODELAY(); ^ res_pjsip/config_transport.c:574:6: error: 'pjsip_tcp_transport_cfg {aka struct pjsip_tcp_transport_cfg}' has no member named 'sockopt_params' cfg.sockopt_params.options[0].optval = &option; ^ res_pjsip/config_transport.c:575:6: error:...
2012 Jan 20
11
[PATCH 01/10] Revert "Revert "generator: Add CamelName flag""
This reverts commit 3f6ca541c7b24d4c86688a509582cb41a7e0078c. The original commit was reverted prematurely. --- generator/generator_actions.ml | 10 +++++----- generator/generator_checks.ml | 5 +++++ generator/generator_types.ml | 3 +++ 3 files changed, 13 insertions(+), 5 deletions(-) diff --git a/generator/generator_actions.ml b/generator/generator_actions.ml index
2019 Sep 28
0
[nbdkit PATCH v2 5/7] server: Allow longer NBD_OPT
.../ static int @@ -255,7 +255,7 @@ negotiate_handshake_newstyle_options (struct connection *conn) uint64_t version; uint32_t option; uint32_t optlen; - char data[MAX_OPTION_LENGTH+1]; + CLEANUP_FREE char *data = NULL; struct nbd_export_name_option_reply handshake_finish; const char *optname; uint64_t exportsize; @@ -281,6 +281,11 @@ negotiate_handshake_newstyle_options (struct connection *conn) nbdkit_error ("client option data too long (%" PRIu32 ")", optlen); return -1; } + data = malloc (optlen + 1); /* Allowing a trailing NUL helps som...
2009 Feb 15
3
EVE Online
...t the screen goes black and eventually freezes the computer entirely. I ran wine through terminal and got these errors: Code: fixme:heap:HeapSetInformation (nil) 1 (nil) 0 fixme:advapi:RegisterEventSourceW ((null),L"Bonjour Service"): stub fixme:winsock:WS_setsockopt Unknown IPPROTO_IP optname 0x00000013 fixme:winsock:WSAIoctl SIO_GET_EXTENSION_FUNCTION_POINTER {f689d7c8-6f1f-436b-8a53-e54fe351c322}: stub fixme:winsock:WS_setsockopt Unknown level: 0x00000029 fixme:winsock:WS_setsockopt Unknown level: 0x00000029 fixme:winsock:WS_setsockopt Unknown level: 0x00000029 fixme:winsock:WS_setso...
2010 Feb 08
0
Modo 302, interface delay
...nterface, specifically in selecting tools. The program somewhat pauses for upto a second. The 3d viewports themselfs work fine. Ive attached the following log file: Code: fixme:advapi:RegisterEventSourceW ((null),L"Bonjour Service"): stub fixme:winsock:WS_setsockopt Unknown IPPROTO_IP optname 0x00000013 fixme:winsock:WSAIoctl SIO_GET_EXTENSION_FUNCTION_POINTER {f689d7c8-6f1f-436b-8a53-e54fe351c322}: stub fixme:winsock:WSAIoctl SIO_GET_EXTENSION_FUNCTION_POINTER {f689d7c8-6f1f-436b-8a53-e54fe351c322}: stub fixme:winsock:WSAIoctl -> SIO_ADDRESS_LIST_CHANGE request: stub fixme:iphlpapi...