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

Software: Apache/2.0.54 (Fedora). PHP/5.0.4 

uname -a: Linux mina-info.me 2.6.17-1.2142_FC4smp #1 SMP Tue Jul 11 22:57:02 EDT 2006 i686 

uid=48(apache) gid=48(apache) groups=48(apache)
context=system_u:system_r:httpd_sys_script_t
 

Safe-mode: OFF (not secure)

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


Viewing file:     if_bonding.h (2.23 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/*
* Bond several ethernet interfaces into a Cisco, running 'Etherchannel'.
*
*
* Portions are (c) Copyright 1995 Simon "Guru Aleph-Null" Janes
* NCM: Network and Communications Management, Inc.
*
* BUT, I'm the one who modified it for ethernet, so:
* (c) Copyright 1999, Thomas Davis, tadavis@lbl.gov
*
*    This software may be used and distributed according to the terms
*    of the GNU Public License, incorporated herein by reference.
*
*/

#ifndef _LINUX_IF_BONDING_H
#define _LINUX_IF_BONDING_H


#include <linux/types.h>

/*
* We can remove these ioctl definitions in 2.5.  People should use the
* SIOC*** versions of them instead
*/
#define BOND_ENSLAVE_OLD        (SIOCDEVPRIVATE)
#define BOND_RELEASE_OLD        (SIOCDEVPRIVATE + 1)
#define BOND_SETHWADDR_OLD        (SIOCDEVPRIVATE + 2)
#define BOND_SLAVE_INFO_QUERY_OLD    (SIOCDEVPRIVATE + 11)
#define BOND_INFO_QUERY_OLD        (SIOCDEVPRIVATE + 12)
#define BOND_CHANGE_ACTIVE_OLD        (SIOCDEVPRIVATE + 13)

#define BOND_CHECK_MII_STATUS    (SIOCGMIIPHY)

#define BOND_MODE_ROUNDROBIN    0
#define BOND_MODE_ACTIVEBACKUP    1
#define BOND_MODE_XOR        2
#define BOND_MODE_BROADCAST    3

/* each slave's link has 4 states */
#define BOND_LINK_UP    0           /* link is up and running */
#define BOND_LINK_FAIL  1           /* link has just gone down */
#define BOND_LINK_DOWN  2           /* link has been down for too long time */
#define BOND_LINK_BACK  3           /* link is going back */

/* each slave has several states */
#define BOND_STATE_ACTIVE       0   /* link is active */
#define BOND_STATE_BACKUP       1   /* link is backup */

#define BOND_DEFAULT_MAX_BONDS  1   /* Default maximum number of devices to support */

#define BOND_MULTICAST_DISABLED 0
#define BOND_MULTICAST_ACTIVE   1
#define BOND_MULTICAST_ALL      2

struct bond_parm_tbl {
    char *modename;
    int mode;
};

typedef struct ifbond {
    __s32 bond_mode;
    __s32 num_slaves;
    __s32 miimon;
} ifbond;

typedef struct ifslave
{
    __s32 slave_id; /* Used as an IN param to the BOND_SLAVE_INFO_QUERY ioctl */
    char slave_name[IFNAMSIZ];
    char link;
    char state;
    __u32  link_failure_count;
} ifslave;


#endif /* _LINUX_BOND_H */

/*
* Local variables:
*  version-control: t
*  kept-new-versions: 5
*  c-indent-level: 8
*  c-basic-offset: 8
*  tab-width: 8
* End:
*/

:: 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 #16 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0031 ]--