ShellBanner
System:Linux MiraNet 3.0.0-14-generic-pae #23-Ubuntu SMP Mon Nov 21 22:07:10 UTC 2011 i686
Software:Apache. PHP/5.3.6-13ubuntu3.10
ID:uid=65534(nobody) gid=65534(nogroup) groups=65534(nogroup)
Safe Mode:OFF
Open_Basedir:OFF
Freespace:25.49 GB of 70.42 GB (36.2%)
MySQL: ON MSSQL: OFF Oracle: OFF PostgreSQL: OFF Curl: OFF Sockets: ON Fetch: OFF Wget: ON Perl: ON
Disabled Functions: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,

/ usr/ src/ linux-headers-3.0.0-14/ include/ net/ - drwxr-xr-x

Directory:
Viewing file:     ip6_checksum.h (2.28 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/*
 * INET        An implementation of the TCP/IP protocol suite for the LINUX
 *        operating system.  INET is implemented using the  BSD Socket
 *        interface as the means of communication with the user level.
 *
 *        Checksumming functions for IPv6
 *
 * Authors:    Jorge Cwik, <jorge@laser.satlink.net>
 *        Arnt Gulbrandsen, <agulbra@nvg.unit.no>
 *        Borrows very liberally from tcp.c and ip.c, see those
 *        files for more names.
 *
 *        This program is free software; you can redistribute it and/or
 *        modify it under the terms of the GNU General Public License
 *        as published by the Free Software Foundation; either version
 *        2 of the License, or (at your option) any later version.
 */

/*
 *    Fixes:
 *
 *    Ralf Baechle            :    generic ipv6 checksum
 *    <ralf@waldorf-gmbh.de>
 */

#ifndef _CHECKSUM_IPV6_H
#define _CHECKSUM_IPV6_H

#include <asm/types.h>
#include <asm/byteorder.h>
#include <net/ip.h>
#include <asm/checksum.h>
#include <linux/in6.h>

#ifndef _HAVE_ARCH_IPV6_CSUM

static __inline__ __sum16 csum_ipv6_magic(const struct in6_addr *saddr,
                      const struct in6_addr *daddr,
                      __u32 len, unsigned short proto,
                      __wsum csum)
{

    int carry;
    __u32 ulen;
    __u32 uproto;
    __u32 sum = (__force u32)csum;

    sum += (__force u32)saddr->s6_addr32[0];
    carry = (sum < (__force u32)saddr->s6_addr32[0]);
    sum += carry;

    sum += (__force u32)saddr->s6_addr32[1];
    carry = (sum < (__force u32)saddr->s6_addr32[1]);
    sum += carry;

    sum += (__force u32)saddr->s6_addr32[2];
    carry = (sum < (__force u32)saddr->s6_addr32[2]);
    sum += carry;

    sum += (__force u32)saddr->s6_addr32[3];
    carry = (sum < (__force u32)saddr->s6_addr32[3]);
    sum += carry;

    sum += (__force u32)daddr->s6_addr32[0];
    carry = (sum < (__force u32)daddr->s6_addr32[0]);
    sum += carry;

    sum += (__force u32)daddr->s6_addr32[1];
    carry = (sum < (__force u32)daddr->s6_addr32[1]);
    sum += carry;

    sum += (__force u32)daddr->s6_addr32[2];
    carry = (sum < (__force u32)daddr->s6_addr32[2]);
    sum += carry;

    sum += (__force u32)daddr->s6_addr32[3];
    carry = (sum < (__force u32)daddr->s6_addr32[3]);
    sum += carry;

    ulen = (__force u32)htonl((__u32) len);
    sum += ulen;
    carry = (sum < ulen);
    sum += carry;

    uproto = (__force u32)htonl(proto);
    sum += uproto;
    carry = (sum < uproto);
    sum += carry;

    return csum_fold((__force __wsum)sum);
}

#endif
#endif
Command:
Quick Commands:
Upload:
[Read-Only] Max size: 100MB
PHP Filesystem: <@ Ú
Search File:
regexp
Create File:
Overwrite [Read-Only]
View File:
Mass Defacement:
[+] Main Directory: [+] Defacement Url:
LmfaoX Shell - Private Build [BETA] - v0.1 -; Generated: 0.4177 seconds