search for: bit6

Displaying 2 results from an estimated 2 matches for "bit6".

Did you mean: bit
2013 Feb 08
0
Very long delay for shutdown.restart on usbhid-ups powercom
...cification of BNT protocol (http://www.networkupstools.org/ups-protocols/powercom/Software_USB_comm unication_controller_BNT_series.doc), which overrides the semantics of the seconds field of USB HID Set Report command. As reported in document: Byte 13, Byte 14 (min, sec) If Byte(sec), bit7=0 and bit6=0 Then If Byte 9, bit0=1 Then command 185, 188, min, sec If Byte 9, bit0=0 Then command 186, 188, min, sec If Byte(sec), bit7=0 and bit6=1 Then command 185, 188, min, sec If Byte(sec), bit7=1 and bit6=0 Then command 186, 188, min, sec If Byte(sec), bit7=1 and bit6=1 Then no actions OR with...
2003 Jun 21
0
[Bug 102] New: ipv6_prefix_length works only on LITTLE_ENDIAN and prefix_length % 8 == 0
...and given prefix is a multiple of 32 Here's one way to fix the problem: --- iptables-1.2.8/libiptc/libip6tc.c 2002-02-14 01:13:23.000000000 +0200 +++ iptables-1.2.8-new/libiptc/libip6tc.c 2003-06-21 18:16:35.000000000 +0300 @@ -110,7 +110,7 @@ #include "libiptc.c" #define BIT6(a, l) \ - (((a->in6_u.u6_addr32[(l) / 32]) >> ((l) & 31)) & 1) + ((ntohl(a->in6_u.u6_addr32[(l) / 32]) >> (31 - ((l) & 31))) & 1) int ipv6_prefix_length(const struct in6_addr *a) ------- You are receiving this mail because: ------- You are on the CC list for...