Displaying 12 results from an estimated 12 matches for "bswap_16".
Did you mean:
bswap16
2017 Nov 18
2
Dovecots header files not optimized for external plugins
...terface.
== Source 1
/* g++-7 -c a.cpp */
#include <byteswap.h>
#include <dovecot/lib.h>
#include <dovecot/auth-request.h>
#include <dovecot/passdb.h>
static enum passdb_result
authdb_mapi_logon(struct auth_request *rq, const char *password)
{
int x = dev_null_fd + bswap_16(1);
}
== Problems 1
/usr/include/dovecot/compat.h:45:4: error: #error uoff_t size not set
# error uoff_t size not set
== Source 2
/* g++-7 -DHAVE_CONFIG_H -c a.cpp */
#include "config.h" /* generated by my configure */
#include <byteswap.h>
#include <dovecot/lib.h>
#includ...
2005 Jun 29
10
TCP Snoop & wrapper shell script posted
Hi ,
I have posted DTrace script to snoop tcp traffic and also provided a
wrapper script
for it to filter out unwanted traffic.
http://blogs.sun.com/roller/comments/raviswam/Weblog/tcp_snoop_using_dtrace
Please let me know if you have any feedback/comments on this.
Thanks
Ravi
2017 Nov 13
2
Building dovecot 2.2.33.2 is broken with uclibc-ng
...ildroot/br4/output/host/i586-buildroot-linux-uclibc/sysroot/usr/include/stdlib.h:41,
from ../../src/lib/lib.h:11,
from test-common.c:3:
../../src/lib/byteorder.h:32:24: error: expected identifier or '(' before '__extension__'
static inline uint16_t bswap_16(uint16_t in);
^
In file included from /home/bernd/buildroot/br4/output/host/i586-buildroot-linux-uclibc/sysroot/usr/include/endian.h:59:0,
from /home/bernd/buildroot/br4/output/host/i586-buildroot-linux-uclibc/sysroot/usr/include/bits/waitstatus.h:72,...
2017 Nov 14
1
Building dovecot 2.2.33.2 is broken with uclibc-ng
Am Mon, 13 Nov 2017 15:40:14 -0500 schrieb Josef 'Jeff' Sipek:
> What happens if in dovecot's byteorder.h you add this before line 30:
>
> #undef bswap_8
> #undef bswap_16
> #undef bswap_32
> #undef bswap_64
>
> Hopefully that does it.
Hi Jeff,
adding these four lines fixes the build error, thanks!
Regards, Bernd
2017 Nov 19
0
Dovecots header files not optimized for external plugins
...;
> == Problems 2
> In file included from /usr/include/bits/byteswap.h:35:0,
> from /usr/include/byteswap.h:24,
> from a.cpp:2:
> /usr/include/dovecot/byteorder.h:32:24: error: expected unqualified-id before ?__extension__?
> static inline uint16_t bswap_16(uint16_t in);
Try #undef bswap_16 (and others)? We have a patch pending that does these #undefs to fix compiling issue with uclibc-ng - maybe a similar problem.
> == Other problems
> dovecot headers files are missing 'extern "C"' lines.
> This means the linkage of symbo...
2017 Nov 13
0
Building dovecot 2.2.33.2 is broken with uclibc-ng
...3c53
>
> added code which can not be compiled with uclibc-ng 1.0.26 using buildroot:
Hrm... ok.
It'll be probably faster for you to try a test build instead of me setting
up buildroot...
What happens if in dovecot's byteorder.h you add this before line 30:
#undef bswap_8
#undef bswap_16
#undef bswap_32
#undef bswap_64
Hopefully that does it.
Jeff.
>
> make[3]: Entering directory '/home/bernd/buildroot/br4/output/build/dovecot-2.2.33.2/src/lib-test'
> /bin/bash ../../libtool --tag=CC --mode=compile /home/bernd/buildroot/br4/output/host/bin/i586-buildroot-l...
2023 Mar 01
6
[libnbd PATCH 0/6] common: catch up with nbdkit
...N_FDNAMES series will be resumed even later.
Laszlo
Eric Blake (1):
tests: Avoid odd test behavior under NDEBUG [partial port]
Richard W.M. Jones (5):
common/include: Add unit tests [byte-swapping, isaligned, iszero]
common/include: Add further unit tests [minmax]
common: include: Define bswap_16, bswap_32 and bswap_64 [finish port]
vector: Add vector_duplicate function
common/include: Fix MIN and MAX macros so they can be nested [finish
port]
.gitignore | 4 +
common/include/Makefile.am | 20 +++
common/include/test-byte-swapping.c | 108 +++++...
2013 Apr 19
8
[PATCH 0 of 8] blktap3/libvhd: Introduce VHD library.
This patch series introduces the VHD library. It is based on the blktap2 one,
with changes coming from the blktap2.5 one.
Signed-off-by: Thanos Makatos <thanos.makatos@citrix.com>
2009 Aug 03
9
[PATCH 0/9] Quota support for ocfs2-tools (version 3)
Hi,
below comes a new version of the series of patches implementing quota support
for ocfs2-tools. I've fixed the calls of ocfs2_malloc_blocks() which were given
number of bytes instead of number of blocks. Besides that the series should be
the same.
Honza
2009 Jul 27
11
[PATCH 0/8] Quota support for ocfs2-tools
Hi,
I'm sending a series of patches implementing quota support into ocfs2-tools.
It's the same as the original huge patch I've sent but now it's split as Joel
asked. I've also realized that when disabling SPARSE feature, we should update
quota information. That piece of code is missing, I'll implement it soon.
Comments welcome.
Honza
2009 Jul 30
11
[PATCH 0/9] Quota support for ocfs2-tools (version 2)
Hi,
this is the next version of quota support for quota tools. I've addressed all
the comments of Tao, Joel and others. Sparse feature disabling also correctly
updates quota information now and the patch is merged into the tunefs support
patch.
Honza
2012 Nov 20
52
[PATCH RFC] stubdom: Change vTPM shared page ABI
Since the vTPM implementations are being incorproated into Xen and
possibly upstream Linux, I would like to see if this protocol change
could be added before we have significant legacy implementations. If
not, I still think it would be useful as either a v2 or negotiated
protocol change.
The current vTPM protocol is a copy of the network protocol. This was
likely done for ease of implementation,