Home
last modified time | relevance | path

Searched refs:NETLINK_CB (Results 51 – 75 of 134) sorted by relevance

123456

/openbmc/linux/drivers/vdpa/
H A Dvdpa.c569 err = vdpa_mgmtdev_fill(mdev, msg, NETLINK_CB(cb->skb).portid, in vdpa_nl_cmd_mgmtdev_get_dumpit()
848 err = vdpa_dev_fill(vdev, info->msg, NETLINK_CB(info->cb->skb).portid, in vdpa_dev_dump()
1164 err = vdpa_dev_config_fill(vdev, info->msg, NETLINK_CB(info->cb->skb).portid, in vdpa_dev_config_dump()
/openbmc/linux/net/devlink/
H A Ddev.c224 NETLINK_CB(cb->skb).portid, in devlink_nl_get_dump_one()
862 NETLINK_CB(cb->skb).portid, in devlink_nl_info_get_dump_one()
1267 NETLINK_CB(cb->skb).portid, in devlink_nl_selftests_get_dump_one()
H A Dtrap.c357 NETLINK_CB(cb->skb).portid, in devlink_nl_trap_get_dump_one()
567 NETLINK_CB(cb->skb).portid, in devlink_nl_trap_group_get_dump_one()
861 NETLINK_CB(cb->skb).portid, in devlink_nl_trap_policer_get_dump_one()
H A Dlinecard.c217 NETLINK_CB(cb->skb).portid, in devlink_nl_linecard_get_dump_one()
/openbmc/linux/net/netlink/
H A Dgenetlink.c850 info->info.snd_portid = NETLINK_CB(cb->skb).portid; in genl_start()
956 info.snd_portid = NETLINK_CB(skb).portid; in genl_family_rcv_msg_doit()
1224 if (ctrl_fill_info(rt, NETLINK_CB(cb->skb).portid, in ctrl_dumpfamily()
1495 hdr = genlmsg_put(skb, NETLINK_CB(cb->skb).portid, in ctrl_dumppolicy_prep()
/openbmc/linux/kernel/
H A Daudit.c1013 reply->net = get_net(sock_net(NETLINK_CB(request_skb).sk)); in audit_send_reply()
1014 reply->portid = NETLINK_CB(request_skb).portid; in audit_send_reply()
1307 NETLINK_CB(skb).portid, in audit_receive_msg()
1308 sock_net(NETLINK_CB(skb).sk), in audit_receive_msg()
/openbmc/linux/net/netlabel/
H A Dnetlabel_calipso.c222 data = genlmsg_put(cb_arg->skb, NETLINK_CB(cb_arg->nl_cb->skb).portid, in netlbl_calipso_listall_cb()
/openbmc/linux/net/ipv4/
H A Dnexthop.c2805 cfg->nlinfo.portid = NETLINK_CB(skb).portid; in rtm_to_nh_config()
3017 .portid = NETLINK_CB(skb).portid, in rtm_del_nexthop()
3060 err = nh_fill_node(skb, nh, RTM_NEWNEXTHOP, NETLINK_CB(in_skb).portid, in rtm_get_nexthop()
3067 err = rtnl_unicast(skb, net, NETLINK_CB(in_skb).portid); in rtm_get_nexthop()
3225 NETLINK_CB(cb->skb).portid, in rtm_dump_nexthop_cb()
3360 u32 portid = NETLINK_CB(cb->skb).portid; in rtm_dump_nexthop_bucket_nh()
3537 NETLINK_CB(in_skb).portid, nlh->nlmsg_seq, in rtm_get_nexthop_bucket()
3544 return rtnl_unicast(skb, net, NETLINK_CB(in_skb).portid); in rtm_get_nexthop_bucket()
H A Dipmr.c739 rtnl_unicast(skb, net, NETLINK_CB(skb).portid); in ipmr_destroy_unres()
1005 rtnl_unicast(skb, net, NETLINK_CB(skb).portid); in ipmr_cache_resolve()
2296 NETLINK_CB(skb2).portid = portid; in ipmr_get_route()
2574 err = ipmr_fill_mroute(mrt, skb, NETLINK_CB(in_skb).portid, in ipmr_rtm_getroute()
2580 err = rtnl_unicast(skb, net, NETLINK_CB(in_skb).portid); in ipmr_rtm_getroute()
2854 nlh = nlmsg_put(skb, NETLINK_CB(cb->skb).portid, in ipmr_rtm_dumplink()
/openbmc/linux/net/ieee802154/
H A Dnl802154.c633 NETLINK_CB(cb->skb).portid, in nl802154_dump_wpan_phy()
884 if (nl802154_send_iface(skb, NETLINK_CB(cb->skb).portid, in nl802154_dump_interface()
1878 NETLINK_CB(cb->skb).portid, in nl802154_dump_llsec_key()
2057 NETLINK_CB(cb->skb).portid, in nl802154_dump_llsec_dev()
2241 NETLINK_CB(cb->skb).portid, in nl802154_dump_llsec_devkey()
2411 NETLINK_CB(cb->skb).portid, in nl802154_dump_llsec_seclevel()
/openbmc/linux/net/xfrm/
H A Dxfrm_user.c1201 nlh = nlmsg_put(skb, NETLINK_CB(in_skb).portid, sp->nlmsg_seq, in dump_one_state()
1469 u32 sportid = NETLINK_CB(skb).portid; in xfrm_get_spdinfo()
1529 u32 sportid = NETLINK_CB(skb).portid; in xfrm_get_sadinfo()
1560 err = nlmsg_unicast(net->xfrm.nlsk, resp_skb, NETLINK_CB(skb).portid); in xfrm_get_sa()
1638 err = nlmsg_unicast(net->xfrm.nlsk, resp_skb, NETLINK_CB(skb).portid); in xfrm_alloc_userspi()
2096 nlh = nlmsg_put(skb, NETLINK_CB(in_skb).portid, sp->nlmsg_seq, in dump_one_policy()
2262 u32 portid = NETLINK_CB(skb).portid; in xfrm_get_default()
2348 NETLINK_CB(skb).portid); in xfrm_get_policy()
2508 err = nlmsg_unicast(net->xfrm.nlsk, r_skb, NETLINK_CB(skb).portid); in xfrm_get_ae()
/openbmc/linux/net/core/
H A Dfib_rules.c869 notify_rule_change(RTM_NEWRULE, rule, ops, nlh, NETLINK_CB(skb).portid); in fib_nl_newrule()
969 NETLINK_CB(skb).portid); in fib_nl_delrule()
1101 err = fib_nl_fill_rule(skb, rule, NETLINK_CB(cb->skb).portid, in dump_rules()
H A Dneighbour.c1949 NETLINK_CB(skb).portid, extack); in neigh_delete()
2101 NETLINK_CB(skb).portid, extack); in neigh_add()
2529 if (neightbl_fill_info(skb, tbl, NETLINK_CB(cb->skb).portid, in neightbl_dump_info()
2544 NETLINK_CB(cb->skb).portid, in neightbl_dump_info()
2732 if (neigh_fill_info(skb, n, NETLINK_CB(cb->skb).portid, in neigh_dump_table()
2775 if (pneigh_fill_info(skb, n, NETLINK_CB(cb->skb).portid, in pneigh_dump_table()
3062 return pneigh_get_reply(net, pn, NETLINK_CB(in_skb).portid, in neigh_get()
3077 err = neigh_get_reply(net, neigh, NETLINK_CB(in_skb).portid, in neigh_get()
/openbmc/linux/net/netfilter/
H A Dnfnetlink_hook.c162 unsigned int portid = NETLINK_CB(nlskb).portid; in nfnl_hook_dump_one()
H A Dnft_compat.c734 if (nfnl_compat_fill_info(skb2, NETLINK_CB(skb).portid, in nfnl_compat_get_rcu()
743 ret = nfnetlink_unicast(skb2, info->net, NETLINK_CB(skb).portid); in nfnl_compat_get_rcu()
/openbmc/linux/net/ipv6/
H A Dip6mr.c787 rtnl_unicast(skb, net, NETLINK_CB(skb).portid); in ip6mr_destroy_unres()
1030 rtnl_unicast(skb, net, NETLINK_CB(skb).portid); in ip6mr_cache_resolve()
2314 NETLINK_CB(skb2).portid = portid; in ip6mr_get_route()
2585 err = ip6mr_fill_mroute(mrt, skb, NETLINK_CB(in_skb).portid, in ip6mr_rtm_getroute()
2592 return rtnl_unicast(skb, net, NETLINK_CB(in_skb).portid); in ip6mr_rtm_getroute()
H A Dioam6.c296 NETLINK_CB(cb->skb).portid, in ioam6_genl_dumpns()
482 NETLINK_CB(cb->skb).portid, in ioam6_genl_dumpsc()
H A Dseg6.c388 NETLINK_CB(cb->skb).portid, in seg6_genl_dumphmac()
/openbmc/linux/include/net/
H A Dnetlink.h985 return nlmsg_put(skb, NETLINK_CB(cb->skb).portid, cb->nlh->nlmsg_seq, in nlmsg_put_answer()
1077 NETLINK_CB(skb).dst_group = group; in nlmsg_multicast()
/openbmc/linux/net/sched/
H A Dcls_api.c2038 u32 portid = oskb ? NETLINK_CB(oskb).portid : 0; in tfilter_notify()
2067 u32 portid = oskb ? NETLINK_CB(oskb).portid : 0; in tfilter_del_notify()
2653 n, NETLINK_CB(a->cb->skb).portid, in tcf_node_dump()
2687 NETLINK_CB(cb->skb).portid, in tcf_chain_dump()
2888 u32 portid = oskb ? NETLINK_CB(oskb).portid : 0; in tc_chain_notify()
2919 u32 portid = oskb ? NETLINK_CB(oskb).portid : 0; in tc_chain_notify_delete()
3194 NETLINK_CB(cb->skb).portid, in tc_dump_chain()
/openbmc/linux/net/l2tp/
H A Dl2tp_netlink.c504 if (l2tp_nl_tunnel_send(skb, NETLINK_CB(cb->skb).portid, in l2tp_nl_cmd_tunnel_dump()
853 if (l2tp_nl_session_send(skb, NETLINK_CB(cb->skb).portid, in l2tp_nl_cmd_session_dump()
/openbmc/linux/net/nfc/
H A Dnetlink.c66 hdr = genlmsg_put(msg, NETLINK_CB(cb->skb).portid, cb->nlh->nlmsg_seq, in nfc_genl_send_target()
620 rc = nfc_genl_send_device(skb, dev, NETLINK_CB(cb->skb).portid, in nfc_genl_dump_devices()
1388 rc = nfc_genl_send_se(skb, dev, NETLINK_CB(cb->skb).portid, in nfc_genl_dump_ses()
/openbmc/linux/net/smc/
H A Dsmc_ism.c239 nlh = genlmsg_put(skb, NETLINK_CB(cb->skb).portid, cb->nlh->nlmsg_seq, in smc_nl_handle_smcd_dev()
/openbmc/linux/net/psample/
H A Dpsample.c89 NETLINK_CB(cb->skb).portid, in psample_nl_cmd_get_group_dumpit()
/openbmc/linux/net/batman-adv/
H A Dbat_iv_ogm.c1982 int portid = NETLINK_CB(cb->skb).portid; in batadv_iv_ogm_orig_dump()
2140 int portid = NETLINK_CB(cb->skb).portid; in batadv_iv_ogm_neigh_dump()
2474 int portid = NETLINK_CB(cb->skb).portid; in batadv_iv_gw_dump()

123456