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

Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 

uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/usr/src/linux-headers-5.4.0-216/include/linux/   drwxr-xr-x
Free 13.17 GB of 57.97 GB (22.71%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     inet_diag.h (2.42 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _INET_DIAG_H_
#define _INET_DIAG_H_ 1

#include <net/netlink.h>
#include <uapi/linux/inet_diag.h>

struct inet_hashinfo;

struct inet_diag_handler {
    void        (*dump)(struct sk_buff *skb,
                struct netlink_callback *cb,
                const struct inet_diag_req_v2 *r,
                struct nlattr *bc);

    int        (*dump_one)(struct sk_buff *in_skb,
                    const struct nlmsghdr *nlh,
                    const struct inet_diag_req_v2 *req);

    void        (*idiag_get_info)(struct sock *sk,
                      struct inet_diag_msg *r,
                      void *info);

    int        (*idiag_get_aux)(struct sock *sk,
                     bool net_admin,
                     struct sk_buff *skb);

    size_t        (*idiag_get_aux_size)(struct sock *sk,
                          bool net_admin);

    int        (*destroy)(struct sk_buff *in_skb,
                   const struct inet_diag_req_v2 *req);

    __u16        idiag_type;
    __u16        idiag_info_size;
};

struct inet_connection_sock;
int inet_sk_diag_fill(struct sock *sk, struct inet_connection_sock *icsk,
              struct sk_buff *skb, const struct inet_diag_req_v2 *req,
              struct user_namespace *user_ns,
              u32 pid, u32 seq, u16 nlmsg_flags,
              const struct nlmsghdr *unlh, bool net_admin);
void inet_diag_dump_icsk(struct inet_hashinfo *h, struct sk_buff *skb,
             struct netlink_callback *cb,
             const struct inet_diag_req_v2 *r,
             struct nlattr *bc);
int inet_diag_dump_one_icsk(struct inet_hashinfo *hashinfo,
                struct sk_buff *in_skb, const struct nlmsghdr *nlh,
                const struct inet_diag_req_v2 *req);

struct sock *inet_diag_find_one_icsk(struct net *net,
                     struct inet_hashinfo *hashinfo,
                     const struct inet_diag_req_v2 *req);

int inet_diag_bc_sk(const struct nlattr *_bc, struct sock *sk);

void inet_diag_msg_common_fill(struct inet_diag_msg *r, struct sock *sk);

static inline size_t inet_diag_msg_attrs_size(void)
{
    return      nla_total_size(1)  /* INET_DIAG_SHUTDOWN */
        + nla_total_size(1)  /* INET_DIAG_TOS */
#if IS_ENABLED(CONFIG_IPV6)
        + nla_total_size(1)  /* INET_DIAG_TCLASS */
        + nla_total_size(1)  /* INET_DIAG_SKV6ONLY */
#endif
        + nla_total_size(4)  /* INET_DIAG_MARK */
        + nla_total_size(4); /* INET_DIAG_CLASS_ID */
}
int inet_diag_msg_attrs_fill(struct sock *sk, struct sk_buff *skb,
                 struct inet_diag_msg *r, int ext,
                 struct user_namespace *user_ns, bool net_admin);

extern int  inet_diag_register(const struct inet_diag_handler *handler);
extern void inet_diag_unregister(const struct inet_diag_handler *handler);
#endif /* _INET_DIAG_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.0045 ]--