Home
last modified time | relevance | path

Searched refs:nla_get_flag (Results 1 – 10 of 10) sorted by relevance

/linux-6.1.9/net/l2tp/
Dl2tp_netlink.c164 cfg->use_udp_checksums = nla_get_flag(attrs[L2TP_ATTR_UDP_CSUM]); in l2tp_nl_cmd_tunnel_create_get_addr()
171 cfg->udp6_zero_tx_checksums = nla_get_flag(attrs[L2TP_ATTR_UDP_ZERO_CSUM6_TX]); in l2tp_nl_cmd_tunnel_create_get_addr()
172 cfg->udp6_zero_rx_checksums = nla_get_flag(attrs[L2TP_ATTR_UDP_ZERO_CSUM6_RX]); in l2tp_nl_cmd_tunnel_create_get_addr()
/linux-6.1.9/net/ncsi/
Dncsi-netlink.c613 if (nla_get_flag(info->attrs[NCSI_ATTR_MULTI_FLAG])) { in ncsi_set_package_mask_nl()
705 if (nla_get_flag(info->attrs[NCSI_ATTR_MULTI_FLAG])) { in ncsi_set_channel_mask_nl()
/linux-6.1.9/net/tipc/
Dnetlink_compat.c699 link_info.dest = htonl(nla_get_flag(link[TIPC_NLA_LINK_DEST])); in tipc_nl_compat_link_dump()
700 link_info.up = htonl(nla_get_flag(link[TIPC_NLA_LINK_UP])); in tipc_nl_compat_link_dump()
1131 node_info.up = htonl(nla_get_flag(node[TIPC_NLA_NODE_UP])); in tipc_nl_compat_node_dump()
/linux-6.1.9/net/wireless/
Dnl80211.c5323 config->ema = nla_get_flag(tb[NL80211_MBSSID_CONFIG_ATTR_EMA]); in nl80211_parse_mbssid_config()
5414 !nla_get_flag(tb[NL80211_HE_BSS_COLOR_ATTR_DISABLED]); in nl80211_parse_he_bss_color()
5416 nla_get_flag(tb[NL80211_HE_BSS_COLOR_ATTR_PARTIAL]); in nl80211_parse_he_bss_color()
5971 params->pbss = nla_get_flag(info->attrs[NL80211_ATTR_PBSS]); in nl80211_start_ap()
5987 nla_get_flag(info->attrs[NL80211_ATTR_TWT_RESPONDER]); in nl80211_start_ap()
8266 setup->user_mpm = nla_get_flag(tb[NL80211_MESH_SETUP_USERSPACE_MPM]); in nl80211_parse_mesh_setup()
8267 setup->is_authenticated = nla_get_flag(tb[NL80211_MESH_SETUP_USERSPACE_AUTH]); in nl80211_parse_mesh_setup()
8268 setup->is_secure = nla_get_flag(tb[NL80211_MESH_SETUP_USERSPACE_AMPE]); in nl80211_parse_mesh_setup()
9119 nla_get_flag(info->attrs[NL80211_ATTR_MEASUREMENT_DURATION_MANDATORY]); in nl80211_trigger_scan()
9128 nla_get_flag(info->attrs[NL80211_ATTR_TX_NO_CCK_RATE]); in nl80211_trigger_scan()
[all …]
/linux-6.1.9/net/sched/
Dsch_dsmark.c385 p->set_tc_index = nla_get_flag(tb[TCA_DSMARK_SET_TC_INDEX]); in dsmark_init()
Dact_gate.c177 entry->gate_state = nla_get_flag(tb[TCA_GATE_ENTRY_GATE]); in fill_gate_entry()
Dsch_htb.c1082 offload = nla_get_flag(tb[TCA_HTB_OFFLOAD]); in htb_init()
/linux-6.1.9/include/net/
Dnetlink.h1707 static inline int nla_get_flag(const struct nlattr *nla) in nla_get_flag() function
/linux-6.1.9/net/ipv4/
Dnexthop.c2803 cfg->nh_fdb = nla_get_flag(tb[NHA_FDB]); in rtm_to_nh_config()
3121 filter->group_filter = nla_get_flag(tb[NHA_GROUPS]); in __nh_valid_dump_req()
3122 filter->fdb_filter = nla_get_flag(tb[NHA_FDB]); in __nh_valid_dump_req()
/linux-6.1.9/net/core/
Ddevlink.c5043 if (nla_get_flag(tb[i])) { in devlink_nl_cmd_selftests_run()
5532 value->vbool = nla_get_flag(param_data); in devlink_param_value_get_from_info()