Home
last modified time | relevance | path

Searched refs:netlink_cmd_check (Results 1 – 20 of 20) sorted by relevance

/aosp_15_r20/external/ethtool/netlink/
H A Dsettings.c974 if (netlink_cmd_check(ctx, msg_type, true)) in gset_request()
990 if (netlink_cmd_check(ctx, ETHTOOL_MSG_LINKMODES_GET, true) || in nl_gset()
991 netlink_cmd_check(ctx, ETHTOOL_MSG_LINKINFO_GET, true) || in nl_gset()
992 netlink_cmd_check(ctx, ETHTOOL_MSG_WOL_GET, true) || in nl_gset()
993 netlink_cmd_check(ctx, ETHTOOL_MSG_DEBUG_GET, true) || in nl_gset()
994 netlink_cmd_check(ctx, ETHTOOL_MSG_LINKSTATE_GET, true)) in nl_gset()
1317 if (netlink_cmd_check(nlctx->ctx, ETHTOOL_MSG_LINKMODES_GET, false) || in nl_sset_compat_linkmodes()
1318 netlink_cmd_check(nlctx->ctx, ETHTOOL_MSG_LINKMODES_SET, false)) in nl_sset_compat_linkmodes()
H A Dplca.c128 if (netlink_cmd_check(ctx, ETHTOOL_MSG_PLCA_GET_CFG, true)) in nl_plca_get_cfg()
195 if (netlink_cmd_check(ctx, ETHTOOL_MSG_PLCA_SET_CFG, false)) in nl_plca_set_cfg()
280 if (netlink_cmd_check(ctx, ETHTOOL_MSG_PLCA_GET_STATUS, true)) in nl_plca_get_status()
H A Dchannels.c61 if (netlink_cmd_check(ctx, ETHTOOL_MSG_CHANNELS_GET, true)) in nl_gchannels()
113 if (netlink_cmd_check(ctx, ETHTOOL_MSG_CHANNELS_SET, false)) in nl_schannels()
H A Dmodule.c99 if (netlink_cmd_check(ctx, ETHTOOL_MSG_MODULE_GET, true)) in nl_gmodule()
145 if (netlink_cmd_check(ctx, ETHTOOL_MSG_MODULE_SET, false)) in nl_smodule()
H A Dpse-pd.c112 if (netlink_cmd_check(ctx, ETHTOOL_MSG_PSE_GET, true)) in nl_gpse()
159 if (netlink_cmd_check(ctx, ETHTOOL_MSG_PSE_SET, false)) in nl_spse()
H A Dprivflags.c98 if (netlink_cmd_check(ctx, ETHTOOL_MSG_PRIVFLAGS_GET, true)) in nl_gprivflags()
127 if (netlink_cmd_check(ctx, ETHTOOL_MSG_PRIVFLAGS_SET, false)) in nl_sprivflags()
H A Deee.c97 if (netlink_cmd_check(ctx, ETHTOOL_MSG_EEE_GET, true)) in nl_geee()
155 if (netlink_cmd_check(ctx, ETHTOOL_MSG_EEE_SET, false)) in nl_seee()
H A Drings.c98 if (netlink_cmd_check(ctx, ETHTOOL_MSG_RINGS_GET, true)) in nl_gring()
184 if (netlink_cmd_check(ctx, ETHTOOL_MSG_RINGS_SET, false)) in nl_sring()
H A Dmm.c175 if (netlink_cmd_check(ctx, ETHTOOL_MSG_MM_GET, true)) in nl_get_mm()
238 if (netlink_cmd_check(ctx, ETHTOOL_MSG_MM_SET, false)) in nl_set_mm()
H A Dcoalesce.c111 if (netlink_cmd_check(ctx, ETHTOOL_MSG_COALESCE_GET, true)) in nl_gcoalesce()
305 if (netlink_cmd_check(ctx, ETHTOOL_MSG_COALESCE_SET, false)) in nl_scoalesce()
H A Dpause.c244 if (netlink_cmd_check(ctx, ETHTOOL_MSG_PAUSE_GET, true)) in nl_gpause()
301 if (netlink_cmd_check(ctx, ETHTOOL_MSG_PAUSE_SET, false)) in nl_spause()
H A Dfec.c206 if (netlink_cmd_check(ctx, ETHTOOL_MSG_FEC_GET, true)) in nl_gfec()
326 if (netlink_cmd_check(ctx, ETHTOOL_MSG_FEC_SET, false)) in nl_sfec()
H A Dfeatures.c244 if (netlink_cmd_check(ctx, ETHTOOL_MSG_FEATURES_GET, true)) in nl_gfeatures()
515 if (netlink_cmd_check(ctx, ETHTOOL_MSG_FEATURES_SET, false)) in nl_sfeatures()
H A Dtsinfo.c111 if (netlink_cmd_check(ctx, ETHTOOL_MSG_TSINFO_GET, true)) in nl_tsinfo()
H A Dnetlink.h71 bool netlink_cmd_check(struct cmd_context *ctx, unsigned int cmd,
H A Dtunnels.c223 if (netlink_cmd_check(ctx, ETHTOOL_MSG_TUNNEL_INFO_GET, true)) in nl_gtunnels()
H A Drss.c201 if (netlink_cmd_check(ctx, ETHTOOL_MSG_RSS_GET, true)) in nl_grss()
H A Dmodule-eeprom.c245 if (netlink_cmd_check(ctx, ETHTOOL_MSG_MODULE_EEPROM_GET, false)) in nl_getmodule()
H A Dnetlink.c112 bool netlink_cmd_check(struct cmd_context *ctx, unsigned int cmd, in netlink_cmd_check() function
H A Dparser.c1110 netlink_cmd_check(nlctx->ctx, buff->id, false)) in nl_parser()