Home
last modified time | relevance | path

Searched refs:portid (Results 1 – 159 of 159) sorted by relevance

/linux-4.4.14/include/net/netfilter/
Dnf_conntrack_ecache.h20 u32 portid; /* netlink portid of destroyer */ member
62 u32 portid; member
96 u32 portid, in nf_conntrack_eventmask_report() argument
116 .portid = e->portid ? e->portid : portid, in nf_conntrack_eventmask_report()
120 unsigned long missed = e->portid ? 0 : e->missed; in nf_conntrack_eventmask_report()
133 e->portid == 0 && portid != 0) in nf_conntrack_eventmask_report()
134 e->portid = portid; in nf_conntrack_eventmask_report()
149 u32 portid, int report) in nf_conntrack_event_report() argument
151 return nf_conntrack_eventmask_report(1 << event, ct, portid, report); in nf_conntrack_event_report()
162 u32 portid; member
[all …]
Dnf_conntrack_expect.h96 u32 portid, int report);
114 u32 portid, int report);
Dnf_conntrack.h249 void *data, u32 portid, int report);
Dnf_tables.h105 u32 portid; member
/linux-4.4.14/arch/sparc/kernel/
Dsbus.c276 int reported, portid; in sysio_ue_handler() local
291 portid = of_getintprop_default(op->dev.of_node, "portid", -1); in sysio_ue_handler()
295 portid, in sysio_ue_handler()
303 portid, in sysio_ue_handler()
307 printk("SYSIO[%x]: AFAR[%016lx]\n", portid, afar); in sysio_ue_handler()
308 printk("SYSIO[%x]: Secondary UE errors [", portid); in sysio_ue_handler()
350 int reported, portid; in sysio_ce_handler() local
365 portid = of_getintprop_default(op->dev.of_node, "portid", -1); in sysio_ce_handler()
368 portid, in sysio_ce_handler()
380 portid, in sysio_ce_handler()
[all …]
Dchmc.c89 int portid; member
172 u32 portid; member
376 dp->base_addr = (p->portid * (64UL * 1024 * 1024 * 1024)); in jbusmc_construct_one_dimm_group()
433 p->portid = *prop; in jbusmc_probe()
597 if (p->portid == this_cpu) { in chmc_read_mcreg()
616 if (p->portid == smp_processor_id()) {
634 bp->bank_id = (CHMCTRL_NBANKS * p->portid) + which_bank; in chmc_interpret_one_decode_reg()
697 int len, portid; in chmc_probe() local
707 portid = of_getintprop_default(dp, "portid", -1); in chmc_probe()
708 if (portid == -1) in chmc_probe()
[all …]
Dpci_fire.c247 upa_writeq(pbm->portid << 6, pbm->pbm_regs + IMONDO_DATA0); in pci_fire_msiq_alloc()
293 fixup = ((pbm->portid << 6) | devino) - int_ctrlr; in pci_fire_msiq_build_irq()
412 struct platform_device *op, u32 portid) in pci_fire_pbm_init() argument
425 pbm->portid = portid; in pci_fire_pbm_init()
462 u32 portid; in fire_probe() local
465 portid = of_getintprop_default(dp, "portid", 0xff); in fire_probe()
482 err = pci_fire_pbm_init(pbm, op, portid); in fire_probe()
Dprom_64.c499 int portid = -1; in fill_in_one_cpu() local
509 portid = of_getintprop_default(portid_parent, in fill_in_one_cpu()
511 if (portid >= 0) in fill_in_one_cpu()
557 cpu_data(cpuid).core_id = portid + 1; in fill_in_one_cpu()
558 cpu_data(cpuid).proc_id = portid; in fill_in_one_cpu()
Dprom_irqtrans.c373 u32 portid; member
408 if (irq_data->portid & 1) in schizo_irq_build()
444 irq_data->portid = of_getintprop_default(dp, "portid", 0); in __schizo_irq_trans_init()
481 u32 portid; member
536 ino |= (irq_data->portid << 6); in fire_irq_build()
555 irq_data->portid = of_getintprop_default(dp, "portid", 0); in fire_irq_trans_init()
Dpci_schizo.c1310 struct platform_device *op, u32 portid, in schizo_pbm_init() argument
1356 pbm->portid = portid; in schizo_pbm_init()
1402 static struct pci_pbm_info *schizo_find_sibling(u32 portid, int chip_type) in schizo_find_sibling() argument
1407 if (portid_compare(pbm->portid, portid, chip_type)) in schizo_find_sibling()
1418 u32 portid; in __schizo_init() local
1421 portid = of_getintprop_default(dp, "portid", 0xff); in __schizo_init()
1430 pbm->sibling = schizo_find_sibling(portid, chip_type); in __schizo_init()
1440 if (schizo_pbm_init(pbm, op, portid, chip_type)) in __schizo_init()
Dpci_psycho.c499 if (pbm->portid == upa_portid) in psycho_find_sibling()
537 pbm->portid = upa_portid; in psycho_probe()
570 starfire_hookup(pbm->portid); in psycho_probe()
Dpci_impl.h75 u32 portid; member
Dpci_sabre.c499 pbm->portid = upa_portid; in sabre_probe()
/linux-4.4.14/arch/powerpc/boot/dts/fsl/
Dt4240si-pre.dtsi93 fsl,portid-mapping = <0x80000000>;
100 fsl,portid-mapping = <0x80000000>;
107 fsl,portid-mapping = <0x80000000>;
114 fsl,portid-mapping = <0x80000000>;
121 fsl,portid-mapping = <0x40000000>;
128 fsl,portid-mapping = <0x40000000>;
135 fsl,portid-mapping = <0x40000000>;
142 fsl,portid-mapping = <0x40000000>;
149 fsl,portid-mapping = <0x20000000>;
156 fsl,portid-mapping = <0x20000000>;
[all …]
Dp4080si-pre.dtsi99 fsl,portid-mapping = <0x80000000>;
109 fsl,portid-mapping = <0x40000000>;
119 fsl,portid-mapping = <0x20000000>;
129 fsl,portid-mapping = <0x10000000>;
139 fsl,portid-mapping = <0x08000000>;
149 fsl,portid-mapping = <0x04000000>;
159 fsl,portid-mapping = <0x02000000>;
169 fsl,portid-mapping = <0x01000000>;
Dt208xsi-pre.dtsi86 fsl,portid-mapping = <0x80000000>;
93 fsl,portid-mapping = <0x80000000>;
100 fsl,portid-mapping = <0x80000000>;
107 fsl,portid-mapping = <0x80000000>;
Db4860si-pre.dtsi79 fsl,portid-mapping = <0x80000000>;
86 fsl,portid-mapping = <0x80000000>;
93 fsl,portid-mapping = <0x80000000>;
100 fsl,portid-mapping = <0x80000000>;
Dp2041si-pre.dtsi94 fsl,portid-mapping = <0x80000000>;
104 fsl,portid-mapping = <0x40000000>;
114 fsl,portid-mapping = <0x20000000>;
124 fsl,portid-mapping = <0x10000000>;
Dp3041si-pre.dtsi95 fsl,portid-mapping = <0x80000000>;
105 fsl,portid-mapping = <0x40000000>;
115 fsl,portid-mapping = <0x20000000>;
125 fsl,portid-mapping = <0x10000000>;
Dp5040si-pre.dtsi101 fsl,portid-mapping = <0x80000000>;
111 fsl,portid-mapping = <0x40000000>;
121 fsl,portid-mapping = <0x20000000>;
131 fsl,portid-mapping = <0x10000000>;
Db4420si-pre.dtsi74 fsl,portid-mapping = <0x80000000>;
81 fsl,portid-mapping = <0x80000000>;
Dp5020si-pre.dtsi101 fsl,portid-mapping = <0x80000000>;
111 fsl,portid-mapping = <0x40000000>;
Dp5020si-post.dtsi316 fsl,portid-mapping = <0x3c000000>;
Dp2041si-post.dtsi284 fsl,portid-mapping = <0x0f000000>;
Dp3041si-post.dtsi311 fsl,portid-mapping = <0x0f000000>;
Db4si-post.dtsi354 fsl,portid-mapping = <0x8000>;
Dp5040si-post.dtsi270 fsl,portid-mapping = <0x0f800000>;
Dp4080si-post.dtsi319 fsl,portid-mapping = <0x00f80000>;
Dt2081si-post.dtsi499 fsl,portid-mapping = <0x8000>;
Dt4240si-post.dtsi935 fsl,portid-mapping = <0x8000>;
/linux-4.4.14/include/net/
Dgenetlink.h191 void *genlmsg_put(struct sk_buff *skb, u32 portid, u32 seq,
294 u32 portid, unsigned int group, gfp_t flags) in genlmsg_multicast_netns() argument
299 return nlmsg_multicast(net->genl_sock, skb, portid, group, flags); in genlmsg_multicast_netns()
311 struct sk_buff *skb, u32 portid, in genlmsg_multicast() argument
315 portid, group, flags); in genlmsg_multicast()
329 struct sk_buff *skb, u32 portid,
337 static inline int genlmsg_unicast(struct net *net, struct sk_buff *skb, u32 portid) in genlmsg_unicast() argument
339 return nlmsg_unicast(net->genl_sock, skb, portid); in genlmsg_unicast()
413 u32 portid, u32 group, int code) in genl_set_err() argument
418 return netlink_set_err(net->genl_sock, portid, group, code); in genl_set_err()
Dnetlink.h228 u32 portid; member
233 int nlmsg_notify(struct sock *sk, struct sk_buff *skb, u32 portid,
446 static inline struct nlmsghdr *nlmsg_put(struct sk_buff *skb, u32 portid, u32 seq, in nlmsg_put() argument
452 return __nlmsg_put(skb, portid, seq, type, payload, flags); in nlmsg_put()
471 return nlmsg_put(skb, NETLINK_CB(cb->skb).portid, cb->nlh->nlmsg_seq, in nlmsg_put_answer()
559 u32 portid, unsigned int group, gfp_t flags) in nlmsg_multicast() argument
565 err = netlink_broadcast(sk, skb, portid, group, flags); in nlmsg_multicast()
578 static inline int nlmsg_unicast(struct sock *sk, struct sk_buff *skb, u32 portid) in nlmsg_unicast() argument
582 err = netlink_unicast(sk, skb, portid, MSG_DONTWAIT); in nlmsg_unicast()
Dxfrm.h264 u32 portid; member
317 void km_state_expired(struct xfrm_state *x, int hard, u32 portid);
1625 void km_policy_expired(struct xfrm_policy *pol, int dir, int hard, u32 portid);
/linux-4.4.14/net/sched/
Dact_api.c660 tca_get_fill(struct sk_buff *skb, struct list_head *actions, u32 portid, u32 seq, in tca_get_fill() argument
668 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*t), flags); in tca_get_fill()
694 act_get_notify(struct net *net, u32 portid, struct nlmsghdr *n, in act_get_notify() argument
702 if (tca_get_fill(skb, actions, portid, n->nlmsg_seq, 0, event, 0, 0) <= 0) { in act_get_notify()
707 return rtnl_unicast(skb, net, portid); in act_get_notify()
725 tcf_action_get_1(struct nlattr *nla, struct nlmsghdr *n, u32 portid) in tcf_action_get_1() argument
777 struct nlmsghdr *n, u32 portid) in tca_action_flush() argument
810 nlh = nlmsg_put(skb, portid, n->nlmsg_seq, RTM_DELACTION, sizeof(*t), 0); in tca_action_flush()
833 err = rtnetlink_send(skb, net, portid, RTNLGRP_TC, in tca_action_flush()
850 u32 portid) in tcf_del_notify() argument
[all …]
Dsch_api.c1334 u32 portid, u32 seq, u16 flags, int event) in tc_fill_qdisc() argument
1346 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*tcm), flags); in tc_fill_qdisc()
1406 u32 portid = oskb ? NETLINK_CB(oskb).portid : 0; in qdisc_notify() local
1413 if (tc_fill_qdisc(skb, old, clid, portid, n->nlmsg_seq, in qdisc_notify()
1418 if (tc_fill_qdisc(skb, new, clid, portid, n->nlmsg_seq, in qdisc_notify()
1424 return rtnetlink_send(skb, net, portid, RTNLGRP_TC, in qdisc_notify()
1447 tc_fill_qdisc(skb, q, q->parent, NETLINK_CB(cb->skb).portid, in tc_dump_qdisc_root()
1458 tc_fill_qdisc(skb, q, q->parent, NETLINK_CB(cb->skb).portid, in tc_dump_qdisc_root()
1531 u32 portid; in tc_ctl_tclass() local
1563 portid = tcm->tcm_parent; in tc_ctl_tclass()
[all …]
Dcls_api.c355 unsigned long fh, u32 portid, u32 seq, u16 flags, int event) in tcf_fill_node() argument
361 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*tcm), flags); in tcf_fill_node()
393 u32 portid = oskb ? NETLINK_CB(oskb).portid : 0; in tfilter_notify() local
399 if (tcf_fill_node(net, skb, tp, fh, portid, n->nlmsg_seq, 0, event) <= 0) { in tfilter_notify()
404 return rtnetlink_send(skb, net, portid, RTNLGRP_TC, in tfilter_notify()
420 return tcf_fill_node(net, a->skb, tp, n, NETLINK_CB(a->cb->skb).portid, in tcf_node_dump()
479 if (tcf_fill_node(net, skb, tp, 0, NETLINK_CB(cb->skb).portid, in tc_dump_tfilter()
/linux-4.4.14/drivers/scsi/csiostor/
Dcsio_lnode.c115 csio_ln_lookup_by_portid(struct csio_hw *hw, uint8_t portid) in csio_ln_lookup_by_portid() argument
123 if (ln->portid == portid) in csio_ln_lookup_by_portid()
342 if (hw->pport[ln->portid].link_speed == FW_PORT_CAP_SPEED_1G) in csio_ln_fdmi_rhba_cbfn()
344 else if (hw->pport[ln->portid].link_speed == FW_PORT_CAP_SPEED_10G) in csio_ln_fdmi_rhba_cbfn()
705 uint8_t portid; in csio_fcoe_enable_link() local
716 portid = ln->portid; in csio_fcoe_enable_link()
720 sub_op ? "UP" : "DOWN", portid); in csio_fcoe_enable_link()
723 portid, sub_op, 0, 0, 0, NULL); in csio_fcoe_enable_link()
727 portid); in csio_fcoe_enable_link()
736 "ret:x%x\n", sub_op ? "UP" : "DOWN", portid, retval); in csio_fcoe_enable_link()
[all …]
Dcsio_init.c277 0, hw->pport[0].portid, false, NULL); in csio_create_queues()
287 hw->pport[0].portid, true, NULL); in csio_create_queues()
295 mgmtm->iq_idx, hw->pport[0].portid, NULL); in csio_create_queues()
776 csio_lnodes_block_by_port(struct csio_hw *hw, uint8_t portid) in csio_lnodes_block_by_port() argument
796 if (sln->portid != portid) in csio_lnodes_block_by_port()
817 csio_lnodes_unblock_by_port(struct csio_hw *hw, uint8_t portid) in csio_lnodes_unblock_by_port() argument
837 if (sln->portid != portid) in csio_lnodes_unblock_by_port()
990 ln->portid = hw->pport[i].portid; in csio_probe_one()
1136 ln->portid = hw->pport[i].portid; in csio_pci_resume()
Dcsio_lnode.h86 uint8_t portid; member
151 uint8_t portid; /* Port ID */ member
Dcsio_attr.c276 switch (hw->pport[ln->portid].link_speed) { in csio_get_host_speed()
326 csio_get_phy_port_stats(hw, ln->portid, &fcoe_port_stats); in csio_get_stats()
425 ln->portid = pln->portid; in csio_fcoe_alloc_vnp()
Dcsio_wr.h418 uint32_t portid; /* PCIE Channel */ member
461 #define csio_q_portid(__hw, __idx) ((__hw)->wrm.q_arr[(__idx)]->portid)
Dcsio_hw.c1269 hw->pport[i].portid = -1; in csio_get_device_params()
1333 hw->pport[i].portid = j++; in csio_get_device_params()
1334 csio_dbg(hw, "Found Port:%d\n", hw->pport[i].portid); in csio_get_device_params()
1416 uint8_t portid; in csio_enable_ports() local
1426 portid = hw->pport[i].portid; in csio_enable_ports()
1429 csio_mb_port(hw, mbp, CSIO_MB_DEFAULT_TMO, portid, in csio_enable_ports()
1434 portid); in csio_enable_ports()
1443 portid, retval); in csio_enable_ports()
1449 csio_mb_port(hw, mbp, CSIO_MB_DEFAULT_TMO, portid, true, in csio_enable_ports()
1454 portid); in csio_enable_ports()
[all …]
Dcsio_wr.c415 uint32_t vec, uint8_t portid, bool async, in csio_wr_iq_create() argument
423 csio_q_portid(hw, iq_idx) = portid; in csio_wr_iq_create()
463 iqp.iqpciech = portid; in csio_wr_iq_create()
554 int iq_idx, uint8_t portid, in csio_wr_eq_create() argument
576 eqp.pciechn = portid; in csio_wr_eq_create()
Dcsio_mb.h49 uint8_t portid; member
Dcsio_rnode.c169 csio_rnode_lookup_portid(struct csio_lnode *ln, uint32_t portid) in csio_rnode_lookup_portid() argument
177 if (rn->nport_id == portid) in csio_rnode_lookup_portid()
Dcsio_mb.c347 uint8_t portid, bool wr, uint32_t fc, uint16_t caps, in csio_mb_port() argument
358 FW_PORT_CMD_PORTID_V(portid)); in csio_mb_port()
1006 uint32_t mb_tmo, uint32_t portid, uint32_t fcfi, in csio_fcoe_read_fcf_init_mb() argument
1039 FW_FCOE_STATS_CMD_PORT(portparams->portid); in csio_fcoe_read_portparams_init_mb()
Dcsio_scsi.c1415 csio_lnodes_block_by_port(hw, ln->portid); in csio_disable_port()
1418 csio_disable_lnodes(hw, ln->portid, disable); in csio_disable_port()
1422 csio_lnodes_unblock_by_port(hw, ln->portid); in csio_disable_port()
1792 sqset = &hw->sqset[ln->portid][cpu]; in csio_queuecommand()
1892 struct csio_scsi_qset *sqset = &hw->sqset[ln->portid][cpu]; in csio_do_abrt_cls()
2119 sqset = &hw->sqset[ln->portid][smp_processor_id()]; in csio_eh_lun_reset_handler()
Dcsio_hw.h273 uint8_t portid; member
/linux-4.4.14/include/linux/
Dnetlink.h27 __u32 portid; member
82 extern int netlink_unicast(struct sock *ssk, struct sk_buff *skb, __u32 portid, int nonblock);
83 extern int netlink_broadcast(struct sock *ssk, struct sk_buff *skb, __u32 portid,
86 __u32 portid, __u32 group, gfp_t allocation,
89 extern int netlink_set_err(struct sock *ssk, __u32 portid, __u32 group, int code);
148 u32 portid; member
153 __nlmsg_put(struct sk_buff *skb, u32 portid, u32 seq, int type, int len, int flags);
Dconnector.h74 int cn_netlink_send_mult(struct cn_msg *msg, u16 len, u32 portid, u32 group, gfp_t gfp_mask);
75 int cn_netlink_send(struct cn_msg *msg, u32 portid, u32 group, gfp_t gfp_mask);
Dnetfilter.h403 u32 portid, u32 report);
Daudit.h497 extern int audit_rule_change(int type, __u32 portid, int seq,
/linux-4.4.14/net/netlink/
Daf_netlink.c138 NETLINK_CB(new).portid = NETLINK_CB(skb).portid; in netlink_to_full_skb()
790 NETLINK_CB(skb).portid = nlk->portid; in netlink_mmap_sendmsg()
1021 u32 portid; member
1026 (offsetof(struct netlink_compare_arg, portid) + sizeof(u32))
1034 return nlk->portid != x->portid || in netlink_compare()
1039 struct net *net, u32 portid) in netlink_compare_arg_init() argument
1043 arg->portid = portid; in netlink_compare_arg_init()
1046 static struct sock *__netlink_lookup(struct netlink_table *table, u32 portid, in __netlink_lookup() argument
1051 netlink_compare_arg_init(&arg, net, portid); in __netlink_lookup()
1060 netlink_compare_arg_init(&arg, sock_net(sk), nlk_sk(sk)->portid); in __netlink_insert()
[all …]
Dgenetlink.c496 void *genlmsg_put(struct sk_buff *skb, u32 portid, u32 seq, in genlmsg_put() argument
502 nlh = nlmsg_put(skb, portid, seq, family->id, GENL_HDRLEN + in genlmsg_put()
620 info.snd_portid = NETLINK_CB(skb).portid; in genl_family_rcv_msg()
686 static int ctrl_fill_info(struct genl_family *family, u32 portid, u32 seq, in ctrl_fill_info() argument
691 hdr = genlmsg_put(skb, portid, seq, &genl_ctrl, flags, cmd); in ctrl_fill_info()
775 int grp_id, u32 portid, u32 seq, u32 flags, in ctrl_fill_mcgrp_info() argument
782 hdr = genlmsg_put(skb, portid, seq, &genl_ctrl, flags, cmd); in ctrl_fill_mcgrp_info()
830 if (ctrl_fill_info(rt, NETLINK_CB(cb->skb).portid, in ctrl_dumpfamily()
847 u32 portid, int seq, u8 cmd) in ctrl_build_family_msg() argument
856 err = ctrl_fill_info(family, portid, seq, 0, skb, cmd); in ctrl_build_family_msg()
[all …]
Ddiag.c59 u32 portid, u32 seq, u32 flags, int sk_ino) in sk_diag_fill() argument
65 nlh = nlmsg_put(skb, portid, seq, SOCK_DIAG_BY_FAMILY, sizeof(*rep), in sk_diag_fill()
77 rep->ndiag_portid = nlk->portid; in sk_diag_fill()
130 NETLINK_CB(cb->skb).portid, in __netlink_diag_dump()
153 NETLINK_CB(cb->skb).portid, in __netlink_diag_dump()
Daf_netlink.h28 u32 portid; member
/linux-4.4.14/drivers/connector/
Dconnector.c73 int cn_netlink_send_mult(struct cn_msg *msg, u16 len, u32 portid, u32 __group, in cn_netlink_send_mult() argument
85 if (portid || __group) { in cn_netlink_send_mult()
103 if (!portid && !netlink_has_listeners(dev->nls, group)) in cn_netlink_send_mult()
125 return netlink_broadcast(dev->nls, skb, portid, group, in cn_netlink_send_mult()
127 return netlink_unicast(dev->nls, skb, portid, in cn_netlink_send_mult()
133 int cn_netlink_send(struct cn_msg *msg, u32 portid, u32 __group, in cn_netlink_send() argument
136 return cn_netlink_send_mult(msg, msg->len, portid, __group, gfp_mask); in cn_netlink_send()
/linux-4.4.14/net/tipc/
Dsocket.c88 u32 portid; member
117 static struct tipc_sock *tipc_sk_lookup(struct net *net, u32 portid);
379 msg_set_origport(msg, tsk->portid); in tipc_sk_create()
456 tipc_node_remove_conn(net, dnode, tsk->portid); in tipc_release()
469 tsk->portid, TIPC_ERR_NO_PORT); in tipc_release()
471 tipc_node_xmit_skb(net, skb, dnode, tsk->portid); in tipc_release()
472 tipc_node_remove_conn(net, dnode, tsk->portid); in tipc_release()
573 addr->addr.id.ref = tsk->portid; in tipc_getname()
731 u32 portid; in tipc_sk_mcast_rcv() local
752 portid = tipc_plist_pop(&dports); in tipc_sk_mcast_rcv()
[all …]
Dnet.c154 hdr = genlmsg_put(msg->skb, msg->portid, msg->seq, &tipc_genl_family, in __tipc_nl_add_net()
190 msg.portid = NETLINK_CB(cb->skb).portid; in tipc_nl_net_dump()
Dnetlink.h44 u32 portid; member
Dbearer.c646 hdr = genlmsg_put(msg->skb, msg->portid, msg->seq, &tipc_genl_family, in __tipc_nl_add_bearer()
697 msg.portid = NETLINK_CB(cb->skb).portid; in tipc_nl_bearer_dump()
744 msg.portid = info->snd_portid; in tipc_nl_bearer_get()
912 hdr = genlmsg_put(msg->skb, msg->portid, msg->seq, &tipc_genl_family, in __tipc_nl_add_media()
960 msg.portid = NETLINK_CB(cb->skb).portid; in tipc_nl_media_dump()
1003 msg.portid = info->snd_portid; in tipc_nl_media_get()
Dname_table.c865 hdr = genlmsg_put(msg->skb, msg->portid, msg->seq, in __tipc_nl_add_nametable_publ()
998 msg.portid = NETLINK_CB(cb->skb).portid; in tipc_nl_name_table_dump()
Dnode.c972 hdr = genlmsg_put(msg->skb, msg->portid, msg->seq, &tipc_genl_family, in __tipc_nl_add_node()
1358 msg.portid = NETLINK_CB(cb->skb).portid; in tipc_nl_node_dump()
Dlink.c1782 hdr = genlmsg_put(msg->skb, msg->portid, msg->seq, &tipc_genl_family, in __tipc_nl_add_link()
1881 msg.portid = NETLINK_CB(cb->skb).portid; in tipc_nl_link_dump()
1944 msg.portid = info->snd_portid; in tipc_nl_link_get()
Dbcast.c400 hdr = genlmsg_put(msg->skb, msg->portid, msg->seq, &tipc_genl_family, in tipc_nl_add_bc_link()
Dnetlink_compat.c1137 genlmsg_unicast(msg.net, msg.rep, NETLINK_CB(skb).portid); in tipc_nl_compat_recv()
/linux-4.4.14/drivers/w1/
Dw1_netlink.c40 u32 portid; /* Sending process port ID */ member
87 block->portid, 0, GFP_KERNEL); in w1_unref_block()
105 cn_netlink_send_mult(block->first_cn, len, block->portid, 0, GFP_KERNEL); in w1_reply_make_space()
212 int portid, int error) in w1_netlink_send_error() argument
223 cn_netlink_send(&packet.cn, portid, 0, GFP_KERNEL); in w1_netlink_send_error()
416 static int w1_process_command_root(struct cn_msg *req_cn, u32 portid) in w1_process_command_root() argument
443 cn_netlink_send(cn, portid, 0, GFP_KERNEL); in w1_process_command_root()
454 cn_netlink_send(cn, portid, 0, GFP_KERNEL); in w1_process_command_root()
572 w1_netlink_send_error(cn, msg, nsp->portid, -EINVAL); in w1_cn_callback()
628 w1_netlink_send_error(cn, msg, nsp->portid, -ENOMEM); in w1_cn_callback()
[all …]
/linux-4.4.14/net/netfilter/
Dnfnetlink_cttimeout.c159 ctnl_timeout_fill_info(struct sk_buff *skb, u32 portid, u32 seq, u32 type, in ctnl_timeout_fill_info() argument
164 unsigned int flags = portid ? NLM_F_MULTI : 0; in ctnl_timeout_fill_info()
168 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*nfmsg), flags); in ctnl_timeout_fill_info()
229 if (ctnl_timeout_fill_info(skb, NETLINK_CB(cb->skb).portid, in ctnl_timeout_dump()
275 ret = ctnl_timeout_fill_info(skb2, NETLINK_CB(skb).portid, in cttimeout_get_timeout()
283 ret = netlink_unicast(ctnl, skb2, NETLINK_CB(skb).portid, in cttimeout_get_timeout()
414 cttimeout_default_fill_info(struct net *net, struct sk_buff *skb, u32 portid, in cttimeout_default_fill_info() argument
420 unsigned int flags = portid ? NLM_F_MULTI : 0; in cttimeout_default_fill_info()
423 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*nfmsg), flags); in cttimeout_default_fill_info()
492 ret = cttimeout_default_fill_info(net, skb2, NETLINK_CB(skb).portid, in cttimeout_default_get()
[all …]
Dnf_conntrack_netlink.c472 ctnetlink_fill_info(struct sk_buff *skb, u32 portid, u32 seq, u32 type, in ctnetlink_fill_info() argument
479 unsigned int flags = portid ? NLM_F_MULTI : 0, event; in ctnetlink_fill_info()
482 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*nfmsg), flags); in ctnetlink_fill_info()
672 nlh = nlmsg_put(skb, item->portid, 0, type, sizeof(*nfmsg), flags); in ctnetlink_conntrack_event()
756 err = nfnetlink_send(skb, net, item->portid, group, item->report, in ctnetlink_conntrack_event()
868 ctnetlink_fill_info(skb, NETLINK_CB(cb->skb).portid, in ctnetlink_dump_table()
1099 u32 portid, int report) in ctnetlink_flush_conntrack() argument
1110 portid, report); in ctnetlink_flush_conntrack()
1142 NETLINK_CB(skb).portid, in ctnetlink_del_conntrack()
1164 nf_ct_delete(ct, NETLINK_CB(skb).portid, nlmsg_report(nlh)); in ctnetlink_del_conntrack()
[all …]
Dnf_tables_api.c105 ctx->portid = NETLINK_CB(skb).portid; in nft_ctx_init()
443 u32 portid, u32 seq, int event, u32 flags, in nf_tables_fill_table_info() argument
450 nlh = nlmsg_put(skb, portid, seq, event, sizeof(struct nfgenmsg), flags); in nf_tables_fill_table_info()
486 err = nf_tables_fill_table_info(skb, ctx->net, ctx->portid, ctx->seq, in nf_tables_table_notify()
493 err = nfnetlink_send(skb, ctx->net, ctx->portid, NFNLGRP_NFTABLES, in nf_tables_table_notify()
497 nfnetlink_set_err(ctx->net, ctx->portid, NFNLGRP_NFTABLES, in nf_tables_table_notify()
527 NETLINK_CB(cb->skb).portid, in nf_tables_dump_tables()
578 err = nf_tables_fill_table_info(skb2, net, NETLINK_CB(skb).portid, in nf_tables_gettable()
584 return nlmsg_unicast(nlsk, skb2, NETLINK_CB(skb).portid); in nf_tables_gettable()
961 u32 portid, u32 seq, int event, u32 flags, in nf_tables_fill_chain_info() argument
[all …]
Dnfnetlink.c132 int nfnetlink_send(struct sk_buff *skb, struct net *net, u32 portid, in nfnetlink_send() argument
135 return nlmsg_notify(net->nfnl, skb, portid, group, echo, flags); in nfnetlink_send()
139 int nfnetlink_set_err(struct net *net, u32 portid, u32 group, int error) in nfnetlink_set_err() argument
141 return netlink_set_err(net->nfnl, portid, group, error); in nfnetlink_set_err()
145 int nfnetlink_unicast(struct sk_buff *skb, struct net *net, u32 portid, in nfnetlink_unicast() argument
148 return netlink_unicast(net->nfnl, skb, portid, flags); in nfnetlink_unicast()
Dnfnetlink_acct.c131 nfnl_acct_fill_info(struct sk_buff *skb, u32 portid, u32 seq, u32 type, in nfnl_acct_fill_info() argument
136 unsigned int flags = portid ? NLM_F_MULTI : 0; in nfnl_acct_fill_info()
141 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*nfmsg), flags); in nfnl_acct_fill_info()
210 if (nfnl_acct_fill_info(skb, NETLINK_CB(cb->skb).portid, in nfnl_acct_dump()
299 ret = nfnl_acct_fill_info(skb2, NETLINK_CB(skb).portid, in nfnl_acct_get()
307 ret = netlink_unicast(nfnl, skb2, NETLINK_CB(skb).portid, in nfnl_acct_get()
Dnfnetlink_cthelper.c411 nfnl_cthelper_fill_info(struct sk_buff *skb, u32 portid, u32 seq, u32 type, in nfnl_cthelper_fill_info() argument
416 unsigned int flags = portid ? NLM_F_MULTI : 0; in nfnl_cthelper_fill_info()
420 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*nfmsg), flags); in nfnl_cthelper_fill_info()
483 NETLINK_CB(cb->skb).portid, in nfnl_cthelper_dump_table()
552 ret = nfnl_cthelper_fill_info(skb2, NETLINK_CB(skb).portid, in nfnl_cthelper_get()
561 ret = netlink_unicast(nfnl, skb2, NETLINK_CB(skb).portid, in nfnl_cthelper_get()
Dnfnetlink_queue.c113 instance_create(struct nfnl_queue_net *q, u_int16_t queue_num, u32 portid) in instance_create() argument
132 inst->peer_portid = portid; in instance_create()
898 if (n->portid == inst->peer_portid) in nfqnl_rcv_nl_event()
977 NETLINK_CB(skb).portid); in nfqnl_recv_verdict_batch()
1027 NETLINK_CB(entry->skb).portid, in nfqnl_ct_parse()
1054 NETLINK_CB(skb).portid); in nfqnl_recv_verdict()
1138 if (queue && queue->peer_portid != NETLINK_CB(skb).portid) { in nfqnl_recv_config()
1151 NETLINK_CB(skb).portid); in nfqnl_recv_config()
Dnf_conntrack_expect.c44 u32 portid, int report) in nf_ct_unlink_expect_report() argument
58 nf_ct_expect_event_report(IPEXP_DESTROY, exp, portid, report); in nf_ct_unlink_expect_report()
442 u32 portid, int report) in nf_ct_expect_related_report() argument
455 nf_ct_expect_event_report(IPEXP_NEW, expect, portid, report); in nf_ct_expect_related_report()
Dnft_compat.c490 nfnl_compat_fill_info(struct sk_buff *skb, u32 portid, u32 seq, u32 type, in nfnl_compat_fill_info() argument
496 unsigned int flags = portid ? NLM_F_MULTI : 0; in nfnl_compat_fill_info()
499 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*nfmsg), flags); in nfnl_compat_fill_info()
575 if (nfnl_compat_fill_info(skb2, NETLINK_CB(skb).portid, in nfnl_compat_get()
585 ret = netlink_unicast(nfnl, skb2, NETLINK_CB(skb).portid, in nfnl_compat_get()
Dnfnetlink_log.c156 u32 portid, struct user_namespace *user_ns) in instance_create() argument
189 inst->peer_portid = portid; in instance_create()
779 if (n->portid == inst->peer_portid) in nfulnl_rcv_nl_event()
845 if (inst && inst->peer_portid != NETLINK_CB(skb).portid) { in nfulnl_recv_config()
881 NETLINK_CB(skb).portid, in nfulnl_recv_config()
Dnf_conntrack_ecache.c150 item.portid = 0; in nf_ct_deliver_cached_events()
Dnf_conntrack_core.c394 bool nf_ct_delete(struct nf_conn *ct, u32 portid, int report) in nf_ct_delete() argument
406 portid, report) < 0) { in nf_ct_delete()
1420 void *data, u32 portid, int report) in nf_ct_iterate_cleanup() argument
1428 nf_ct_delete(ct, portid, report); in nf_ct_iterate_cleanup()
/linux-4.4.14/net/unix/
Ddiag.c113 u32 portid, u32 seq, u32 flags, int sk_ino) in sk_diag_fill() argument
118 nlh = nlmsg_put(skb, portid, seq, SOCK_DIAG_BY_FAMILY, sizeof(*rep), in sk_diag_fill()
167 u32 portid, u32 seq, u32 flags) in sk_diag_dump() argument
178 return sk_diag_fill(sk, skb, req, portid, seq, flags, sk_ino); in sk_diag_dump()
207 NETLINK_CB(cb->skb).portid, in unix_diag_dump()
272 err = sk_diag_fill(sk, rep, req, NETLINK_CB(in_skb).portid, in unix_diag_get_exact()
282 err = netlink_unicast(net->diag_nlsk, rep, NETLINK_CB(in_skb).portid, in unix_diag_get_exact()
/linux-4.4.14/net/phonet/
Dpn_netlink.c36 u32 portid, u32 seq, int event);
107 u32 portid, u32 seq, int event) in fill_addr() argument
112 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*ifm), 0); in fill_addr()
155 NETLINK_CB(cb->skb).portid, in getaddr_dumpit()
172 u32 portid, u32 seq, int event) in fill_route() argument
177 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*rtm), 0); in fill_route()
284 if (fill_route(skb, dev, addr << 2, NETLINK_CB(cb->skb).portid, in route_dumpit()
/linux-4.4.14/include/linux/netfilter/
Dnfnetlink.h39 int nfnetlink_send(struct sk_buff *skb, struct net *net, u32 portid,
41 int nfnetlink_set_err(struct net *net, u32 portid, u32 group, int error);
42 int nfnetlink_unicast(struct sk_buff *skb, struct net *net, u32 portid,
/linux-4.4.14/net/ipv4/
Dinet_diag.c110 u32 portid, u32 seq, u16 nlmsg_flags, in inet_sk_diag_fill() argument
125 nlh = nlmsg_put(skb, portid, seq, unlh->nlmsg_type, sizeof(*r), in inet_sk_diag_fill()
258 u32 portid, u32 seq, u16 nlmsg_flags, in inet_csk_diag_fill() argument
262 user_ns, portid, seq, nlmsg_flags, unlh); in inet_csk_diag_fill()
267 u32 portid, u32 seq, u16 nlmsg_flags, in inet_twsk_diag_fill() argument
275 nlh = nlmsg_put(skb, portid, seq, unlh->nlmsg_type, sizeof(*r), in inet_twsk_diag_fill()
303 u32 portid, u32 seq, u16 nlmsg_flags, in inet_req_diag_fill() argument
310 nlh = nlmsg_put(skb, portid, seq, unlh->nlmsg_type, sizeof(*r), in inet_req_diag_fill()
338 u32 portid, u32 seq, u16 nlmsg_flags, in sk_diag_fill() argument
342 return inet_twsk_diag_fill(sk, skb, portid, seq, in sk_diag_fill()
[all …]
Ddevinet.c327 int destroy, struct nlmsghdr *nlh, u32 portid) in __inet_del_ifa() argument
364 rtmsg_ifa(RTM_DELADDR, ifa, nlh, portid); in __inet_del_ifa()
402 rtmsg_ifa(RTM_DELADDR, ifa1, nlh, portid); in __inet_del_ifa()
415 rtmsg_ifa(RTM_NEWADDR, promote, nlh, portid); in __inet_del_ifa()
441 u32 portid) in __inet_insert_ifa() argument
491 rtmsg_ifa(RTM_NEWADDR, ifa, nlh, portid); in __inet_insert_ifa()
613 __inet_del_ifa(in_dev, ifap, 1, nlh, NETLINK_CB(skb).portid); in inet_rtm_deladdr()
876 return __inet_insert_ifa(ifa, nlh, NETLINK_CB(skb).portid); in inet_rtm_newaddr()
888 rtmsg_ifa(RTM_NEWADDR, ifa, nlh, NETLINK_CB(skb).portid); in inet_rtm_newaddr()
1508 u32 portid, u32 seq, int event, unsigned int flags) in inet_fill_ifaddr() argument
[all …]
Dudp_diag.c30 NETLINK_CB(cb->skb).portid, in sk_diag_dump()
77 NETLINK_CB(in_skb).portid, in udp_dump_one()
84 err = netlink_unicast(net->diag_nlsk, rep, NETLINK_CB(in_skb).portid, in udp_dump_one()
Dfib_frontend.c655 cfg->fc_nlinfo.portid = NETLINK_CB(skb).portid; in rtm_to_fib_config()
1079 u32 portid; in nl_fib_input() local
1095 portid = NETLINK_CB(skb).portid; /* netlink portid */ in nl_fib_input()
1096 NETLINK_CB(skb).portid = 0; /* from kernel */ in nl_fib_input()
1098 netlink_unicast(net->ipv4.fibnl, skb, portid, MSG_DONTWAIT); in nl_fib_input()
Dfou.c634 static int fou_dump_info(struct fou *fou, u32 portid, u32 seq, in fou_dump_info() argument
639 hdr = genlmsg_put(skb, portid, seq, &fou_nl_family, flags, cmd); in fou_dump_info()
707 ret = fou_dump_info(fout, NETLINK_CB(cb->skb).portid, in fou_nl_dump()
Dfib_semantics.c412 err = fib_dump_info(skb, info->portid, seq, event, tb_id, in rtmsg_fib()
421 rtnl_notify(skb, info->nl_net, info->portid, RTNLGRP_IPV4_ROUTE, in rtmsg_fib()
1215 int fib_dump_info(struct sk_buff *skb, u32 portid, u32 seq, int event, in fib_dump_info() argument
1222 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*rtm), flags); in fib_dump_info()
Dipmr.c639 rtnl_unicast(skb, net, NETLINK_CB(skb).portid); in ipmr_destroy_unres()
929 rtnl_unicast(skb, net, NETLINK_CB(skb).portid); in ipmr_cache_resolve()
2261 u32 portid, u32 seq, struct mfc_cache *c, int cmd, in ipmr_fill_mroute() argument
2268 nlh = nlmsg_put(skb, portid, seq, cmd, sizeof(*rtm), flags); in ipmr_fill_mroute()
2374 NETLINK_CB(cb->skb).portid, in ipmr_rtm_dumproute()
2389 NETLINK_CB(cb->skb).portid, in ipmr_rtm_dumproute()
Droute.c2412 struct flowi4 *fl4, struct sk_buff *skb, u32 portid, in rt_fill_info() argument
2422 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*r), flags); in rt_fill_info()
2614 NETLINK_CB(in_skb).portid, nlh->nlmsg_seq, in inet_rtm_getroute()
2619 err = rtnl_unicast(skb, net, NETLINK_CB(in_skb).portid); in inet_rtm_getroute()
Dtcp_metrics.c886 hdr = genlmsg_put(skb, NETLINK_CB(cb->skb).portid, cb->nlh->nlmsg_seq, in tcp_metrics_dump_info()
Dfib_trie.c1919 if (fib_dump_info(skb, NETLINK_CB(cb->skb).portid, in fn_trie_dump_leaf()
/linux-4.4.14/net/wireless/
Dreg.h40 int regulatory_hint_indoor(bool is_indoor, u32 portid);
46 void regulatory_netlink_notify(u32 portid);
Dnl80211.c581 static inline void *nl80211hdr_put(struct sk_buff *skb, u32 portid, u32 seq, in nl80211hdr_put() argument
585 return genlmsg_put(skb, portid, seq, &nl80211_fam, flags, cmd); in nl80211hdr_put()
1261 struct sk_buff *msg, u32 portid, u32 seq, in nl80211_send_wiphy() argument
1275 hdr = nl80211hdr_put(msg, portid, seq, flags, cmd); in nl80211_send_wiphy()
1815 NETLINK_CB(cb->skb).portid, in nl80211_dump_wiphy()
2379 static int nl80211_send_iface(struct sk_buff *msg, u32 portid, u32 seq, int flags, in nl80211_send_iface() argument
2390 hdr = nl80211hdr_put(msg, portid, seq, flags, cmd); in nl80211_send_iface()
2466 if (nl80211_send_iface(skb, NETLINK_CB(cb->skb).portid, in nl80211_dump_interface()
3699 static int nl80211_send_station(struct sk_buff *msg, u32 cmd, u32 portid, in nl80211_send_station() argument
3708 hdr = nl80211hdr_put(msg, portid, seq, flags, cmd); in nl80211_send_station()
[all …]
Dreg.c2403 int regulatory_hint_indoor(bool is_indoor, u32 portid) in regulatory_hint_indoor() argument
2417 reg_is_indoor_portid = portid; in regulatory_hint_indoor()
2430 void regulatory_netlink_notify(u32 portid) in regulatory_netlink_notify() argument
2434 if (reg_is_indoor_portid != portid) { in regulatory_netlink_notify()
/linux-4.4.14/net/nfc/
Dnetlink.c80 hdr = genlmsg_put(msg, NETLINK_CB(cb->skb).portid, cb->nlh->nlmsg_seq, in nfc_genl_send_target()
556 u32 portid, u32 seq, in nfc_genl_send_device() argument
562 hdr = genlmsg_put(msg, portid, seq, &nfc_genl_family, flags, in nfc_genl_send_device()
612 rc = nfc_genl_send_device(skb, dev, NETLINK_CB(cb->skb).portid, in nfc_genl_dump_devices()
953 u32 portid, u32 seq) in nfc_genl_send_params() argument
957 hdr = genlmsg_put(msg, portid, seq, &nfc_genl_family, 0, in nfc_genl_send_params()
1285 u32 portid, u32 seq, in nfc_genl_send_se() argument
1293 hdr = genlmsg_put(msg, portid, seq, &nfc_genl_family, flags, in nfc_genl_send_se()
1343 rc = nfc_genl_send_se(skb, dev, NETLINK_CB(cb->skb).portid, in nfc_genl_dump_ses()
1547 static inline void *nfc_hdr_put(struct sk_buff *skb, u32 portid, u32 seq, in nfc_hdr_put() argument
[all …]
/linux-4.4.14/kernel/
Daudit.c186 __u32 portid; member
191 static void audit_set_portid(struct audit_buffer *ab, __u32 portid) in audit_set_portid() argument
195 nlh->nlmsg_pid = portid; in audit_set_portid()
553 netlink_unicast(aunet->nlsk, skb, dest->portid, 0); in audit_send_list()
561 struct sk_buff *audit_make_reply(__u32 portid, int seq, int type, int done, in audit_make_reply() argument
574 nlh = nlmsg_put(skb, portid, seq, t, size, flags); in audit_make_reply()
597 netlink_unicast(aunet->nlsk , reply->skb, reply->portid, 0); in audit_send_reply_thread()
618 u32 portid = NETLINK_CB(request_skb).portid; in audit_send_reply() local
628 skb = audit_make_reply(portid, seq, type, done, multi, payload, size); in audit_send_reply()
633 reply->portid = portid; in audit_send_reply()
[all …]
Dauditfilter.c1034 static void audit_list_rules(__u32 portid, int seq, struct sk_buff_head *q) in audit_list_rules() argument
1049 skb = audit_make_reply(portid, seq, AUDIT_LIST_RULES, in audit_list_rules()
1057 skb = audit_make_reply(portid, seq, AUDIT_LIST_RULES, 1, 1, NULL, 0); in audit_list_rules()
1092 int audit_rule_change(int type, __u32 portid, int seq, void *data, in audit_rule_change() argument
1132 u32 portid = NETLINK_CB(request_skb).portid; in audit_list_rules_send() local
1148 dest->portid = portid; in audit_list_rules_send()
1152 audit_list_rules(portid, seq, &dest->q); in audit_list_rules_send()
Daudit.h236 extern struct sk_buff *audit_make_reply(__u32 portid, int seq, int type,
242 __u32 portid; member
/linux-4.4.14/net/ieee802154/
Dnl-mac.c80 static int ieee802154_nl_fill_iface(struct sk_buff *msg, u32 portid, in ieee802154_nl_fill_iface() argument
458 if (ieee802154_nl_fill_iface(skb, NETLINK_CB(cb->skb).portid, in ieee802154_dump_iface()
766 int portid; member
796 data.portid = NETLINK_CB(cb->skb).portid; in ieee802154_llsec_dump_table()
913 ieee802154_nl_fill_key(struct sk_buff *msg, u32 portid, u32 seq, in ieee802154_nl_fill_key() argument
962 if (ieee802154_nl_fill_key(data->skb, data->portid, in llsec_iter_keys()
1050 ieee802154_nl_fill_dev(struct sk_buff *msg, u32 portid, u32 seq, in ieee802154_nl_fill_dev() argument
1092 if (ieee802154_nl_fill_dev(data->skb, data->portid, in llsec_iter_devs()
1156 ieee802154_nl_fill_devkey(struct sk_buff *msg, u32 portid, u32 seq, in ieee802154_nl_fill_devkey() argument
1201 if (ieee802154_nl_fill_devkey(data->skb, data->portid, in llsec_iter_devkeys()
[all …]
Dnl802154.c316 static inline void *nl802154hdr_put(struct sk_buff *skb, u32 portid, u32 seq, in nl802154hdr_put() argument
320 return genlmsg_put(skb, portid, seq, &nl802154_fam, flags, cmd); in nl802154hdr_put()
454 struct sk_buff *msg, u32 portid, u32 seq, in nl802154_send_wpan_phy() argument
461 hdr = nl802154hdr_put(msg, portid, seq, flags, cmd); in nl802154_send_wpan_phy()
642 NETLINK_CB(cb->skb).portid, in nl802154_dump_wpan_phy()
795 nl802154_send_iface(struct sk_buff *msg, u32 portid, u32 seq, int flags, in nl802154_send_iface() argument
802 hdr = nl802154hdr_put(msg, portid, seq, flags, in nl802154_send_iface()
882 if (nl802154_send_iface(skb, NETLINK_CB(cb->skb).portid, in nl802154_dump_interface()
1406 static int nl802154_send_key(struct sk_buff *msg, u32 cmd, u32 portid, in nl802154_send_key() argument
1416 hdr = nl802154hdr_put(msg, portid, seq, flags, cmd); in nl802154_send_key()
[all …]
Dnl-phy.c36 static int ieee802154_nl_fill_phy(struct sk_buff *msg, u32 portid, in ieee802154_nl_fill_phy() argument
138 NETLINK_CB(data->cb->skb).portid, in ieee802154_dump_phy_iter()
/linux-4.4.14/net/ipv6/
Daddrlabel.c470 u32 portid, u32 seq, int event, in ip6addrlbl_fill() argument
473 struct nlmsghdr *nlh = nlmsg_put(skb, portid, seq, event, in ip6addrlbl_fill()
503 NETLINK_CB(cb->skb).portid, in ip6addrlbl_dump()
572 NETLINK_CB(in_skb).portid, nlh->nlmsg_seq, in ip6addrlbl_get()
583 err = rtnl_unicast(skb, net, NETLINK_CB(in_skb).portid); in ip6addrlbl_get()
Daddrconf.c492 struct ipv6_devconf *devconf, u32 portid, in inet6_netconf_fill_devconf() argument
499 nlh = nlmsg_put(skb, portid, seq, event, sizeof(struct netconfmsg), in inet6_netconf_fill_devconf()
615 NETLINK_CB(in_skb).portid, in inet6_netconf_get_devconf()
624 err = rtnl_unicast(skb, net, NETLINK_CB(in_skb).portid); in inet6_netconf_get_devconf()
657 NETLINK_CB(cb->skb).portid, in inet6_netconf_dump_devconf()
674 NETLINK_CB(cb->skb).portid, in inet6_netconf_dump_devconf()
685 NETLINK_CB(cb->skb).portid, in inet6_netconf_dump_devconf()
4300 u32 portid, u32 seq, int event, unsigned int flags) in inet6_fill_ifaddr() argument
4305 nlh = nlmsg_put(skb, portid, seq, event, sizeof(struct ifaddrmsg), flags); in inet6_fill_ifaddr()
4357 u32 portid, u32 seq, int event, u16 flags) in inet6_fill_ifmcaddr() argument
[all …]
Droute.c2294 .fc_nlinfo.portid = 0, in rt6_add_route_info()
2345 .fc_nlinfo.portid = 0, in rt6_add_dflt_router()
2740 cfg->fc_nlinfo.portid = NETLINK_CB(skb).portid; in rtm_to_fib6_config()
3050 int iif, int type, u32 portid, u32 seq, in rt6_fill_node() argument
3066 nlh = nlmsg_put(skb, portid, seq, type, sizeof(*rtm), flags); in rt6_fill_node()
3220 NETLINK_CB(arg->cb->skb).portid, arg->cb->nlh->nlmsg_seq, in rt6_dump_route()
3308 RTM_NEWROUTE, NETLINK_CB(in_skb).portid, in inet6_rtm_getroute()
3315 err = rtnl_unicast(skb, net, NETLINK_CB(in_skb).portid); in inet6_rtm_getroute()
3336 event, info->portid, seq, 0, 0, nlm_flags); in inet6_rt_notify()
3343 rtnl_notify(skb, net, info->portid, RTNLGRP_IPV6_ROUTE, in inet6_rt_notify()
Dip6mr.c853 rtnl_unicast(skb, net, NETLINK_CB(skb).portid); in ip6mr_destroy_unres()
1116 rtnl_unicast(skb, net, NETLINK_CB(skb).portid); in ip6mr_cache_resolve()
2356 u32 portid, u32 seq, struct mfc6_cache *c, int cmd, in ip6mr_fill_mroute() argument
2363 nlh = nlmsg_put(skb, portid, seq, cmd, sizeof(*rtm), flags); in ip6mr_fill_mroute()
2469 NETLINK_CB(cb->skb).portid, in ip6mr_rtm_dumproute()
2484 NETLINK_CB(cb->skb).portid, in ip6mr_rtm_dumproute()
/linux-4.4.14/net/mpls/
Daf_mpls.c36 struct nlmsghdr *nlh, struct net *net, u32 portid,
393 unsigned portid = info ? info->portid : 0; in mpls_notify_route() local
399 rtmsg_lfib(event, index, rt, nlh, net, portid, nlm_flags); in mpls_notify_route()
1139 cfg->rc_nlinfo.portid = NETLINK_CB(skb).portid; in rtm_to_route_config()
1220 static int mpls_dump_route(struct sk_buff *skb, u32 portid, u32 seq, int event, in mpls_dump_route() argument
1227 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*rtm), flags); in mpls_dump_route()
1320 if (mpls_dump_route(skb, NETLINK_CB(cb->skb).portid, in mpls_dump_routes()
1365 struct nlmsghdr *nlh, struct net *net, u32 portid, in rtmsg_lfib() argument
1376 err = mpls_dump_route(skb, portid, seq, event, label, rt, nlm_flags); in rtmsg_lfib()
1383 rtnl_notify(skb, net, portid, RTNLGRP_MPLS_ROUTE, nlh, GFP_KERNEL); in rtmsg_lfib()
/linux-4.4.14/net/packet/
Ddiag.c133 u32 portid, u32 seq, u32 flags, int sk_ino) in sk_diag_fill() argument
139 nlh = nlmsg_put(skb, portid, seq, SOCK_DIAG_BY_FAMILY, sizeof(*rp), flags); in sk_diag_fill()
210 NETLINK_CB(cb->skb).portid, in packet_diag_dump()
/linux-4.4.14/net/xfrm/
Dxfrm_user.c645 c.portid = nlh->nlmsg_pid; in xfrm_add_sa()
715 c.portid = nlh->nlmsg_pid; in xfrm_del_sa()
876 nlh = nlmsg_put(skb, NETLINK_CB(in_skb).portid, sp->nlmsg_seq, in dump_one_state()
997 u32 portid, u32 seq, u32 flags) in build_spdinfo() argument
1008 nlh = nlmsg_put(skb, portid, seq, XFRM_MSG_NEWSPDINFO, sizeof(u32), 0); in build_spdinfo()
1100 u32 sportid = NETLINK_CB(skb).portid; in xfrm_get_spdinfo()
1121 u32 portid, u32 seq, u32 flags) in build_sadinfo() argument
1129 nlh = nlmsg_put(skb, portid, seq, XFRM_MSG_NEWSADINFO, sizeof(u32), 0); in build_sadinfo()
1158 u32 sportid = NETLINK_CB(skb).portid; in xfrm_get_sadinfo()
1188 err = nlmsg_unicast(net->xfrm.nlsk, resp_skb, NETLINK_CB(skb).portid); in xfrm_get_sa()
[all …]
Dxfrm_state.c158 void km_state_expired(struct xfrm_state *x, int hard, u32 portid);
1722 void km_state_expired(struct xfrm_state *x, int hard, u32 portid) in km_state_expired() argument
1727 c.portid = portid; in km_state_expired()
1770 void km_policy_expired(struct xfrm_policy *pol, int dir, int hard, u32 portid) in km_policy_expired() argument
1775 c.portid = portid; in km_policy_expired()
/linux-4.4.14/drivers/net/team/
Dteam.c2218 struct team *team, u32 portid);
2220 static int team_nl_send_unicast(struct sk_buff *skb, struct team *team, u32 portid) in team_nl_send_unicast() argument
2222 return genlmsg_unicast(dev_net(team->dev), skb, portid); in team_nl_send_unicast()
2307 struct team *team, u32 portid, in __send_and_alloc_skb() argument
2313 err = send_func(*pskb, team, portid); in __send_and_alloc_skb()
2323 static int team_nl_send_options_get(struct team *team, u32 portid, u32 seq, in team_nl_send_options_get() argument
2340 err = __send_and_alloc_skb(&skb, team, portid, send_func); in team_nl_send_options_get()
2344 hdr = genlmsg_put(skb, portid, seq, &team_nl_family, flags | NLM_F_MULTI, in team_nl_send_options_get()
2377 nlh = nlmsg_put(skb, portid, seq, NLMSG_DONE, 0, flags | NLM_F_MULTI); in team_nl_send_options_get()
2379 err = __send_and_alloc_skb(&skb, team, portid, send_func); in team_nl_send_options_get()
[all …]
/linux-4.4.14/net/decnet/
Ddn_table.c299 static int dn_fib_dump_info(struct sk_buff *skb, u32 portid, u32 seq, int event, in dn_fib_dump_info() argument
306 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*rtm), flags); in dn_fib_dump_info()
383 u32 portid = req ? req->portid : 0; in dn_rtmsg_fib() local
390 err = dn_fib_dump_info(skb, portid, nlh->nlmsg_seq, event, tb_id, in dn_rtmsg_fib()
399 rtnl_notify(skb, &init_net, portid, RTNLGRP_DECnet_ROUTE, nlh, GFP_KERNEL); in dn_rtmsg_fib()
420 if (dn_fib_dump_info(skb, NETLINK_CB(cb->skb).portid, in dn_hash_dump_bucket()
Ddn_route.c1555 static int dn_rt_fill_info(struct sk_buff *skb, u32 portid, u32 seq, in dn_rt_fill_info() argument
1563 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*r), flags); in dn_rt_fill_info()
1711 err = dn_rt_fill_info(skb, NETLINK_CB(in_skb).portid, nlh->nlmsg_seq, RTM_NEWROUTE, 0, 0); in dn_cache_getroute()
1717 return rtnl_unicast(skb, &init_net, NETLINK_CB(in_skb).portid); in dn_cache_getroute()
1760 if (dn_rt_fill_info(skb, NETLINK_CB(cb->skb).portid, in dn_cache_dump()
Ddn_dev.c680 u32 portid, u32 seq, int event, unsigned int flags) in dn_nl_fill_ifaddr() argument
686 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*ifm), flags); in dn_nl_fill_ifaddr()
769 if (dn_nl_fill_ifaddr(skb, ifa, NETLINK_CB(cb->skb).portid, in dn_nl_dump_ifaddr()
/linux-4.4.14/net/l2tp/
Dl2tp_netlink.c49 static int l2tp_nl_tunnel_send(struct sk_buff *skb, u32 portid, u32 seq,
51 static int l2tp_nl_session_send(struct sk_buff *skb, u32 portid, u32 seq,
323 static int l2tp_nl_tunnel_send(struct sk_buff *skb, u32 portid, u32 seq, int flags, in l2tp_nl_tunnel_send() argument
334 hdr = genlmsg_put(skb, portid, seq, &l2tp_nl_family, flags, cmd); in l2tp_nl_tunnel_send()
465 if (l2tp_nl_tunnel_send(skb, NETLINK_CB(cb->skb).portid, in l2tp_nl_cmd_tunnel_dump()
707 static int l2tp_nl_session_send(struct sk_buff *skb, u32 portid, u32 seq, int flags, in l2tp_nl_session_send() argument
717 hdr = genlmsg_put(skb, portid, seq, &l2tp_nl_family, flags, cmd); in l2tp_nl_session_send()
838 if (l2tp_nl_session_send(skb, NETLINK_CB(cb->skb).portid, in l2tp_nl_cmd_session_dump()
/linux-4.4.14/net/openvswitch/
Ddatapath.c276 upcall.portid = ovs_vport_find_upcall_portid(p, skb); in ovs_dp_process_packet()
308 if (upcall_info->portid == 0) { in ovs_dp_upcall()
427 .snd_portid = upcall_info->portid, in queue_userspace_packet()
533 err = genlmsg_unicast(ovs_dp_get_net(dp), user_skb, upcall_info->portid); in queue_userspace_packet()
817 struct sk_buff *skb, u32 portid, in ovs_flow_cmd_fill_info() argument
824 ovs_header = genlmsg_put(skb, portid, seq, &dp_flow_genl_family, in ovs_flow_cmd_fill_info()
1370 NETLINK_CB(cb->skb).portid, in ovs_flow_cmd_dump()
1444 u32 portid, u32 seq, u32 flags, u8 cmd) in ovs_dp_cmd_fill_info() argument
1451 ovs_header = genlmsg_put(skb, portid, seq, &dp_datapath_genl_family, in ovs_dp_cmd_fill_info()
1759 ovs_dp_cmd_fill_info(dp, skb, NETLINK_CB(cb->skb).portid, in ovs_dp_cmd_dump()
[all …]
Ddatapath.h123 u32 portid; member
Dactions.c786 upcall.portid = nla_get_u32(a); in output_userspace()
/linux-4.4.14/arch/sparc/include/asm/
Dirq_64.h53 unsigned int sun4u_build_msi(u32 portid, unsigned int *irq_p,
/linux-4.4.14/Documentation/connector/
Dconnector.txt27 void cn_netlink_send_multi(struct cn_msg *msg, u16 len, u32 portid, u32 __group, int gfp_mask);
28 void cn_netlink_send(struct cn_msg *msg, u32 portid, u32 __group, int gfp_mask);
75 int cn_netlink_send_multi(struct cn_msg *msg, u16 len, u32 portid, u32 __groups, int gfp_mask);
76 int cn_netlink_send(struct cn_msg *msg, u32 portid, u32 __groups, int gfp_mask);
/linux-4.4.14/net/netfilter/ipset/
Dip_set_core.c746 start_msg(struct sk_buff *skb, u32 portid, u32 seq, unsigned int flags, in start_msg() argument
752 nlh = nlmsg_put(skb, portid, seq, cmd | (NFNL_SUBSYS_IPSET << 8), in start_msg()
1275 unsigned int flags = NETLINK_CB(cb->skb).portid ? NLM_F_MULTI : 0; in ip_set_dump_start()
1338 nlh = start_msg(skb, NETLINK_CB(cb->skb).portid, in ip_set_dump_start()
1479 rep = __nlmsg_put(skb2, NETLINK_CB(skb).portid, in call_ad()
1494 netlink_unicast(ctnl, skb2, NETLINK_CB(skb).portid, in call_ad()
1672 nlh2 = start_msg(skb2, NETLINK_CB(skb).portid, nlh->nlmsg_seq, 0, in ip_set_header()
1684 ret = netlink_unicast(ctnl, skb2, NETLINK_CB(skb).portid, MSG_DONTWAIT); in ip_set_header()
1732 nlh2 = start_msg(skb2, NETLINK_CB(skb).portid, nlh->nlmsg_seq, 0, in ip_set_type()
1745 ret = netlink_unicast(ctnl, skb2, NETLINK_CB(skb).portid, MSG_DONTWAIT); in ip_set_type()
[all …]
/linux-4.4.14/net/core/
Dnet_namespace.c591 static int rtnl_net_fill(struct sk_buff *skb, u32 portid, u32 seq, int flags, in rtnl_net_fill() argument
597 nlh = nlmsg_put(skb, portid, seq, cmd, sizeof(*rth), flags); in rtnl_net_fill()
644 err = rtnl_net_fill(msg, NETLINK_CB(skb).portid, nlh->nlmsg_seq, 0, in rtnl_net_getid()
649 err = rtnl_unicast(msg, net, NETLINK_CB(skb).portid); in rtnl_net_getid()
675 ret = rtnl_net_fill(net_cb->skb, NETLINK_CB(net_cb->cb->skb).portid, in rtnl_net_dumpid_one()
Drtnetlink.c1457 NETLINK_CB(cb->skb).portid, in rtnl_dump_ifinfo()
2446 err = rtnl_fill_ifinfo(nskb, dev, RTM_NEWLINK, NETLINK_CB(skb).portid, in rtnl_getlink()
2453 err = rtnl_unicast(nskb, net, NETLINK_CB(skb).portid); in rtnl_getlink()
2869 u32 portid, seq; in nlmsg_populate_fdb() local
2871 portid = NETLINK_CB(cb->skb).portid; in nlmsg_populate_fdb()
2879 portid, seq, in nlmsg_populate_fdb()
3099 u32 portid = NETLINK_CB(cb->skb).portid; in rtnl_bridge_getlink() local
3125 skb, portid, seq, dev, in rtnl_bridge_getlink()
3135 err = ops->ndo_bridge_getlink(skb, portid, in rtnl_bridge_getlink()
Dfib_rules.c416 notify_rule_change(RTM_NEWRULE, rule, ops, nlh, NETLINK_CB(skb).portid); in fib_nl_newrule()
527 NETLINK_CB(skb).portid); in fib_nl_delrule()
641 err = fib_nl_fill_rule(skb, rule, NETLINK_CB(cb->skb).portid, in dump_rules()
Dneighbour.c2115 if (neightbl_fill_info(skb, tbl, NETLINK_CB(cb->skb).portid, in neightbl_dump_info()
2130 NETLINK_CB(cb->skb).portid, in neightbl_dump_info()
2303 if (neigh_fill_info(skb, n, NETLINK_CB(cb->skb).portid, in neigh_dump_table()
2340 if (pneigh_fill_info(skb, n, NETLINK_CB(cb->skb).portid, in pneigh_dump_table()
/linux-4.4.14/net/dcb/
Ddcbnl.c1360 u32 seq, u32 portid, int dcbx_ver) in dcbnl_notify() argument
1371 skb = dcbnl_newmsg(event, cmd, portid, seq, 0, &nlh); in dcbnl_notify()
1394 u32 seq, u32 portid) in dcbnl_ieee_notify() argument
1396 return dcbnl_notify(dev, event, cmd, seq, portid, DCB_CAP_DCBX_VER_IEEE); in dcbnl_ieee_notify()
1401 u32 seq, u32 portid) in dcbnl_cee_notify() argument
1403 return dcbnl_notify(dev, event, cmd, seq, portid, DCB_CAP_DCBX_VER_CEE); in dcbnl_cee_notify()
1707 u32 portid = skb ? NETLINK_CB(skb).portid : 0; in dcb_doit() local
1739 reply_skb = dcbnl_newmsg(fn->type, dcb->cmd, portid, nlh->nlmsg_seq, in dcb_doit()
1752 ret = rtnl_unicast(reply_skb, net, portid); in dcb_doit()
/linux-4.4.14/Documentation/devicetree/bindings/powerpc/fsl/
Dcpus.txt24 - fsl,portid-mapping
Dpamu.txt37 - fsl,portid-mapping : <u32>
100 fsl,portid-mapping = <0xf80000>;
/linux-4.4.14/drivers/staging/gdm72xx/
Dnetlink_k.c143 NETLINK_CB(skb).portid = 0; in netlink_send()
/linux-4.4.14/drivers/staging/gdm724x/
Dnetlink_k.c136 NETLINK_CB(skb).portid = 0; in netlink_send()
/linux-4.4.14/net/hsr/
Dhsr_netlink.c278 msg_head = genlmsg_put(skb_out, NETLINK_CB(skb_in).portid, in hsr_get_node_status()
404 msg_head = genlmsg_put(skb_out, NETLINK_CB(skb_in).portid, in hsr_get_node_list()
/linux-4.4.14/crypto/
Dcrypto_user.c197 nlh = nlmsg_put(skb, NETLINK_CB(in_skb).portid, info->nlmsg_seq, in crypto_report_alg()
252 return nlmsg_unicast(crypto_nlsk, skb, NETLINK_CB(in_skb).portid); in crypto_report()
/linux-4.4.14/drivers/net/wireless/
Dmac80211_hwsim.c493 u32 portid; member
2355 data->portid = info->snd_portid; in mac80211_hwsim_new_radio()
2610 u32 portid, u32 seq, in mac80211_hwsim_get_radio() argument
2617 hdr = genlmsg_put(skb, portid, seq, &hwsim_genl_family, flags, in mac80211_hwsim_get_radio()
3009 NETLINK_CB(cb->skb).portid, in hwsim_dump_radio_nl()
3071 static void remove_user_radios(u32 portid) in remove_user_radios() argument
3077 if (entry->destroy_on_close && entry->portid == portid) { in remove_user_radios()
3095 remove_user_radios(notify->portid); in mac80211_hwsim_netlink_notify()
3097 if (notify->portid == wmediumd_portid) { in mac80211_hwsim_netlink_notify()
/linux-4.4.14/net/netlabel/
Dnetlabel_mgmt.c442 data = genlmsg_put(cb_arg->skb, NETLINK_CB(cb_arg->nl_cb->skb).portid, in netlbl_mgmt_listall_cb()
608 data = genlmsg_put(skb, NETLINK_CB(cb->skb).portid, cb->nlh->nlmsg_seq, in netlbl_mgmt_protocols_cb()
Dnetlabel_cipso_v4.c628 data = genlmsg_put(cb_arg->skb, NETLINK_CB(cb_arg->nl_cb->skb).portid, in netlbl_cipsov4_listall_cb()
Dnetlabel_unlabeled.c1097 data = genlmsg_put(cb_arg->skb, NETLINK_CB(cb_arg->nl_cb->skb).portid, in netlbl_unlabel_staticlist_gen()
/linux-4.4.14/net/switchdev/
Dswitchdev.c1026 u32 portid = NETLINK_CB(dump->cb->skb).portid; in switchdev_port_fdb_dump_cb() local
1034 nlh = nlmsg_put(dump->skb, portid, seq, RTM_NEWNEIGH, in switchdev_port_fdb_dump_cb()
/linux-4.4.14/net/key/
Daf_key.c1453 hdr->sadb_msg_pid = c->portid; in key_notify_sa()
1490 c.portid = hdr->sadb_msg_pid; in pfkey_add()
1527 c.portid = hdr->sadb_msg_pid; in pfkey_delete()
1707 hdr->sadb_msg_pid = c->portid; in key_notify_sa_flush()
1739 c.portid = hdr->sadb_msg_pid; in pfkey_flush()
2183 out_hdr->sadb_msg_pid = c->portid; in key_notify_policy()
2292 c.portid = hdr->sadb_msg_pid; in pfkey_spdadd()
2369 c.portid = hdr->sadb_msg_pid; in pfkey_spddelete()
2616 c.portid = hdr->sadb_msg_pid; in pfkey_spdget()
2705 hdr->sadb_msg_pid = c->portid; in key_notify_policy_flush()
[all …]
/linux-4.4.14/net/bridge/
Dbr_fdb.c632 u32 portid, u32 seq, int type, unsigned int flags) in fdb_fill_info() argument
639 nlh = nlmsg_put(skb, portid, seq, type, sizeof(*ndm), flags); in fdb_fill_info()
746 NETLINK_CB(cb->skb).portid, in br_fdb_dump()
Dbr_mdb.c136 nlh = nlmsg_put(skb, NETLINK_CB(cb->skb).portid, in br_mdb_dump()
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
Dtrx.h498 u32 portid:1; member
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Dtrx.h493 u32 portid:1; member
/linux-4.4.14/drivers/scsi/bfa/
Dbfi.h1076 u8 portid; member
Dbfa_fc.h818 u32 portid:24; member
Dbfa_defs_svc.h1039 u32 portid; member
Dbfa_fcbuild.c1167 rscn->event[0].portid = s_id; in fc_rscn_build()
Dbfa_fcs_lport.c5644 rscn_pid = rscn->event[i].portid; in bfa_fcs_lport_scn_process_rscn()
5652 if (rscn->event[j].portid == rscn_pid) { in bfa_fcs_lport_scn_process_rscn()
Dbfa_ioc.c4992 msg->portid = bfa_ioc_portid(diag->ioc); in diag_ledtest_send()
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
Dtrx.h627 u32 portid:1; member
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
Dtrx.h595 u32 portid:1; member
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
Dtrx.h610 u32 portid:1; member
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
Dtrx.h668 u32 portid:1; member
/linux-4.4.14/net/can/
Dgw.c604 if (cgw_put_job(skb, gwj, RTM_NEWROUTE, NETLINK_CB(cb->skb).portid, in cgw_dump_jobs()
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
Dtrx.h725 u32 portid:1; member
/linux-4.4.14/drivers/net/
Dvxlan.c274 u32 portid, u32 seq, int type, unsigned int flags, in vxlan_fdb_info() argument
283 nlh = nlmsg_put(skb, portid, seq, type, sizeof(*ndm), flags); in vxlan_fdb_info()
930 NETLINK_CB(cb->skb).portid, in vxlan_fdb_dump()
/linux-4.4.14/net/netfilter/ipvs/
Dip_vs_ctl.c2982 hdr = genlmsg_put(skb, NETLINK_CB(cb->skb).portid, cb->nlh->nlmsg_seq, in ip_vs_genl_dump_service()
3180 hdr = genlmsg_put(skb, NETLINK_CB(cb->skb).portid, cb->nlh->nlmsg_seq, in ip_vs_genl_dump_dest()
3332 hdr = genlmsg_put(skb, NETLINK_CB(cb->skb).portid, cb->nlh->nlmsg_seq, in ip_vs_genl_dump_daemon()
/linux-4.4.14/drivers/net/ethernet/broadcom/
Dbcm63xx_enet.c2036 static inline int bcm_enet_port_is_rgmii(int portid) in bcm_enet_port_is_rgmii() argument
2038 return portid >= ENETSW_RGMII_PORT0; in bcm_enet_port_is_rgmii()
/linux-4.4.14/drivers/scsi/
Dscsi_transport_iscsi.c3520 NETLINK_CB(skb).portid, in iscsi_if_recv_msg()
3533 NETLINK_CB(skb).portid, in iscsi_if_recv_msg()
/linux-4.4.14/drivers/block/drbd/
Ddrbd_nl.c3134 dh = genlmsg_put(skb, NETLINK_CB(cb->skb).portid, in get_one_status()