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

Software: Apache. PHP/5.6.40 

uname -a: Linux cpanel06wh.bkk1.cloud.z.com 2.6.32-954.3.5.lve1.4.80.el6.x86_64 #1 SMP Thu Sep 24
01:42:00 EDT 2020 x86_64
 

uid=851(cp949260) gid=853(cp949260) groups=853(cp949260) 

Safe-mode: OFF (not secure)

/usr/include/linux/   drwxr-xr-x
Free 236.41 GB of 981.82 GB (24.08%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     if_bridge.h (3.72 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/*
 *    Linux ethernet bridge
 *
 *    Authors:
 *    Lennert Buytenhek        <buytenh@gnu.org>
 *
 *    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.
 */

#ifndef _LINUX_IF_BRIDGE_H
#define _LINUX_IF_BRIDGE_H

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

#define SYSFS_BRIDGE_ATTR    "bridge"
#define SYSFS_BRIDGE_FDB    "brforward"
#define SYSFS_BRIDGE_PORT_SUBDIR "brif"
#define SYSFS_BRIDGE_PORT_ATTR    "brport"
#define SYSFS_BRIDGE_PORT_LINK    "bridge"

#define BRCTL_VERSION 1

#define BRCTL_GET_VERSION 0
#define BRCTL_GET_BRIDGES 1
#define BRCTL_ADD_BRIDGE 2
#define BRCTL_DEL_BRIDGE 3
#define BRCTL_ADD_IF 4
#define BRCTL_DEL_IF 5
#define BRCTL_GET_BRIDGE_INFO 6
#define BRCTL_GET_PORT_LIST 7
#define BRCTL_SET_BRIDGE_FORWARD_DELAY 8
#define BRCTL_SET_BRIDGE_HELLO_TIME 9
#define BRCTL_SET_BRIDGE_MAX_AGE 10
#define BRCTL_SET_AGEING_TIME 11
#define BRCTL_SET_GC_INTERVAL 12
#define BRCTL_GET_PORT_INFO 13
#define BRCTL_SET_BRIDGE_STP_STATE 14
#define BRCTL_SET_BRIDGE_PRIORITY 15
#define BRCTL_SET_PORT_PRIORITY 16
#define BRCTL_SET_PATH_COST 17
#define BRCTL_GET_FDB_ENTRIES 18
#define BRCTL_SET_VIA_ORIG_DEV 19

#define BR_STATE_DISABLED 0
#define BR_STATE_LISTENING 1
#define BR_STATE_LEARNING 2
#define BR_STATE_FORWARDING 3
#define BR_STATE_BLOCKING 4

struct __bridge_info
{
    __u64 designated_root;
    __u64 bridge_id;
    __u32 root_path_cost;
    __u32 max_age;
    __u32 hello_time;
    __u32 forward_delay;
    __u32 bridge_max_age;
    __u32 bridge_hello_time;
    __u32 bridge_forward_delay;
    __u8 topology_change;
    __u8 topology_change_detected;
    __u8 root_port;
    __u8 stp_enabled;
    __u32 ageing_time;
    __u32 gc_interval;
    __u32 hello_timer_value;
    __u32 tcn_timer_value;
    __u32 topology_change_timer_value;
    __u32 gc_timer_value;
    __u8 via_phys_dev;
};

struct __port_info
{
    __u64 designated_root;
    __u64 designated_bridge;
    __u16 port_id;
    __u16 designated_port;
    __u32 path_cost;
    __u32 designated_cost;
    __u8 state;
    __u8 top_change_ack;
    __u8 config_pending;
    __u8 unused0;
    __u32 message_age_timer_value;
    __u32 forward_delay_timer_value;
    __u32 hold_timer_value;
};

struct __fdb_entry
{
    __u8 mac_addr[6];
    __u8 port_no;
    __u8 is_local;
    __u32 ageing_timer_value;
    __u8 port_hi;
    __u8 pad0;
    __u16 unused;
};

/* Bridge Flags */
#define BRIDGE_FLAGS_MASTER    1    /* Bridge command to/from master */
#define BRIDGE_FLAGS_SELF    2    /* Bridge command to/from lowerdev */

#define BRIDGE_MODE_VEB        0    /* Default loopback mode */
#define BRIDGE_MODE_VEPA    1    /* 802.1Qbg defined VEPA mode */

/* Bridge management nested attributes
 * [IFLA_AF_SPEC] = {
 *     [IFLA_BRIDGE_FLAGS]
 *     [IFLA_BRIDGE_MODE]
 * }
 */
enum {
    IFLA_BRIDGE_FLAGS,
    IFLA_BRIDGE_MODE,
    __IFLA_BRIDGE_MAX,
};
#define IFLA_BRIDGE_MAX (__IFLA_BRIDGE_MAX - 1)

/* Bridge multicast database attributes
 * [MDBA_MDB] = {
 *     [MDBA_MDB_ENTRY] = {
 *         [MDBA_MDB_ENTRY_INFO]
 *     }
 * }
 * [MDBA_ROUTER] = {
 *    [MDBA_ROUTER_PORT]
 * }
 */
enum {
    MDBA_UNSPEC,
    MDBA_MDB,
    MDBA_ROUTER,
    __MDBA_MAX,
};
#define MDBA_MAX (__MDBA_MAX - 1)

enum {
    MDBA_MDB_UNSPEC,
    MDBA_MDB_ENTRY,
    __MDBA_MDB_MAX,
};
#define MDBA_MDB_MAX (__MDBA_MDB_MAX - 1)

enum {
    MDBA_MDB_ENTRY_UNSPEC,
    MDBA_MDB_ENTRY_INFO,
    __MDBA_MDB_ENTRY_MAX,
};
#define MDBA_MDB_ENTRY_MAX (__MDBA_MDB_ENTRY_MAX - 1)

enum {
    MDBA_ROUTER_UNSPEC,
    MDBA_ROUTER_PORT,
    __MDBA_ROUTER_MAX,
};
#define MDBA_ROUTER_MAX (__MDBA_ROUTER_MAX - 1)

struct br_port_msg {
    __u8  family;
    __u32 ifindex;
};

struct br_mdb_entry {
    __u32 ifindex;
#define MDB_TEMPORARY 0
#define MDB_PERMANENT 1
    __u8 state;
    struct {
        union {
            __be32    ip4;
            struct in6_addr ip6;
        } u;
        __be16        proto;
    } addr;
};


#endif

:: 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 KaizenLouie | C99Shell Github | Generation time: 0.0202 ]--