Home
last modified time | relevance | path

Searched refs:nla_put_flag (Results 1 – 25 of 44) sorted by relevance

12

/openbmc/linux/fs/smb/client/
H A Dcifs_swn.c39 ret = nla_put_flag(skb, CIFS_GENL_ATTR_SWN_KRB_AUTH); in cifs_swn_auth_info_krb()
124 ret = nla_put_flag(skb, CIFS_GENL_ATTR_SWN_NET_NAME_NOTIFY); in cifs_swn_send_register_message()
130 ret = nla_put_flag(skb, CIFS_GENL_ATTR_SWN_SHARE_NAME_NOTIFY); in cifs_swn_send_register_message()
136 ret = nla_put_flag(skb, CIFS_GENL_ATTR_SWN_IP_NOTIFY); in cifs_swn_send_register_message()
216 ret = nla_put_flag(skb, CIFS_GENL_ATTR_SWN_NET_NAME_NOTIFY); in cifs_swn_send_unregister_message()
222 ret = nla_put_flag(skb, CIFS_GENL_ATTR_SWN_SHARE_NAME_NOTIFY); in cifs_swn_send_unregister_message()
228 ret = nla_put_flag(skb, CIFS_GENL_ATTR_SWN_IP_NOTIFY); in cifs_swn_send_unregister_message()
/openbmc/linux/net/psample/
H A Dpsample.c230 nla_put_flag(skb, PSAMPLE_TUNNEL_KEY_ATTR_IPV4_INFO_BRIDGE)) in __psample_ip_tun_to_nlattr()
261 nla_put_flag(skb, PSAMPLE_TUNNEL_KEY_ATTR_DONT_FRAGMENT)) in __psample_ip_tun_to_nlattr()
264 nla_put_flag(skb, PSAMPLE_TUNNEL_KEY_ATTR_CSUM)) in __psample_ip_tun_to_nlattr()
273 nla_put_flag(skb, PSAMPLE_TUNNEL_KEY_ATTR_OAM)) in __psample_ip_tun_to_nlattr()
/openbmc/linux/net/wireless/
H A Dnl80211.c1123 nla_put_flag(msg, NL80211_FREQUENCY_ATTR_DISABLED)) in nl80211_msg_put_channel()
1126 if (nla_put_flag(msg, NL80211_FREQUENCY_ATTR_NO_IR)) in nl80211_msg_put_channel()
1128 if (nla_put_flag(msg, __NL80211_FREQUENCY_ATTR_NO_IBSS)) in nl80211_msg_put_channel()
1132 if (nla_put_flag(msg, NL80211_FREQUENCY_ATTR_RADAR)) in nl80211_msg_put_channel()
1154 nla_put_flag(msg, NL80211_FREQUENCY_ATTR_NO_HT40_MINUS)) in nl80211_msg_put_channel()
1157 nla_put_flag(msg, NL80211_FREQUENCY_ATTR_NO_HT40_PLUS)) in nl80211_msg_put_channel()
1160 nla_put_flag(msg, NL80211_FREQUENCY_ATTR_NO_80MHZ)) in nl80211_msg_put_channel()
1163 nla_put_flag(msg, NL80211_FREQUENCY_ATTR_NO_160MHZ)) in nl80211_msg_put_channel()
1166 nla_put_flag(msg, NL80211_FREQUENCY_ATTR_INDOOR_ONLY)) in nl80211_msg_put_channel()
1169 nla_put_flag(msg, NL80211_FREQUENCY_ATTR_IR_CONCURRENT)) in nl80211_msg_put_channel()
[all …]
H A Dpmsr.c516 if (res->final && nla_put_flag(msg, NL80211_PMSR_RESP_ATTR_FINAL)) in nl80211_pmsr_send_result()
/openbmc/linux/net/tipc/
H A Dmonitor.c765 if (nla_put_flag(msg->skb, TIPC_NLA_MON_PEER_UP)) in __tipc_nl_add_monitor_peer()
768 if (nla_put_flag(msg->skb, TIPC_NLA_MON_PEER_LOCAL)) in __tipc_nl_add_monitor_peer()
771 if (nla_put_flag(msg->skb, TIPC_NLA_MON_PEER_HEAD)) in __tipc_nl_add_monitor_peer()
852 if (nla_put_flag(msg->skb, TIPC_NLA_MON_ACTIVE)) in __tipc_nl_add_monitor()
H A Dgroup.c942 if (nla_put_flag(skb, TIPC_NLA_SOCK_GROUP_NODE_SCOPE)) in tipc_group_fill_sock_diag()
946 if (nla_put_flag(skb, TIPC_NLA_SOCK_GROUP_CLUSTER_SCOPE)) in tipc_group_fill_sock_diag()
950 if (nla_put_flag(skb, TIPC_NLA_SOCK_GROUP_OPEN)) in tipc_group_fill_sock_diag()
H A Dnet.c307 if (nla_put_flag(msg->skb, TIPC_NLA_NET_ADDR_LEGACY)) in __tipc_nl_addr_legacy_get()
H A Dlink.c2722 if (nla_put_flag(msg->skb, TIPC_NLA_LINK_UP)) in __tipc_nl_add_link()
2725 if (nla_put_flag(msg->skb, TIPC_NLA_LINK_ACTIVE)) in __tipc_nl_add_link()
2839 if (nla_put_flag(msg->skb, TIPC_NLA_LINK_UP)) in tipc_nl_add_bc_link()
2842 if (nla_put_flag(msg->skb, TIPC_NLA_LINK_BROADCAST)) in tipc_nl_add_bc_link()
H A Dudp_media.c567 if (nla_put_flag(msg->skb, TIPC_NLA_UDP_MULTI_REMOTEIP)) in tipc_udp_nl_add_bearer_data()
/openbmc/linux/net/openvswitch/
H A Dvport-vxlan.c38 nla_put_flag(skb, OVS_VXLAN_EXT_GBP)) in vxlan_get_options()
H A Dconntrack.c1430 if (nla_put_flag(skb, OVS_NAT_ATTR_SRC)) in ovs_ct_nat_to_attr()
1433 if (nla_put_flag(skb, OVS_NAT_ATTR_DST)) in ovs_ct_nat_to_attr()
1472 nla_put_flag(skb, OVS_NAT_ATTR_PERSISTENT)) in ovs_ct_nat_to_attr()
1475 nla_put_flag(skb, OVS_NAT_ATTR_PROTO_HASH)) in ovs_ct_nat_to_attr()
1478 nla_put_flag(skb, OVS_NAT_ATTR_PROTO_RANDOM)) in ovs_ct_nat_to_attr()
1496 if (ct_info->commit && nla_put_flag(skb, ct_info->force in ovs_ct_action_to_attr()
H A Dflow_netlink.c883 return nla_put_flag(skb, OVS_TUNNEL_KEY_ATTR_IPV4_INFO_BRIDGE) in __ip_tun_to_nlattr()
914 nla_put_flag(skb, OVS_TUNNEL_KEY_ATTR_DONT_FRAGMENT)) in __ip_tun_to_nlattr()
917 nla_put_flag(skb, OVS_TUNNEL_KEY_ATTR_CSUM)) in __ip_tun_to_nlattr()
926 nla_put_flag(skb, OVS_TUNNEL_KEY_ATTR_OAM)) in __ip_tun_to_nlattr()
/openbmc/linux/net/ncsi/
H A Dncsi-netlink.c70 nla_put_flag(skb, NCSI_CHANNEL_ATTR_ACTIVE); in ncsi_write_channel_info()
72 nla_put_flag(skb, NCSI_CHANNEL_ATTR_FORCED); in ncsi_write_channel_info()
121 nla_put_flag(skb, NCSI_PKG_ATTR_FORCED); in ncsi_write_package_info()
/openbmc/linux/net/batman-adv/
H A Dbat_v.c311 if (best && nla_put_flag(msg, BATADV_ATTR_FLAG_BEST)) in batadv_v_orig_dump_subentry()
691 if (nla_put_flag(msg, BATADV_ATTR_FLAG_BEST)) { in batadv_v_gw_dump_entry()
H A Dbridge_loop_avoidance.c2158 if (nla_put_flag(msg, BATADV_ATTR_BLA_OWN)) { in batadv_bla_claim_dump_entry()
2328 if (nla_put_flag(msg, BATADV_ATTR_BLA_OWN)) { in batadv_bla_backbone_dump_entry()
H A Dbat_iv_ogm.c1850 if (best && nla_put_flag(msg, BATADV_ATTR_FLAG_BEST)) in batadv_iv_ogm_orig_dump_subentry()
2433 if (nla_put_flag(msg, BATADV_ATTR_FLAG_BEST)) { in batadv_iv_gw_dump_entry()
/openbmc/linux/net/devlink/
H A Dtrap.c141 nla_put_flag(msg, DEVLINK_ATTR_TRAP_METADATA_TYPE_IN_PORT)) in devlink_trap_metadata_put()
144 nla_put_flag(msg, DEVLINK_ATTR_TRAP_METADATA_TYPE_FA_COOKIE)) in devlink_trap_metadata_put()
284 nla_put_flag(msg, DEVLINK_ATTR_TRAP_GENERIC)) in devlink_nl_trap_fill()
495 nla_put_flag(msg, DEVLINK_ATTR_TRAP_GENERIC)) in devlink_nl_trap_group_fill()
H A Dparam.c223 nla_put_flag(msg, DEVLINK_ATTR_PARAM_VALUE_DATA)) in devlink_nl_param_value_fill_one()
293 if (param->generic && nla_put_flag(msg, DEVLINK_ATTR_PARAM_GENERIC)) in devlink_nl_param_fill()
/openbmc/linux/net/ethtool/
H A Dbitset.c243 if (!mask && nla_put_flag(skb, ETHTOOL_A_BITSET_NOMASK)) in ethnl_put_bitset32()
290 nla_put_flag(skb, ETHTOOL_A_BITSET_BIT_VALUE)) in ethnl_put_bitset32()
/openbmc/linux/drivers/net/team/
H A Dteam.c2402 nla_put_flag(skb, TEAM_ATTR_OPTION_DATA)) in team_nl_fill_one_option_get()
2414 if (opt_inst->removed && nla_put_flag(skb, TEAM_ATTR_OPTION_REMOVED)) in team_nl_fill_one_option_get()
2417 if (nla_put_flag(skb, TEAM_ATTR_OPTION_CHANGED)) in team_nl_fill_one_option_get()
2706 if (nla_put_flag(skb, TEAM_ATTR_PORT_CHANGED)) in team_nl_fill_one_port_get()
2711 nla_put_flag(skb, TEAM_ATTR_PORT_REMOVED)) || in team_nl_fill_one_port_get()
2713 nla_put_flag(skb, TEAM_ATTR_PORT_LINKUP)) || in team_nl_fill_one_port_get()
/openbmc/linux/net/l2tp/
H A Dl2tp_netlink.c326 nla_put_flag(skb, L2TP_ATTR_UDP_ZERO_CSUM6_TX)) in l2tp_nl_tunnel_send_addr6()
329 nla_put_flag(skb, L2TP_ATTR_UDP_ZERO_CSUM6_RX)) in l2tp_nl_tunnel_send_addr6()
/openbmc/linux/drivers/net/wireless/virtual/
H A Dmac80211_hwsim.c3277 if (request->asap && nla_put_flag(msg, NL80211_PMSR_FTM_REQ_ATTR_ASAP)) in mac80211_hwsim_send_pmsr_ftm_request_peer()
3280 if (request->request_lci && nla_put_flag(msg, NL80211_PMSR_FTM_REQ_ATTR_REQUEST_LCI)) in mac80211_hwsim_send_pmsr_ftm_request_peer()
3284 nla_put_flag(msg, NL80211_PMSR_FTM_REQ_ATTR_REQUEST_CIVICLOC)) in mac80211_hwsim_send_pmsr_ftm_request_peer()
3287 if (request->trigger_based && nla_put_flag(msg, NL80211_PMSR_FTM_REQ_ATTR_TRIGGER_BASED)) in mac80211_hwsim_send_pmsr_ftm_request_peer()
3291 nla_put_flag(msg, NL80211_PMSR_FTM_REQ_ATTR_NON_TRIGGER_BASED)) in mac80211_hwsim_send_pmsr_ftm_request_peer()
3294 if (request->lmr_feedback && nla_put_flag(msg, NL80211_PMSR_FTM_REQ_ATTR_LMR_FEEDBACK)) in mac80211_hwsim_send_pmsr_ftm_request_peer()
3348 if (request->report_ap_tsf && nla_put_flag(msg, NL80211_PMSR_REQ_ATTR_GET_AP_TSF)) in mac80211_hwsim_send_pmsr_request_peer()
3951 ret = nla_put_flag(skb, HWSIM_ATTR_REG_STRICT_REG); in append_radio_msg()
3957 ret = nla_put_flag(skb, HWSIM_ATTR_SUPPORT_P2P_DEVICE); in append_radio_msg()
3963 ret = nla_put_flag(skb, HWSIM_ATTR_USE_CHANCTX); in append_radio_msg()
/openbmc/linux/net/tls/
H A Dtls_main.c1050 err = nla_put_flag(skb, TLS_INFO_ZC_RO_TX); in tls_get_info()
1055 err = nla_put_flag(skb, TLS_INFO_RX_NO_PAD); in tls_get_info()
/openbmc/linux/net/ipv4/
H A Dipip.c537 if (nla_put_flag(skb, IFLA_IPTUN_COLLECT_METADATA)) in ipip_fill_info()
/openbmc/linux/net/sched/
H A Dact_gate.c484 if (entry->gate_state && nla_put_flag(skb, TCA_GATE_ENTRY_GATE)) in dumping_entry()

12