Home
last modified time | relevance | path

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

/Linux-v5.4/net/l2tp/
Dl2tp_netlink.c222 cfg.use_udp_checksums = nla_get_flag( in l2tp_nl_cmd_tunnel_create()
226 cfg.udp6_zero_tx_checksums = nla_get_flag( in l2tp_nl_cmd_tunnel_create()
228 cfg.udp6_zero_rx_checksums = nla_get_flag( in l2tp_nl_cmd_tunnel_create()
/Linux-v5.4/net/ncsi/
Dncsi-netlink.c609 if (nla_get_flag(info->attrs[NCSI_ATTR_MULTI_FLAG])) { in ncsi_set_package_mask_nl()
701 if (nla_get_flag(info->attrs[NCSI_ATTR_MULTI_FLAG])) { in ncsi_set_channel_mask_nl()
/Linux-v5.4/net/tipc/
Dnetlink_compat.c666 link_info.dest = nla_get_flag(link[TIPC_NLA_LINK_DEST]); in tipc_nl_compat_link_dump()
667 link_info.up = htonl(nla_get_flag(link[TIPC_NLA_LINK_UP])); in tipc_nl_compat_link_dump()
1098 node_info.up = htonl(nla_get_flag(node[TIPC_NLA_NODE_UP])); in tipc_nl_compat_node_dump()
/Linux-v5.4/net/sched/
Dsch_dsmark.c388 p->set_tc_index = nla_get_flag(tb[TCA_DSMARK_SET_TC_INDEX]); in dsmark_init()
/Linux-v5.4/net/wireless/
Dnl80211.c4780 params.pbss = nla_get_flag(info->attrs[NL80211_ATTR_PBSS]); in nl80211_start_ap()
4791 nla_get_flag(info->attrs[NL80211_ATTR_TWT_RESPONDER]); in nl80211_start_ap()
6883 setup->user_mpm = nla_get_flag(tb[NL80211_MESH_SETUP_USERSPACE_MPM]); in nl80211_parse_mesh_setup()
6884 setup->is_authenticated = nla_get_flag(tb[NL80211_MESH_SETUP_USERSPACE_AUTH]); in nl80211_parse_mesh_setup()
6885 setup->is_secure = nla_get_flag(tb[NL80211_MESH_SETUP_USERSPACE_AMPE]); in nl80211_parse_mesh_setup()
7696 nla_get_flag(info->attrs[NL80211_ATTR_MEASUREMENT_DURATION_MANDATORY]); in nl80211_trigger_scan()
7705 nla_get_flag(info->attrs[NL80211_ATTR_TX_NO_CCK_RATE]); in nl80211_trigger_scan()
8587 !nla_get_flag(info->attrs[NL80211_ATTR_HANDLE_DFS])) { in nl80211_channel_switch()
9230 if (nla_get_flag(info->attrs[NL80211_ATTR_DISABLE_HT])) in nl80211_associate()
9246 if (nla_get_flag(info->attrs[NL80211_ATTR_DISABLE_VHT])) in nl80211_associate()
[all …]
/Linux-v5.4/include/net/
Dnetlink.h1610 static inline int nla_get_flag(const struct nlattr *nla) in nla_get_flag() function