!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: nginx/1.23.4. PHP/5.6.40-65+ubuntu20.04.1+deb.sury.org+1 

uname -a: Linux foro-restaurado-2 5.15.0-1040-oracle #46-Ubuntu SMP Fri Jul 14 21:47:21 UTC 2023
aarch64
 

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

Safe-mode: OFF (not secure)

/usr/src/linux-oracle-5.13-headers-5.13.0-1018/include/linux/dsa/   drwxr-xr-x
Free 83.26 GB of 96.73 GB (86.08%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     8021q.h (2.89 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/* SPDX-License-Identifier: GPL-2.0
 * Copyright (c) 2019, Vladimir Oltean <[email protected]>
 */

#ifndef _NET_DSA_8021Q_H
#define _NET_DSA_8021Q_H

#include <linux/refcount.h>
#include <linux/types.h>

struct dsa_switch;
struct sk_buff;
struct net_device;
struct packet_type;
struct dsa_8021q_context;

struct dsa_8021q_crosschip_link {
    struct list_head list;
    int port;
    struct dsa_8021q_context *other_ctx;
    int other_port;
    refcount_t refcount;
};

struct dsa_8021q_ops {
    int (*vlan_add)(struct dsa_switch *ds, int port, u16 vid, u16 flags);
    int (*vlan_del)(struct dsa_switch *ds, int port, u16 vid);
};

struct dsa_8021q_context {
    const struct dsa_8021q_ops *ops;
    struct dsa_switch *ds;
    struct list_head crosschip_links;
    /* EtherType of RX VID, used for filtering on master interface */
    __be16 proto;
};

#define DSA_8021Q_N_SUBVLAN            8

#if IS_ENABLED(CONFIG_NET_DSA_TAG_8021Q)

int dsa_8021q_setup(struct dsa_8021q_context *ctx, bool enabled);

int dsa_8021q_crosschip_bridge_join(struct dsa_8021q_context *ctx, int port,
                    struct dsa_8021q_context *other_ctx,
                    int other_port);

int dsa_8021q_crosschip_bridge_leave(struct dsa_8021q_context *ctx, int port,
                     struct dsa_8021q_context *other_ctx,
                     int other_port);

struct sk_buff *dsa_8021q_xmit(struct sk_buff *skb, struct net_device *netdev,
                   u16 tpid, u16 tci);

u16 dsa_8021q_tx_vid(struct dsa_switch *ds, int port);

u16 dsa_8021q_rx_vid(struct dsa_switch *ds, int port);

u16 dsa_8021q_rx_vid_subvlan(struct dsa_switch *ds, int port, u16 subvlan);

int dsa_8021q_rx_switch_id(u16 vid);

int dsa_8021q_rx_source_port(u16 vid);

u16 dsa_8021q_rx_subvlan(u16 vid);

bool vid_is_dsa_8021q_rxvlan(u16 vid);

bool vid_is_dsa_8021q_txvlan(u16 vid);

bool vid_is_dsa_8021q(u16 vid);

#else

int dsa_8021q_setup(struct dsa_8021q_context *ctx, bool enabled)
{
    return 0;
}

int dsa_8021q_crosschip_bridge_join(struct dsa_8021q_context *ctx, int port,
                    struct dsa_8021q_context *other_ctx,
                    int other_port)
{
    return 0;
}

int dsa_8021q_crosschip_bridge_leave(struct dsa_8021q_context *ctx, int port,
                     struct dsa_8021q_context *other_ctx,
                     int other_port)
{
    return 0;
}

struct sk_buff *dsa_8021q_xmit(struct sk_buff *skb, struct net_device *netdev,
                   u16 tpid, u16 tci)
{
    return NULL;
}

u16 dsa_8021q_tx_vid(struct dsa_switch *ds, int port)
{
    return 0;
}

u16 dsa_8021q_rx_vid(struct dsa_switch *ds, int port)
{
    return 0;
}

u16 dsa_8021q_rx_vid_subvlan(struct dsa_switch *ds, int port, u16 subvlan)
{
    return 0;
}

int dsa_8021q_rx_switch_id(u16 vid)
{
    return 0;
}

int dsa_8021q_rx_source_port(u16 vid)
{
    return 0;
}

u16 dsa_8021q_rx_subvlan(u16 vid)
{
    return 0;
}

bool vid_is_dsa_8021q_rxvlan(u16 vid)
{
    return false;
}

bool vid_is_dsa_8021q_txvlan(u16 vid)
{
    return false;
}

bool vid_is_dsa_8021q(u16 vid)
{
    return false;
}

#endif /* IS_ENABLED(CONFIG_NET_DSA_TAG_8021Q) */

#endif /* _NET_DSA_8021Q_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.0 [PHP 7 Update] [25.02.2019] maintained by HackingTool | HackingTool | Generation time: 0.0041 ]--