Home
last modified time | relevance | path

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

12

/linux/fs/cifs/
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()
/linux/net/psample/
A Dpsample.c228 nla_put_flag(skb, PSAMPLE_TUNNEL_KEY_ATTR_IPV4_INFO_BRIDGE)) in __psample_ip_tun_to_nlattr()
259 nla_put_flag(skb, PSAMPLE_TUNNEL_KEY_ATTR_DONT_FRAGMENT)) in __psample_ip_tun_to_nlattr()
262 nla_put_flag(skb, PSAMPLE_TUNNEL_KEY_ATTR_CSUM)) in __psample_ip_tun_to_nlattr()
271 nla_put_flag(skb, PSAMPLE_TUNNEL_KEY_ATTR_OAM)) in __psample_ip_tun_to_nlattr()
/linux/net/wireless/
A Dnl80211.c1516 if ((ifmodes & 1) && nla_put_flag(msg, i)) in nl80211_put_iftypes()
1659 nla_put_flag(msg, NL80211_WOWLAN_TRIG_ANY)) || in nl80211_send_wowlan()
1845 nla_put_flag(msg, in nl80211_send_band_rateinfo()
2331 nla_put_flag(msg, NL80211_ATTR_ROAM_SUPPORT)) in nl80211_send_wiphy()
2334 nla_put_flag(msg, NL80211_ATTR_TDLS_SUPPORT)) in nl80211_send_wiphy()
2740 nla_put_flag(msg, i)) in nl80211_send_wiphy()
5917 if (rate_flg && nla_put_flag(msg, rate_flg)) in nl80211_put_sta_rate()
9617 nla_put_flag(msg, NL80211_BSS_PRESP_DATA)) in nl80211_send_bss()
16617 nla_put_flag(msg, NL80211_ATTR_TIMED_OUT) || in nl80211_send_mlme_timeout()
17384 (unencrypted && nla_put_flag(msg, in __nl80211_rx_control_port()
[all …]
A Dpmsr.c519 if (res->final && nla_put_flag(msg, NL80211_PMSR_RESP_ATTR_FINAL)) in nl80211_pmsr_send_result()
/linux/net/tipc/
A Dmonitor.c763 if (nla_put_flag(msg->skb, TIPC_NLA_MON_PEER_UP)) in __tipc_nl_add_monitor_peer()
766 if (nla_put_flag(msg->skb, TIPC_NLA_MON_PEER_LOCAL)) in __tipc_nl_add_monitor_peer()
769 if (nla_put_flag(msg->skb, TIPC_NLA_MON_PEER_HEAD)) in __tipc_nl_add_monitor_peer()
850 if (nla_put_flag(msg->skb, TIPC_NLA_MON_ACTIVE)) in __tipc_nl_add_monitor()
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()
A Dnet.c307 if (nla_put_flag(msg->skb, TIPC_NLA_NET_ADDR_LEGACY)) in __tipc_nl_addr_legacy_get()
A Dlink.c2710 if (nla_put_flag(msg->skb, TIPC_NLA_LINK_UP)) in __tipc_nl_add_link()
2713 if (nla_put_flag(msg->skb, TIPC_NLA_LINK_ACTIVE)) in __tipc_nl_add_link()
2827 if (nla_put_flag(msg->skb, TIPC_NLA_LINK_UP)) in tipc_nl_add_bc_link()
2830 if (nla_put_flag(msg->skb, TIPC_NLA_LINK_BROADCAST)) in tipc_nl_add_bc_link()
A Dudp_media.c564 if (nla_put_flag(msg->skb, TIPC_NLA_UDP_MULTI_REMOTEIP)) in tipc_udp_nl_add_bearer_data()
A Dsocket.c3484 if (nla_put_flag(skb, TIPC_NLA_CON_FLAG)) in __tipc_nl_add_sk_con()
3515 if (nla_put_flag(skb, TIPC_NLA_SOCK_HAS_PUBL)) in __tipc_nl_add_sk_info()
3669 nla_put_flag(skb, TIPC_NLA_SOCK_STAT_LINK_CONG)) in tipc_sk_fill_sock_diag()
3673 nla_put_flag(skb, TIPC_NLA_SOCK_STAT_CONN_CONG)) in tipc_sk_fill_sock_diag()
/linux/net/openvswitch/
A Dvport-vxlan.c38 nla_put_flag(skb, OVS_VXLAN_EXT_GBP)) in vxlan_get_options()
A Dconntrack.c1737 if (nla_put_flag(skb, OVS_NAT_ATTR_SRC)) in ovs_ct_nat_to_attr()
1740 if (nla_put_flag(skb, OVS_NAT_ATTR_DST)) in ovs_ct_nat_to_attr()
1779 nla_put_flag(skb, OVS_NAT_ATTR_PERSISTENT)) in ovs_ct_nat_to_attr()
1782 nla_put_flag(skb, OVS_NAT_ATTR_PROTO_HASH)) in ovs_ct_nat_to_attr()
1785 nla_put_flag(skb, OVS_NAT_ATTR_PROTO_RANDOM)) in ovs_ct_nat_to_attr()
1803 if (ct_info->commit && nla_put_flag(skb, ct_info->force in ovs_ct_action_to_attr()
A Dflow_netlink.c870 return nla_put_flag(skb, OVS_TUNNEL_KEY_ATTR_IPV4_INFO_BRIDGE) in __ip_tun_to_nlattr()
901 nla_put_flag(skb, OVS_TUNNEL_KEY_ATTR_DONT_FRAGMENT)) in __ip_tun_to_nlattr()
904 nla_put_flag(skb, OVS_TUNNEL_KEY_ATTR_CSUM)) in __ip_tun_to_nlattr()
913 nla_put_flag(skb, OVS_TUNNEL_KEY_ATTR_OAM)) in __ip_tun_to_nlattr()
/linux/net/ncsi/
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()
/linux/net/ethtool/
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()
/linux/net/batman-adv/
A Dbat_v.c311 if (best && nla_put_flag(msg, BATADV_ATTR_FLAG_BEST)) in batadv_v_orig_dump_subentry()
710 if (nla_put_flag(msg, BATADV_ATTR_FLAG_BEST)) { in batadv_v_gw_dump_entry()
A Dbridge_loop_avoidance.c2157 if (nla_put_flag(msg, BATADV_ATTR_BLA_OWN)) { in batadv_bla_claim_dump_entry()
2327 if (nla_put_flag(msg, BATADV_ATTR_BLA_OWN)) { in batadv_bla_backbone_dump_entry()
A Dbat_iv_ogm.c1851 if (best && nla_put_flag(msg, BATADV_ATTR_FLAG_BEST)) in batadv_iv_ogm_orig_dump_subentry()
2434 if (nla_put_flag(msg, BATADV_ATTR_FLAG_BEST)) { in batadv_iv_gw_dump_entry()
/linux/drivers/net/team/
A Dteam.c2375 nla_put_flag(skb, TEAM_ATTR_OPTION_DATA)) in team_nl_fill_one_option_get()
2387 if (opt_inst->removed && nla_put_flag(skb, TEAM_ATTR_OPTION_REMOVED)) in team_nl_fill_one_option_get()
2390 if (nla_put_flag(skb, TEAM_ATTR_OPTION_CHANGED)) in team_nl_fill_one_option_get()
2679 if (nla_put_flag(skb, TEAM_ATTR_PORT_CHANGED)) in team_nl_fill_one_port_get()
2684 nla_put_flag(skb, TEAM_ATTR_PORT_REMOVED)) || in team_nl_fill_one_port_get()
2686 nla_put_flag(skb, TEAM_ATTR_PORT_LINKUP)) || in team_nl_fill_one_port_get()
/linux/net/l2tp/
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()
/linux/net/sched/
A Dsch_dsmark.c472 nla_put_flag(skb, TCA_DSMARK_SET_TC_INDEX)) in dsmark_dump()
A Dact_gate.c481 if (entry->gate_state && nla_put_flag(skb, TCA_GATE_ENTRY_GATE)) in dumping_entry()
A Dsch_htb.c1253 if (q->offload && nla_put_flag(skb, TCA_HTB_OFFLOAD)) in htb_dump()
1294 if (q->offload && nla_put_flag(skb, TCA_HTB_OFFLOAD)) in htb_dump_class()
/linux/net/ipv4/
A Dipip.c592 if (nla_put_flag(skb, IFLA_IPTUN_COLLECT_METADATA)) in ipip_fill_info()
/linux/drivers/net/
A Dbareudp.c702 nla_put_flag(skb, IFLA_BAREUDP_MULTIPROTO_MODE)) in bareudp_fill_info()

Completed in 87 milliseconds

12