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

Software: Apache/2.4.18 (Ubuntu). PHP/7.0.33-0ubuntu0.16.04.16 

uname -a: Linux digifus 3.13.0-57-generic #95-Ubuntu SMP Fri Jun 19 09:28:15 UTC 2015 x86_64 

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

Safe-mode: OFF (not secure)

/usr/src/linux-headers-3.13.0-57/include/net/caif/   drwxr-xr-x
Free 9.54 GB of 29.4 GB (32.45%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     cfcnfg.h (2.48 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/*
 * Copyright (C) ST-Ericsson AB 2010
 * Author:    Sjur Brendeland
 * License terms: GNU General Public License (GPL) version 2
 */

#ifndef CFCNFG_H_
#define CFCNFG_H_
#include <linux/spinlock.h>
#include <linux/netdevice.h>
#include <net/caif/caif_layer.h>
#include <net/caif/cfctrl.h>

struct cfcnfg;

/**
 * enum cfcnfg_phy_preference - Physical preference HW Abstraction
 *
 * @CFPHYPREF_UNSPECIFIED:    Default physical interface
 *
 * @CFPHYPREF_LOW_LAT:        Default physical interface for low-latency
 *                traffic
 * @CFPHYPREF_HIGH_BW:        Default physical interface for high-bandwidth
 *                traffic
 * @CFPHYPREF_LOOP:        TEST only Loopback interface simulating modem
 *                responses.
 *
 */
enum cfcnfg_phy_preference {
    CFPHYPREF_UNSPECIFIED,
    CFPHYPREF_LOW_LAT,
    CFPHYPREF_HIGH_BW,
    CFPHYPREF_LOOP
};

/**
 * cfcnfg_create() - Get the CAIF configuration object given network.
 * @net:    Network for the CAIF configuration object.
 */
struct cfcnfg *get_cfcnfg(struct net *net);

/**
 * cfcnfg_create() - Create the CAIF configuration object.
 */
struct cfcnfg *cfcnfg_create(void);

/**
 * cfcnfg_remove() -  Remove the CFCNFG object
 * @cfg: config object
 */
void cfcnfg_remove(struct cfcnfg *cfg);

/**
 * cfcnfg_add_phy_layer() - Adds a physical layer to the CAIF stack.
 * @cnfg:    Pointer to a CAIF configuration object, created by
 *        cfcnfg_create().
 * @dev:    Pointer to link layer device
 * @phy_layer:    Specify the physical layer. The transmit function
 *        MUST be set in the structure.
 * @pref:    The phy (link layer) preference.
 * @link_support: Protocol implementation for link layer specific protocol.
 * @fcs:    Specify if checksum is used in CAIF Framing Layer.
 * @head_room:    Head space needed by link specific protocol.
 */
void
cfcnfg_add_phy_layer(struct cfcnfg *cnfg,
             struct net_device *dev, struct cflayer *phy_layer,
             enum cfcnfg_phy_preference pref,
             struct cflayer *link_support,
             bool fcs, int head_room);

/**
 * cfcnfg_del_phy_layer - Deletes an phy layer from the CAIF stack.
 *
 * @cnfg:    Pointer to a CAIF configuration object, created by
 *        cfcnfg_create().
 * @phy_layer:    Adaptation layer to be removed.
 */
int cfcnfg_del_phy_layer(struct cfcnfg *cnfg, struct cflayer *phy_layer);

/**
 * cfcnfg_set_phy_state() - Set the state of the physical interface device.
 * @cnfg:    Configuration object
 * @phy_layer:    Physical Layer representation
 * @up:    State of device
 */
int cfcnfg_set_phy_state(struct cfcnfg *cnfg, struct cflayer *phy_layer,
                bool up);

#endif                /* CFCNFG_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 KaizenLouie | C99Shell Github | Generation time: 0.0048 ]--