search for: b_length

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

Did you mean: _length
2004 Sep 22
2
Grandstream bin cfg.txt generator
...rdwise) $a_body .= "\0\0" if ((length($a_body) % 4) ne 0); # generate a d_length (length of the complete message, counting words, in dec) # ( header is always 8 words lang ) + ( body in ascii (bytes) / 2 = in words ) my $d_length = 8 + (length($a_body)/2); # make that a binary dword my $b_length = pack("N", $d_length); # generate a checksum my $d_checksum; foreach ($b_length,$b_mac,$b_crlf,$b_crlf,$a_body) { $d_checksum += unpack("%16n*", $_); } #$d_checksum %= 65536; $d_checksum = 65536-$d_checksum; # and make a binary word of that my $b_checksum = pack("n&quo...
2004 Aug 13
1
[PATCH] make spotless update
make spotless leaves 2 generated files. diff -purN klibc-0.159.orig/klibc/Makefile klibc-0.159/klibc/Makefile --- klibc-0.159.orig/klibc/Makefile 2004-08-03 23:07:05.000000000 +0200 +++ klibc-0.159/klibc/Makefile 2004-08-13 22:23:35.696699671 +0200 @@ -156,6 +156,7 @@ clean: archclean rm -f sha1hash errlist.c spotless: clean + rm -f include/klibc/havesyscall.h syscalls.nrs find . \( -name