Home
last modified time | relevance | path

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

12

/linux-6.1.9/fs/cifs/ !
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-6.1.9/net/psample/ !
Dpsample.c229 nla_put_flag(skb, PSAMPLE_TUNNEL_KEY_ATTR_IPV4_INFO_BRIDGE)) in __psample_ip_tun_to_nlattr()
260 nla_put_flag(skb, PSAMPLE_TUNNEL_KEY_ATTR_DONT_FRAGMENT)) in __psample_ip_tun_to_nlattr()
263 nla_put_flag(skb, PSAMPLE_TUNNEL_KEY_ATTR_CSUM)) in __psample_ip_tun_to_nlattr()
272 nla_put_flag(skb, PSAMPLE_TUNNEL_KEY_ATTR_OAM)) in __psample_ip_tun_to_nlattr()
/linux-6.1.9/net/wireless/ !
Dnl80211.c1106 nla_put_flag(msg, NL80211_FREQUENCY_ATTR_DISABLED)) in nl80211_msg_put_channel()
1109 if (nla_put_flag(msg, NL80211_FREQUENCY_ATTR_NO_IR)) in nl80211_msg_put_channel()
1111 if (nla_put_flag(msg, __NL80211_FREQUENCY_ATTR_NO_IBSS)) in nl80211_msg_put_channel()
1115 if (nla_put_flag(msg, NL80211_FREQUENCY_ATTR_RADAR)) in nl80211_msg_put_channel()
1137 nla_put_flag(msg, NL80211_FREQUENCY_ATTR_NO_HT40_MINUS)) in nl80211_msg_put_channel()
1140 nla_put_flag(msg, NL80211_FREQUENCY_ATTR_NO_HT40_PLUS)) in nl80211_msg_put_channel()
1143 nla_put_flag(msg, NL80211_FREQUENCY_ATTR_NO_80MHZ)) in nl80211_msg_put_channel()
1146 nla_put_flag(msg, NL80211_FREQUENCY_ATTR_NO_160MHZ)) in nl80211_msg_put_channel()
1149 nla_put_flag(msg, NL80211_FREQUENCY_ATTR_INDOOR_ONLY)) in nl80211_msg_put_channel()
1152 nla_put_flag(msg, NL80211_FREQUENCY_ATTR_IR_CONCURRENT)) in nl80211_msg_put_channel()
[all …]
Dpmsr.c517 if (res->final && nla_put_flag(msg, NL80211_PMSR_RESP_ATTR_FINAL)) in nl80211_pmsr_send_result()
/linux-6.1.9/net/openvswitch/ !
Dvport-vxlan.c38 nla_put_flag(skb, OVS_VXLAN_EXT_GBP)) in vxlan_get_options()
Dconntrack.c1751 if (nla_put_flag(skb, OVS_NAT_ATTR_SRC)) in ovs_ct_nat_to_attr()
1754 if (nla_put_flag(skb, OVS_NAT_ATTR_DST)) in ovs_ct_nat_to_attr()
1793 nla_put_flag(skb, OVS_NAT_ATTR_PERSISTENT)) in ovs_ct_nat_to_attr()
1796 nla_put_flag(skb, OVS_NAT_ATTR_PROTO_HASH)) in ovs_ct_nat_to_attr()
1799 nla_put_flag(skb, OVS_NAT_ATTR_PROTO_RANDOM)) in ovs_ct_nat_to_attr()
1817 if (ct_info->commit && nla_put_flag(skb, ct_info->force in ovs_ct_action_to_attr()
Dflow_netlink.c880 return nla_put_flag(skb, OVS_TUNNEL_KEY_ATTR_IPV4_INFO_BRIDGE) in __ip_tun_to_nlattr()
911 nla_put_flag(skb, OVS_TUNNEL_KEY_ATTR_DONT_FRAGMENT)) in __ip_tun_to_nlattr()
914 nla_put_flag(skb, OVS_TUNNEL_KEY_ATTR_CSUM)) in __ip_tun_to_nlattr()
923 nla_put_flag(skb, OVS_TUNNEL_KEY_ATTR_OAM)) in __ip_tun_to_nlattr()
/linux-6.1.9/net/tipc/ !
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()
Dnet.c307 if (nla_put_flag(msg->skb, TIPC_NLA_NET_ADDR_LEGACY)) in __tipc_nl_addr_legacy_get()
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()
Dlink.c2719 if (nla_put_flag(msg->skb, TIPC_NLA_LINK_UP)) in __tipc_nl_add_link()
2722 if (nla_put_flag(msg->skb, TIPC_NLA_LINK_ACTIVE)) in __tipc_nl_add_link()
2836 if (nla_put_flag(msg->skb, TIPC_NLA_LINK_UP)) in tipc_nl_add_bc_link()
2839 if (nla_put_flag(msg->skb, TIPC_NLA_LINK_BROADCAST)) in tipc_nl_add_bc_link()
Dudp_media.c564 if (nla_put_flag(msg->skb, TIPC_NLA_UDP_MULTI_REMOTEIP)) in tipc_udp_nl_add_bearer_data()
Dsocket.c3486 if (nla_put_flag(skb, TIPC_NLA_CON_FLAG)) in __tipc_nl_add_sk_con()
3517 if (nla_put_flag(skb, TIPC_NLA_SOCK_HAS_PUBL)) in __tipc_nl_add_sk_info()
3671 nla_put_flag(skb, TIPC_NLA_SOCK_STAT_LINK_CONG)) in tipc_sk_fill_sock_diag()
3675 nla_put_flag(skb, TIPC_NLA_SOCK_STAT_CONN_CONG)) in tipc_sk_fill_sock_diag()
/linux-6.1.9/net/ncsi/ !
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-6.1.9/net/batman-adv/ !
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()
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()
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-6.1.9/net/ethtool/ !
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-6.1.9/drivers/net/team/ !
Dteam.c2392 nla_put_flag(skb, TEAM_ATTR_OPTION_DATA)) in team_nl_fill_one_option_get()
2404 if (opt_inst->removed && nla_put_flag(skb, TEAM_ATTR_OPTION_REMOVED)) in team_nl_fill_one_option_get()
2407 if (nla_put_flag(skb, TEAM_ATTR_OPTION_CHANGED)) in team_nl_fill_one_option_get()
2696 if (nla_put_flag(skb, TEAM_ATTR_PORT_CHANGED)) in team_nl_fill_one_port_get()
2701 nla_put_flag(skb, TEAM_ATTR_PORT_REMOVED)) || in team_nl_fill_one_port_get()
2703 nla_put_flag(skb, TEAM_ATTR_PORT_LINKUP)) || in team_nl_fill_one_port_get()
/linux-6.1.9/net/l2tp/ !
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-6.1.9/net/ipv4/ !
Dipip.c536 if (nla_put_flag(skb, IFLA_IPTUN_COLLECT_METADATA)) in ipip_fill_info()
/linux-6.1.9/net/sched/ !
Dsch_dsmark.c466 nla_put_flag(skb, TCA_DSMARK_SET_TC_INDEX)) in dsmark_dump()
Dact_gate.c480 if (entry->gate_state && nla_put_flag(skb, TCA_GATE_ENTRY_GATE)) in dumping_entry()
/linux-6.1.9/net/tls/ !
Dtls_main.c1145 err = nla_put_flag(skb, TLS_INFO_ZC_RO_TX); in tls_get_info()
1150 err = nla_put_flag(skb, TLS_INFO_RX_NO_PAD); in tls_get_info()
/linux-6.1.9/drivers/net/ !
Dbareudp.c715 nla_put_flag(skb, IFLA_BAREUDP_MULTIPROTO_MODE)) in bareudp_fill_info()

12