!C99Shell v. 1.0 pre-release build #13!

Software: Apache/2.0.54 (Unix) mod_perl/1.99_09 Perl/v5.8.0 mod_ssl/2.0.54 OpenSSL/0.9.7l DAV/2 FrontPage/5.0.2.2635 PHP/4.4.0 mod_gzip/2.0.26.1a 

uname -a: Linux snow.he.net 4.4.276-v2-mono-1 #1 SMP Wed Jul 21 11:21:17 PDT 2021 i686 

uid=99(nobody) gid=98(nobody) groups=98(nobody) 

Safe-mode: OFF (not secure)

/usr/src/linux-2.4.18-xfs-1.1/net/bridge/   drwxr-xr-x
Free 318.39 GB of 458.09 GB (69.5%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     br_notify.c (1.57 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/*
 *    Device event handling
 *    Linux ethernet bridge
 *
 *    Authors:
 *    Lennert Buytenhek        <buytenh@gnu.org>
 *
 *    $Id: br_notify.c,v 1.2 2000/02/21 15:51:34 davem Exp $
 *
 *    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.
 */

#include <linux/kernel.h>
#include <linux/if_bridge.h>
#include "br_private.h"

static int br_device_event(struct notifier_block *unused, unsigned long event, void *ptr);

struct notifier_block br_device_notifier =
{
    br_device_event,
    NULL,
    0
};

static int br_device_event(struct notifier_block *unused, unsigned long event, void *ptr)
{
    struct net_device *dev;
    struct net_bridge_port *p;

    dev = ptr;
    p = dev->br_port;

    if (p == NULL)
        return NOTIFY_DONE;

    switch (event)
    {
    case NETDEV_CHANGEADDR:
        read_lock(&p->br->lock);
        br_fdb_changeaddr(p, dev->dev_addr);
        br_stp_recalculate_bridge_id(p->br);
        read_unlock(&p->br->lock);
        break;

    case NETDEV_GOING_DOWN:
        /* extend the protocol to send some kind of notification? */
        break;

    case NETDEV_DOWN:
        if (p->br->dev.flags & IFF_UP) {
            read_lock(&p->br->lock);
            br_stp_disable_port(dev->br_port);
            read_unlock(&p->br->lock);
        }
        break;

    case NETDEV_UP:
        if (p->br->dev.flags & IFF_UP) {
            read_lock(&p->br->lock);
            br_stp_enable_port(dev->br_port);
            read_unlock(&p->br->lock);
        }
        break;

    case NETDEV_UNREGISTER:
        br_del_if(dev->br_port->br, dev);
        break;
    }

    return NOTIFY_DONE;
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

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

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

--[ c99shell v. 1.0 pre-release build #13 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0045 ]--