Home
last modified time | relevance | path

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

/linux-4.1.27/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 …]
Dnfnetlink_queue.h19 u32 portid, u32 report);
46 u32 portid, u32 report) in nfqnl_attach_expect() argument
Dnf_conntrack_expect.h91 u32 portid, int report);
109 u32 portid, int report);
Dnf_conntrack.h252 void *data, u32 portid, int report);
Dnf_tables.h104 u32 portid; member
/linux-4.1.27/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.1.27/arch/powerpc/boot/dts/fsl/
Dt4240si-pre.dtsi73 fsl,portid-mapping = <0x80000000>;
80 fsl,portid-mapping = <0x80000000>;
87 fsl,portid-mapping = <0x80000000>;
94 fsl,portid-mapping = <0x80000000>;
101 fsl,portid-mapping = <0x40000000>;
108 fsl,portid-mapping = <0x40000000>;
115 fsl,portid-mapping = <0x40000000>;
122 fsl,portid-mapping = <0x40000000>;
129 fsl,portid-mapping = <0x20000000>;
136 fsl,portid-mapping = <0x20000000>;
[all …]
Dp4080si-pre.dtsi86 fsl,portid-mapping = <0x80000000>;
96 fsl,portid-mapping = <0x40000000>;
106 fsl,portid-mapping = <0x20000000>;
116 fsl,portid-mapping = <0x10000000>;
126 fsl,portid-mapping = <0x08000000>;
136 fsl,portid-mapping = <0x04000000>;
146 fsl,portid-mapping = <0x02000000>;
156 fsl,portid-mapping = <0x01000000>;
Dt208xsi-pre.dtsi75 fsl,portid-mapping = <0x80000000>;
82 fsl,portid-mapping = <0x80000000>;
89 fsl,portid-mapping = <0x80000000>;
96 fsl,portid-mapping = <0x80000000>;
Db4860si-pre.dtsi69 fsl,portid-mapping = <0x80000000>;
76 fsl,portid-mapping = <0x80000000>;
83 fsl,portid-mapping = <0x80000000>;
90 fsl,portid-mapping = <0x80000000>;
Dp2041si-pre.dtsi86 fsl,portid-mapping = <0x80000000>;
96 fsl,portid-mapping = <0x40000000>;
106 fsl,portid-mapping = <0x20000000>;
116 fsl,portid-mapping = <0x10000000>;
Dp3041si-pre.dtsi87 fsl,portid-mapping = <0x80000000>;
97 fsl,portid-mapping = <0x40000000>;
107 fsl,portid-mapping = <0x20000000>;
117 fsl,portid-mapping = <0x10000000>;
Dp5040si-pre.dtsi86 fsl,portid-mapping = <0x80000000>;
96 fsl,portid-mapping = <0x40000000>;
106 fsl,portid-mapping = <0x20000000>;
116 fsl,portid-mapping = <0x10000000>;
Db4420si-pre.dtsi69 fsl,portid-mapping = <0x80000000>;
76 fsl,portid-mapping = <0x80000000>;
Dp5020si-pre.dtsi93 fsl,portid-mapping = <0x80000000>;
103 fsl,portid-mapping = <0x40000000>;
Db4si-post.dtsi253 fsl,portid-mapping = <0x8000>;
Dp3041si-post.dtsi299 fsl,portid-mapping = <0x0f000000>;
Dp5020si-post.dtsi304 fsl,portid-mapping = <0x3c000000>;
Dp5040si-post.dtsi258 fsl,portid-mapping = <0x0f800000>;
Dp2041si-post.dtsi272 fsl,portid-mapping = <0x0f000000>;
Dt2081si-post.dtsi374 fsl,portid-mapping = <0x8000>;
Dp4080si-post.dtsi307 fsl,portid-mapping = <0x00f80000>;
Dt4240si-post.dtsi618 fsl,portid-mapping = <0x8000>;
/linux-4.1.27/include/net/
Dgenetlink.h187 struct sk_buff *skb, struct net *net, u32 portid,
192 void *genlmsg_put(struct sk_buff *skb, u32 portid, u32 seq,
295 u32 portid, unsigned int group, gfp_t flags) in genlmsg_multicast_netns() argument
300 return nlmsg_multicast(net->genl_sock, skb, portid, group, flags); in genlmsg_multicast_netns()
312 struct sk_buff *skb, u32 portid, in genlmsg_multicast() argument
316 portid, group, flags); in genlmsg_multicast()
330 struct sk_buff *skb, u32 portid,
338 static inline int genlmsg_unicast(struct net *net, struct sk_buff *skb, u32 portid) in genlmsg_unicast() argument
340 return nlmsg_unicast(net->genl_sock, skb, portid); in genlmsg_unicast()
414 u32 portid, u32 group, int code) in genl_set_err() argument
[all …]
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.h263 u32 portid; member
315 void km_state_expired(struct xfrm_state *x, int hard, u32 portid);
1614 void km_policy_expired(struct xfrm_policy *pol, int dir, int hard, u32 portid);
/linux-4.1.27/net/sched/
Dact_api.c642 tca_get_fill(struct sk_buff *skb, struct list_head *actions, u32 portid, u32 seq, in tca_get_fill() argument
650 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*t), flags); in tca_get_fill()
676 act_get_notify(struct net *net, u32 portid, struct nlmsghdr *n, in act_get_notify() argument
684 if (tca_get_fill(skb, actions, portid, n->nlmsg_seq, 0, event, 0, 0) <= 0) { in act_get_notify()
689 return rtnl_unicast(skb, net, portid); in act_get_notify()
707 tcf_action_get_1(struct nlattr *nla, struct nlmsghdr *n, u32 portid) in tcf_action_get_1() argument
759 struct nlmsghdr *n, u32 portid) in tca_action_flush() argument
792 nlh = nlmsg_put(skb, portid, n->nlmsg_seq, RTM_DELACTION, sizeof(*t), 0); in tca_action_flush()
815 err = rtnetlink_send(skb, net, portid, RTNLGRP_TC, in tca_action_flush()
832 u32 portid) in tcf_del_notify() argument
[all …]
Dsch_api.c1332 u32 portid, u32 seq, u16 flags, int event) in tc_fill_qdisc() argument
1344 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*tcm), flags); in tc_fill_qdisc()
1404 u32 portid = oskb ? NETLINK_CB(oskb).portid : 0; in qdisc_notify() local
1411 if (tc_fill_qdisc(skb, old, clid, portid, n->nlmsg_seq, in qdisc_notify()
1416 if (tc_fill_qdisc(skb, new, clid, portid, n->nlmsg_seq, in qdisc_notify()
1422 return rtnetlink_send(skb, net, portid, RTNLGRP_TC, in qdisc_notify()
1445 tc_fill_qdisc(skb, q, q->parent, NETLINK_CB(cb->skb).portid, in tc_dump_qdisc_root()
1456 tc_fill_qdisc(skb, q, q->parent, NETLINK_CB(cb->skb).portid, in tc_dump_qdisc_root()
1529 u32 portid; in tc_ctl_tclass() local
1561 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.1.27/include/linux/
Dnetlink.h27 __u32 portid; member
71 extern int netlink_unicast(struct sock *ssk, struct sk_buff *skb, __u32 portid, int nonblock);
72 extern int netlink_broadcast(struct sock *ssk, struct sk_buff *skb, __u32 portid,
75 __u32 portid, __u32 group, gfp_t allocation,
78 extern int netlink_set_err(struct sock *ssk, __u32 portid, __u32 group, int code);
137 u32 portid; member
142 __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.h370 u32 portid, u32 report);
Daudit.h493 extern int audit_rule_change(int type, __u32 portid, int seq,
/linux-4.1.27/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.1.27/net/netlink/
Daf_netlink.c136 NETLINK_CB(new).portid = NETLINK_CB(skb).portid; in netlink_to_full_skb()
776 NETLINK_CB(skb).portid = nlk->portid; in netlink_mmap_sendmsg()
1007 u32 portid; member
1012 (offsetof(struct netlink_compare_arg, portid) + sizeof(u32))
1020 return nlk->portid != x->portid || in netlink_compare()
1025 struct net *net, u32 portid) in netlink_compare_arg_init() argument
1029 arg->portid = portid; in netlink_compare_arg_init()
1032 static struct sock *__netlink_lookup(struct netlink_table *table, u32 portid, in __netlink_lookup() argument
1037 netlink_compare_arg_init(&arg, net, portid); in __netlink_lookup()
1046 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.1.27/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, !(gfp_mask&__GFP_WAIT)); in cn_netlink_send_mult()
132 int cn_netlink_send(struct cn_msg *msg, u32 portid, u32 __group, in cn_netlink_send() argument
135 return cn_netlink_send_mult(msg, msg->len, portid, __group, gfp_mask); in cn_netlink_send()
/linux-4.1.27/net/tipc/
Dsocket.c87 u32 portid; member
115 static struct tipc_sock *tipc_sk_lookup(struct net *net, u32 portid);
365 msg_set_origport(msg, tsk->portid); in tipc_sk_create()
441 tipc_node_remove_conn(net, dnode, tsk->portid); in tipc_release()
459 tsk->portid, TIPC_ERR_NO_PORT); in tipc_release()
461 tipc_link_xmit_skb(net, skb, dnode, tsk->portid); in tipc_release()
462 tipc_node_remove_conn(net, dnode, tsk->portid); in tipc_release()
566 addr->addr.id.ref = tsk->portid; in tipc_getname()
721 u32 portid; in tipc_sk_mcast_rcv() local
742 portid = tipc_plist_pop(&dports); in tipc_sk_mcast_rcv()
[all …]
Dnet.c157 hdr = genlmsg_put(msg->skb, msg->portid, msg->seq, &tipc_genl_family, in __tipc_nl_add_net()
193 msg.portid = NETLINK_CB(cb->skb).portid; in tipc_nl_net_dump()
Dnetlink.h44 u32 portid; member
Dbearer.c600 hdr = genlmsg_put(msg->skb, msg->portid, msg->seq, &tipc_genl_family, in __tipc_nl_add_bearer()
651 msg.portid = NETLINK_CB(cb->skb).portid; in tipc_nl_bearer_dump()
698 msg.portid = info->snd_portid; in tipc_nl_bearer_get()
866 hdr = genlmsg_put(msg->skb, msg->portid, msg->seq, &tipc_genl_family, in __tipc_nl_add_media()
914 msg.portid = NETLINK_CB(cb->skb).portid; in tipc_nl_media_dump()
957 msg.portid = info->snd_portid; in tipc_nl_media_get()
Dnode.c533 hdr = genlmsg_put(msg->skb, msg->portid, msg->seq, &tipc_genl_family, in __tipc_nl_add_node()
575 msg.portid = NETLINK_CB(cb->skb).portid; in tipc_nl_node_dump()
Dname_table.c875 hdr = genlmsg_put(msg->skb, msg->portid, msg->seq, in __tipc_nl_add_nametable_publ()
1008 msg.portid = NETLINK_CB(cb->skb).portid; in tipc_nl_name_table_dump()
Dlink.c2021 hdr = genlmsg_put(msg->skb, msg->portid, msg->seq, &tipc_genl_family, in __tipc_nl_add_link()
2119 msg.portid = NETLINK_CB(cb->skb).portid; in tipc_nl_link_dump()
2199 msg.portid = info->snd_portid; in tipc_nl_link_get()
Dbcast.c789 hdr = genlmsg_put(msg->skb, msg->portid, msg->seq, &tipc_genl_family, in tipc_nl_add_bc_link()
Dnetlink_compat.c1046 genlmsg_unicast(net, msg.rep, NETLINK_CB(skb).portid); in tipc_nl_compat_recv()
/linux-4.1.27/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()
385 cttimeout_default_fill_info(struct net *net, struct sk_buff *skb, u32 portid, in cttimeout_default_fill_info() argument
391 unsigned int flags = portid ? NLM_F_MULTI : 0; in cttimeout_default_fill_info()
394 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*nfmsg), flags); in cttimeout_default_fill_info()
463 ret = cttimeout_default_fill_info(net, skb2, NETLINK_CB(skb).portid, in cttimeout_default_get()
[all …]
Dnf_conntrack_netlink.c458 ctnetlink_fill_info(struct sk_buff *skb, u32 portid, u32 seq, u32 type, in ctnetlink_fill_info() argument
464 unsigned int flags = portid ? NLM_F_MULTI : 0, event; in ctnetlink_fill_info()
467 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*nfmsg), flags); in ctnetlink_fill_info()
648 nlh = nlmsg_put(skb, item->portid, 0, type, sizeof(*nfmsg), flags); in ctnetlink_conntrack_event()
724 err = nfnetlink_send(skb, net, item->portid, group, item->report, in ctnetlink_conntrack_event()
836 ctnetlink_fill_info(skb, NETLINK_CB(cb->skb).portid, in ctnetlink_dump_table()
1033 u32 portid, int report) in ctnetlink_flush_conntrack() argument
1044 portid, report); in ctnetlink_flush_conntrack()
1074 NETLINK_CB(skb).portid, in ctnetlink_del_conntrack()
1096 nf_ct_delete(ct, NETLINK_CB(skb).portid, nlmsg_report(nlh)); in ctnetlink_del_conntrack()
[all …]
Dnf_tables_api.c104 ctx->portid = NETLINK_CB(skb).portid; in nft_ctx_init()
405 u32 portid, u32 seq, int event, u32 flags, in nf_tables_fill_table_info() argument
412 nlh = nlmsg_put(skb, portid, seq, event, sizeof(struct nfgenmsg), flags); in nf_tables_fill_table_info()
448 err = nf_tables_fill_table_info(skb, ctx->net, ctx->portid, ctx->seq, in nf_tables_table_notify()
455 err = nfnetlink_send(skb, ctx->net, ctx->portid, NFNLGRP_NFTABLES, in nf_tables_table_notify()
459 nfnetlink_set_err(ctx->net, ctx->portid, NFNLGRP_NFTABLES, in nf_tables_table_notify()
489 NETLINK_CB(cb->skb).portid, in nf_tables_dump_tables()
540 err = nf_tables_fill_table_info(skb2, net, NETLINK_CB(skb).portid, in nf_tables_gettable()
546 return nlmsg_unicast(nlsk, skb2, NETLINK_CB(skb).portid); in nf_tables_gettable()
921 u32 portid, u32 seq, int event, u32 flags, in nf_tables_fill_chain_info() argument
[all …]
Dnfnetlink_acct.c132 nfnl_acct_fill_info(struct sk_buff *skb, u32 portid, u32 seq, u32 type, in nfnl_acct_fill_info() argument
137 unsigned int flags = portid ? NLM_F_MULTI : 0; in nfnl_acct_fill_info()
142 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()
298 ret = nfnl_acct_fill_info(skb2, NETLINK_CB(skb).portid, in nfnl_acct_get()
306 ret = netlink_unicast(nfnl, skb2, NETLINK_CB(skb).portid, in nfnl_acct_get()
Dnfnetlink_queue_ct.c101 u32 portid, u32 report) in nfqnl_attach_expect() argument
112 return nfq_ct->attach_expect(attr, ct, portid, report); in nfqnl_attach_expect()
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_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_core.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()
866 if (n->portid == inst->peer_portid) in nfqnl_rcv_nl_event()
945 NETLINK_CB(skb).portid); in nfqnl_recv_verdict_batch()
999 NETLINK_CB(skb).portid); in nfqnl_recv_verdict()
1017 NETLINK_CB(skb).portid, in nfqnl_recv_verdict()
1084 if (queue && queue->peer_portid != NETLINK_CB(skb).portid) { in nfqnl_recv_config()
1097 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()
439 u32 portid, int report) in nf_ct_expect_related_report() argument
452 nf_ct_expect_event_report(IPEXP_NEW, expect, portid, report); in nf_ct_expect_related_report()
Dnft_compat.c488 nfnl_compat_fill_info(struct sk_buff *skb, u32 portid, u32 seq, u32 type, in nfnl_compat_fill_info() argument
494 unsigned int flags = portid ? NLM_F_MULTI : 0; in nfnl_compat_fill_info()
497 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*nfmsg), flags); in nfnl_compat_fill_info()
573 if (nfnl_compat_fill_info(skb2, NETLINK_CB(skb).portid, in nfnl_compat_get()
583 ret = netlink_unicast(nfnl, skb2, NETLINK_CB(skb).portid, in nfnl_compat_get()
Dnfnetlink_log.c155 u32 portid, struct user_namespace *user_ns) in instance_create() argument
188 inst->peer_portid = portid; in instance_create()
761 if (n->portid == inst->peer_portid) in nfulnl_rcv_nl_event()
826 if (inst && inst->peer_portid != NETLINK_CB(skb).portid) { in nfulnl_recv_config()
840 NETLINK_CB(skb).portid, in nfulnl_recv_config()
Dnf_conntrack_ecache.c150 item.portid = 0; in nf_ct_deliver_cached_events()
Dnf_conntrack_core.c355 bool nf_ct_delete(struct nf_conn *ct, u32 portid, int report) in nf_ct_delete() argument
367 portid, report) < 0) { in nf_ct_delete()
1395 void *data, u32 portid, int report) in nf_ct_iterate_cleanup() argument
1403 nf_ct_delete(ct, portid, report); in nf_ct_iterate_cleanup()
/linux-4.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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()
254 u32 portid, u32 seq, u16 nlmsg_flags, in inet_csk_diag_fill() argument
258 user_ns, portid, seq, nlmsg_flags, unlh); in inet_csk_diag_fill()
263 u32 portid, u32 seq, u16 nlmsg_flags, in inet_twsk_diag_fill() argument
271 nlh = nlmsg_put(skb, portid, seq, unlh->nlmsg_type, sizeof(*r), in inet_twsk_diag_fill()
299 u32 portid, u32 seq, u16 nlmsg_flags, in inet_req_diag_fill() argument
306 nlh = nlmsg_put(skb, portid, seq, unlh->nlmsg_type, sizeof(*r), in inet_req_diag_fill()
334 u32 portid, u32 seq, u16 nlmsg_flags, in sk_diag_fill() argument
338 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
361 rtmsg_ifa(RTM_DELADDR, ifa, nlh, portid); in __inet_del_ifa()
398 rtmsg_ifa(RTM_DELADDR, ifa1, nlh, portid); in __inet_del_ifa()
411 rtmsg_ifa(RTM_NEWADDR, promote, nlh, portid); in __inet_del_ifa()
437 u32 portid) in __inet_insert_ifa() argument
487 rtmsg_ifa(RTM_NEWADDR, ifa, nlh, portid); in __inet_insert_ifa()
609 __inet_del_ifa(in_dev, ifap, 1, nlh, NETLINK_CB(skb).portid); in inet_rtm_deladdr()
872 return __inet_insert_ifa(ifa, nlh, NETLINK_CB(skb).portid); in inet_rtm_newaddr()
884 rtmsg_ifa(RTM_NEWADDR, ifa, nlh, NETLINK_CB(skb).portid); in inet_rtm_newaddr()
1505 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.c619 cfg->fc_nlinfo.portid = NETLINK_CB(skb).portid; in rtm_to_fib_config()
1024 u32 portid; in nl_fib_input() local
1040 portid = NETLINK_CB(skb).portid; /* netlink portid */ in nl_fib_input()
1041 NETLINK_CB(skb).portid = 0; /* from kernel */ in nl_fib_input()
1043 netlink_unicast(net->ipv4.fibnl, skb, portid, MSG_DONTWAIT); in nl_fib_input()
Dfib_semantics.c396 err = fib_dump_info(skb, info->portid, seq, event, tb_id, in rtmsg_fib()
405 rtnl_notify(skb, info->nl_net, info->portid, RTNLGRP_IPV4_ROUTE, in rtmsg_fib()
990 int fib_dump_info(struct sk_buff *skb, u32 portid, u32 seq, int event, in fib_dump_info() argument
997 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*rtm), flags); in fib_dump_info()
Dfou.c638 static int fou_dump_info(struct fou *fou, u32 portid, u32 seq, in fou_dump_info() argument
643 hdr = genlmsg_put(skb, portid, seq, &fou_nl_family, flags, cmd); in fou_dump_info()
711 ret = fou_dump_info(fout, NETLINK_CB(cb->skb).portid, in fou_nl_dump()
Dipmr.c648 rtnl_unicast(skb, net, NETLINK_CB(skb).portid); in ipmr_destroy_unres()
938 rtnl_unicast(skb, net, NETLINK_CB(skb).portid); in ipmr_cache_resolve()
2269 u32 portid, u32 seq, struct mfc_cache *c, int cmd, in ipmr_fill_mroute() argument
2276 nlh = nlmsg_put(skb, portid, seq, cmd, sizeof(*rtm), flags); in ipmr_fill_mroute()
2382 NETLINK_CB(cb->skb).portid, in ipmr_rtm_dumproute()
2397 NETLINK_CB(cb->skb).portid, in ipmr_rtm_dumproute()
Droute.c2342 struct flowi4 *fl4, struct sk_buff *skb, u32 portid, in rt_fill_info() argument
2352 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*r), flags); in rt_fill_info()
2537 NETLINK_CB(in_skb).portid, nlh->nlmsg_seq, in inet_rtm_getroute()
2542 err = rtnl_unicast(skb, net, NETLINK_CB(in_skb).portid); in inet_rtm_getroute()
Dtcp_metrics.c902 hdr = genlmsg_put(skb, NETLINK_CB(cb->skb).portid, cb->nlh->nlmsg_seq, in tcp_metrics_dump_info()
Dfib_trie.c1899 if (fib_dump_info(skb, NETLINK_CB(cb->skb).portid, in fn_trie_dump_leaf()
/linux-4.1.27/net/wireless/
Dreg.h40 int regulatory_hint_indoor(bool is_indoor, u32 portid);
46 void regulatory_netlink_notify(u32 portid);
Dnl80211.c574 static inline void *nl80211hdr_put(struct sk_buff *skb, u32 portid, u32 seq, in nl80211hdr_put() argument
578 return genlmsg_put(skb, portid, seq, &nl80211_fam, flags, cmd); in nl80211hdr_put()
1254 struct sk_buff *msg, u32 portid, u32 seq, in nl80211_send_wiphy() argument
1268 hdr = nl80211hdr_put(msg, portid, seq, flags, cmd); in nl80211_send_wiphy()
1802 NETLINK_CB(cb->skb).portid, in nl80211_dump_wiphy()
2364 static int nl80211_send_iface(struct sk_buff *msg, u32 portid, u32 seq, int flags, in nl80211_send_iface() argument
2375 hdr = nl80211hdr_put(msg, portid, seq, flags, cmd); in nl80211_send_iface()
2441 if (nl80211_send_iface(skb, NETLINK_CB(cb->skb).portid, in nl80211_dump_interface()
3674 static int nl80211_send_station(struct sk_buff *msg, u32 cmd, u32 portid, in nl80211_send_station() argument
3683 hdr = nl80211hdr_put(msg, portid, seq, flags, cmd); in nl80211_send_station()
[all …]
Dreg.c2314 int regulatory_hint_indoor(bool is_indoor, u32 portid) in regulatory_hint_indoor() argument
2328 reg_is_indoor_portid = portid; in regulatory_hint_indoor()
2341 void regulatory_netlink_notify(u32 portid) in regulatory_netlink_notify() argument
2345 if (reg_is_indoor_portid != portid) { in regulatory_netlink_notify()
/linux-4.1.27/net/mpls/
Daf_mpls.c41 struct nlmsghdr *nlh, struct net *net, u32 portid,
284 unsigned portid = info ? info->portid : 0; in mpls_notify_route() local
290 rtmsg_lfib(event, index, rt, nlh, net, portid, nlm_flags); in mpls_notify_route()
717 cfg->rc_nlinfo.portid = NETLINK_CB(skb).portid; in rtm_to_route_config()
818 static int mpls_dump_route(struct sk_buff *skb, u32 portid, u32 seq, int event, in mpls_dump_route() argument
825 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*rtm), flags); in mpls_dump_route()
880 if (mpls_dump_route(skb, NETLINK_CB(cb->skb).portid, in mpls_dump_routes()
904 struct nlmsghdr *nlh, struct net *net, u32 portid, in rtmsg_lfib() argument
915 err = mpls_dump_route(skb, portid, seq, event, label, rt, nlm_flags); in rtmsg_lfib()
922 rtnl_notify(skb, net, portid, RTNLGRP_MPLS_ROUTE, nlh, GFP_KERNEL); in rtmsg_lfib()
/linux-4.1.27/net/nfc/
Dnetlink.c72 hdr = genlmsg_put(msg, NETLINK_CB(cb->skb).portid, cb->nlh->nlmsg_seq, in nfc_genl_send_target()
548 u32 portid, u32 seq, in nfc_genl_send_device() argument
554 hdr = genlmsg_put(msg, portid, seq, &nfc_genl_family, flags, in nfc_genl_send_device()
604 rc = nfc_genl_send_device(skb, dev, NETLINK_CB(cb->skb).portid, in nfc_genl_dump_devices()
945 u32 portid, u32 seq) in nfc_genl_send_params() argument
949 hdr = genlmsg_put(msg, portid, seq, &nfc_genl_family, 0, in nfc_genl_send_params()
1279 u32 portid, u32 seq, in nfc_genl_send_se() argument
1287 hdr = genlmsg_put(msg, portid, seq, &nfc_genl_family, flags, in nfc_genl_send_se()
1337 rc = nfc_genl_send_se(skb, dev, NETLINK_CB(cb->skb).portid, in nfc_genl_dump_ses()
1587 u32 portid; member
[all …]
/linux-4.1.27/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()
536 netlink_unicast(aunet->nlsk, skb, dest->portid, 0); in audit_send_list()
544 struct sk_buff *audit_make_reply(__u32 portid, int seq, int type, int done, in audit_make_reply() argument
557 nlh = nlmsg_put(skb, portid, seq, t, size, flags); in audit_make_reply()
580 netlink_unicast(aunet->nlsk , reply->skb, reply->portid, 0); in audit_send_reply_thread()
601 u32 portid = NETLINK_CB(request_skb).portid; in audit_send_reply() local
611 skb = audit_make_reply(portid, seq, type, done, multi, payload, size); in audit_send_reply()
616 reply->portid = portid; in audit_send_reply()
[all …]
Dauditfilter.c998 static void audit_list_rules(__u32 portid, int seq, struct sk_buff_head *q) in audit_list_rules() argument
1013 skb = audit_make_reply(portid, seq, AUDIT_LIST_RULES, in audit_list_rules()
1021 skb = audit_make_reply(portid, seq, AUDIT_LIST_RULES, 1, 1, NULL, 0); in audit_list_rules()
1056 int audit_rule_change(int type, __u32 portid, int seq, void *data, in audit_rule_change() argument
1093 u32 portid = NETLINK_CB(request_skb).portid; in audit_list_rules_send() local
1109 dest->portid = portid; in audit_list_rules_send()
1113 audit_list_rules(portid, seq, &dest->q); in audit_list_rules_send()
Daudit.h235 extern struct sk_buff *audit_make_reply(__u32 portid, int seq, int type,
241 __u32 portid; member
/linux-4.1.27/net/ieee802154/
Dnl-mac.c80 static int ieee802154_nl_fill_iface(struct sk_buff *msg, u32 portid, in ieee802154_nl_fill_iface() argument
459 if (ieee802154_nl_fill_iface(skb, NETLINK_CB(cb->skb).portid, in ieee802154_dump_iface()
767 int portid; member
801 data.portid = NETLINK_CB(cb->skb).portid; in ieee802154_llsec_dump_table()
918 ieee802154_nl_fill_key(struct sk_buff *msg, u32 portid, u32 seq, in ieee802154_nl_fill_key() argument
967 if (ieee802154_nl_fill_key(data->skb, data->portid, in llsec_iter_keys()
1055 ieee802154_nl_fill_dev(struct sk_buff *msg, u32 portid, u32 seq, in ieee802154_nl_fill_dev() argument
1097 if (ieee802154_nl_fill_dev(data->skb, data->portid, in llsec_iter_devs()
1161 ieee802154_nl_fill_devkey(struct sk_buff *msg, u32 portid, u32 seq, in ieee802154_nl_fill_devkey() argument
1206 if (ieee802154_nl_fill_devkey(data->skb, data->portid, in llsec_iter_devkeys()
[all …]
Dnl802154.c231 static inline void *nl802154hdr_put(struct sk_buff *skb, u32 portid, u32 seq, in nl802154hdr_put() argument
235 return genlmsg_put(skb, portid, seq, &nl802154_fam, flags, cmd); in nl802154hdr_put()
261 struct sk_buff *msg, u32 portid, u32 seq, in nl802154_send_wpan_phy() argument
266 hdr = nl802154hdr_put(msg, portid, seq, flags, cmd); in nl802154_send_wpan_phy()
395 NETLINK_CB(cb->skb).portid, in nl802154_dump_wpan_phy()
447 nl802154_send_iface(struct sk_buff *msg, u32 portid, u32 seq, int flags, in nl802154_send_iface() argument
454 hdr = nl802154hdr_put(msg, portid, seq, flags, in nl802154_send_iface()
525 if (nl802154_send_iface(skb, NETLINK_CB(cb->skb).portid, in nl802154_dump_interface()
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.1.27/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.c484 struct ipv6_devconf *devconf, u32 portid, in inet6_netconf_fill_devconf() argument
491 nlh = nlmsg_put(skb, portid, seq, event, sizeof(struct netconfmsg), in inet6_netconf_fill_devconf()
601 NETLINK_CB(in_skb).portid, in inet6_netconf_get_devconf()
610 err = rtnl_unicast(skb, net, NETLINK_CB(in_skb).portid); in inet6_netconf_get_devconf()
643 NETLINK_CB(cb->skb).portid, in inet6_netconf_dump_devconf()
660 NETLINK_CB(cb->skb).portid, in inet6_netconf_dump_devconf()
671 NETLINK_CB(cb->skb).portid, in inet6_netconf_dump_devconf()
4217 u32 portid, u32 seq, int event, unsigned int flags) in inet6_fill_ifaddr() argument
4222 nlh = nlmsg_put(skb, portid, seq, event, sizeof(struct ifaddrmsg), flags); in inet6_fill_ifaddr()
4274 u32 portid, u32 seq, int event, u16 flags) in inet6_fill_ifmcaddr() argument
[all …]
Droute.c2033 .fc_nlinfo.portid = 0, in rt6_add_route_info()
2083 .fc_nlinfo.portid = 0, in rt6_add_dflt_router()
2458 cfg->fc_nlinfo.portid = NETLINK_CB(skb).portid; in rtm_to_fib6_config()
2755 int iif, int type, u32 portid, u32 seq, in rt6_fill_node() argument
2770 nlh = nlmsg_put(skb, portid, seq, type, sizeof(*rtm), flags); in rt6_fill_node()
2914 NETLINK_CB(arg->cb->skb).portid, arg->cb->nlh->nlmsg_seq, in rt6_dump_route()
2997 RTM_NEWROUTE, NETLINK_CB(in_skb).portid, in inet6_rtm_getroute()
3004 err = rtnl_unicast(skb, net, NETLINK_CB(in_skb).portid); in inet6_rtm_getroute()
3024 event, info->portid, seq, 0, 0, 0); in inet6_rt_notify()
3031 rtnl_notify(skb, net, info->portid, RTNLGRP_IPV6_ROUTE, in inet6_rt_notify()
Dip6mr.c858 rtnl_unicast(skb, net, NETLINK_CB(skb).portid); in ip6mr_destroy_unres()
1121 rtnl_unicast(skb, net, NETLINK_CB(skb).portid); in ip6mr_cache_resolve()
2361 u32 portid, u32 seq, struct mfc6_cache *c, int cmd, in ip6mr_fill_mroute() argument
2368 nlh = nlmsg_put(skb, portid, seq, cmd, sizeof(*rtm), flags); in ip6mr_fill_mroute()
2474 NETLINK_CB(cb->skb).portid, in ip6mr_rtm_dumproute()
2489 NETLINK_CB(cb->skb).portid, in ip6mr_rtm_dumproute()
/linux-4.1.27/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.1.27/net/xfrm/
Dxfrm_user.c622 c.portid = nlh->nlmsg_pid; in xfrm_add_sa()
692 c.portid = nlh->nlmsg_pid; in xfrm_del_sa()
851 nlh = nlmsg_put(skb, NETLINK_CB(in_skb).portid, sp->nlmsg_seq, in dump_one_state()
974 u32 portid, u32 seq, u32 flags) in build_spdinfo() argument
985 nlh = nlmsg_put(skb, portid, seq, XFRM_MSG_NEWSPDINFO, sizeof(u32), 0); in build_spdinfo()
1077 u32 sportid = NETLINK_CB(skb).portid; in xfrm_get_spdinfo()
1098 u32 portid, u32 seq, u32 flags) in build_sadinfo() argument
1106 nlh = nlmsg_put(skb, portid, seq, XFRM_MSG_NEWSADINFO, sizeof(u32), 0); in build_sadinfo()
1135 u32 sportid = NETLINK_CB(skb).portid; in xfrm_get_sadinfo()
1165 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.1.27/drivers/net/team/
Dteam.c2209 struct team *team, u32 portid);
2211 static int team_nl_send_unicast(struct sk_buff *skb, struct team *team, u32 portid) in team_nl_send_unicast() argument
2213 return genlmsg_unicast(dev_net(team->dev), skb, portid); in team_nl_send_unicast()
2298 struct team *team, u32 portid, in __send_and_alloc_skb() argument
2304 err = send_func(*pskb, team, portid); in __send_and_alloc_skb()
2314 static int team_nl_send_options_get(struct team *team, u32 portid, u32 seq, in team_nl_send_options_get() argument
2331 err = __send_and_alloc_skb(&skb, team, portid, send_func); in team_nl_send_options_get()
2335 hdr = genlmsg_put(skb, portid, seq, &team_nl_family, flags | NLM_F_MULTI, in team_nl_send_options_get()
2368 nlh = nlmsg_put(skb, portid, seq, NLMSG_DONE, 0, flags | NLM_F_MULTI); in team_nl_send_options_get()
2370 err = __send_and_alloc_skb(&skb, team, portid, send_func); in team_nl_send_options_get()
[all …]
/linux-4.1.27/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.c1550 static int dn_rt_fill_info(struct sk_buff *skb, u32 portid, u32 seq, in dn_rt_fill_info() argument
1558 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*r), flags); in dn_rt_fill_info()
1706 err = dn_rt_fill_info(skb, NETLINK_CB(in_skb).portid, nlh->nlmsg_seq, RTM_NEWROUTE, 0, 0); in dn_cache_getroute()
1712 return rtnl_unicast(skb, &init_net, NETLINK_CB(in_skb).portid); in dn_cache_getroute()
1755 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.1.27/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()
700 static int l2tp_nl_session_send(struct sk_buff *skb, u32 portid, u32 seq, int flags, in l2tp_nl_session_send() argument
710 hdr = genlmsg_put(skb, portid, seq, &l2tp_nl_family, flags, cmd); in l2tp_nl_session_send()
831 if (l2tp_nl_session_send(skb, NETLINK_CB(cb->skb).portid, in l2tp_nl_cmd_session_dump()
/linux-4.1.27/net/openvswitch/
Ddatapath.c277 upcall.portid = ovs_vport_find_upcall_portid(p, skb); in ovs_dp_process_packet()
309 if (upcall_info->portid == 0) { in ovs_dp_upcall()
410 .snd_portid = upcall_info->portid, in queue_userspace_packet()
500 err = genlmsg_unicast(ovs_dp_get_net(dp), user_skb, upcall_info->portid); in queue_userspace_packet()
774 struct sk_buff *skb, u32 portid, in ovs_flow_cmd_fill_info() argument
781 ovs_header = genlmsg_put(skb, portid, seq, &dp_flow_genl_family, in ovs_flow_cmd_fill_info()
1322 NETLINK_CB(cb->skb).portid, in ovs_flow_cmd_dump()
1396 u32 portid, u32 seq, u32 flags, u8 cmd) in ovs_dp_cmd_fill_info() argument
1403 ovs_header = genlmsg_put(skb, portid, seq, &dp_datapath_genl_family, in ovs_dp_cmd_fill_info()
1711 ovs_dp_cmd_fill_info(dp, skb, NETLINK_CB(cb->skb).portid, in ovs_dp_cmd_dump()
[all …]
Ddatapath.h119 u32 portid; member
Dactions.c620 upcall.portid = 0; in output_userspace()
631 upcall.portid = nla_get_u32(a); in output_userspace()
/linux-4.1.27/arch/sparc/include/asm/
Dirq_64.h53 unsigned int sun4u_build_msi(u32 portid, unsigned int *irq_p,
/linux-4.1.27/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.1.27/net/netfilter/ipset/
Dip_set_core.c720 start_msg(struct sk_buff *skb, u32 portid, u32 seq, unsigned int flags, in start_msg() argument
726 nlh = nlmsg_put(skb, portid, seq, cmd | (NFNL_SUBSYS_IPSET << 8), in start_msg()
1251 unsigned int flags = NETLINK_CB(cb->skb).portid ? NLM_F_MULTI : 0; in ip_set_dump_start()
1301 nlh = start_msg(skb, NETLINK_CB(cb->skb).portid, in ip_set_dump_start()
1435 rep = __nlmsg_put(skb2, NETLINK_CB(skb).portid, in call_ad()
1450 netlink_unicast(ctnl, skb2, NETLINK_CB(skb).portid, MSG_DONTWAIT); in call_ad()
1627 nlh2 = start_msg(skb2, NETLINK_CB(skb).portid, nlh->nlmsg_seq, 0, in ip_set_header()
1639 ret = netlink_unicast(ctnl, skb2, NETLINK_CB(skb).portid, MSG_DONTWAIT); in ip_set_header()
1687 nlh2 = start_msg(skb2, NETLINK_CB(skb).portid, nlh->nlmsg_seq, 0, in ip_set_type()
1700 ret = netlink_unicast(ctnl, skb2, NETLINK_CB(skb).portid, MSG_DONTWAIT); in ip_set_type()
[all …]
/linux-4.1.27/net/core/
Dnet_namespace.c540 static int rtnl_net_fill(struct sk_buff *skb, u32 portid, u32 seq, int flags, in rtnl_net_fill() argument
550 nlh = nlmsg_put(skb, portid, seq, cmd, sizeof(*rth), flags); in rtnl_net_fill()
603 err = rtnl_net_fill(msg, NETLINK_CB(skb).portid, nlh->nlmsg_seq, 0, in rtnl_net_getid()
608 err = rtnl_unicast(msg, net, NETLINK_CB(skb).portid); in rtnl_net_getid()
634 ret = rtnl_net_fill(net_cb->skb, NETLINK_CB(net_cb->cb->skb).portid, in rtnl_net_dumpid_one()
Drtnetlink.c1354 NETLINK_CB(cb->skb).portid, in rtnl_dump_ifinfo()
2314 err = rtnl_fill_ifinfo(nskb, dev, RTM_NEWLINK, NETLINK_CB(skb).portid, in rtnl_getlink()
2321 err = rtnl_unicast(nskb, net, NETLINK_CB(skb).portid); in rtnl_getlink()
2737 u32 portid, seq; in nlmsg_populate_fdb() local
2739 portid = NETLINK_CB(cb->skb).portid; in nlmsg_populate_fdb()
2747 portid, seq, in nlmsg_populate_fdb()
2955 u32 portid = NETLINK_CB(cb->skb).portid; in rtnl_bridge_getlink() local
2980 skb, portid, seq, dev, filter_mask, in rtnl_bridge_getlink()
2988 ops->ndo_bridge_getlink(skb, portid, seq, dev, in rtnl_bridge_getlink()
Dfib_rules.c410 notify_rule_change(RTM_NEWRULE, rule, ops, nlh, NETLINK_CB(skb).portid); in fib_nl_newrule()
514 NETLINK_CB(skb).portid); in fib_nl_delrule()
625 err = fib_nl_fill_rule(skb, rule, NETLINK_CB(cb->skb).portid, in dump_rules()
Dneighbour.c2107 if (neightbl_fill_info(skb, tbl, NETLINK_CB(cb->skb).portid, in neightbl_dump_info()
2122 NETLINK_CB(cb->skb).portid, in neightbl_dump_info()
2252 if (neigh_fill_info(skb, n, NETLINK_CB(cb->skb).portid, in neigh_dump_table()
2289 if (pneigh_fill_info(skb, n, NETLINK_CB(cb->skb).portid, in pneigh_dump_table()
/linux-4.1.27/net/dcb/
Ddcbnl.c1363 u32 seq, u32 portid, int dcbx_ver) in dcbnl_notify() argument
1374 skb = dcbnl_newmsg(event, cmd, portid, seq, 0, &nlh); in dcbnl_notify()
1397 u32 seq, u32 portid) in dcbnl_ieee_notify() argument
1399 return dcbnl_notify(dev, event, cmd, seq, portid, DCB_CAP_DCBX_VER_IEEE); in dcbnl_ieee_notify()
1404 u32 seq, u32 portid) in dcbnl_cee_notify() argument
1406 return dcbnl_notify(dev, event, cmd, seq, portid, DCB_CAP_DCBX_VER_CEE); in dcbnl_cee_notify()
1710 u32 portid = skb ? NETLINK_CB(skb).portid : 0; in dcb_doit() local
1742 reply_skb = dcbnl_newmsg(fn->type, dcb->cmd, portid, nlh->nlmsg_seq, in dcb_doit()
1755 ret = rtnl_unicast(reply_skb, net, portid); in dcb_doit()
/linux-4.1.27/Documentation/devicetree/bindings/powerpc/fsl/
Dcpus.txt24 - fsl,portid-mapping
Dpamu.txt37 - fsl,portid-mapping : <u32>
100 fsl,portid-mapping = <0xf80000>;
/linux-4.1.27/drivers/staging/gdm72xx/
Dnetlink_k.c143 NETLINK_CB(skb).portid = 0; in netlink_send()
/linux-4.1.27/drivers/staging/gdm724x/
Dnetlink_k.c136 NETLINK_CB(skb).portid = 0; in netlink_send()
/linux-4.1.27/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.1.27/crypto/
Dcrypto_user.c175 nlh = nlmsg_put(skb, NETLINK_CB(in_skb).portid, info->nlmsg_seq, in crypto_report_alg()
230 return nlmsg_unicast(crypto_nlsk, skb, NETLINK_CB(in_skb).portid); in crypto_report()
/linux-4.1.27/drivers/net/wireless/
Dmac80211_hwsim.c493 u32 portid; member
2358 data->portid = info->snd_portid; in mac80211_hwsim_new_radio()
2611 u32 portid, u32 seq, in mac80211_hwsim_get_radio() argument
2618 hdr = genlmsg_put(skb, portid, seq, &hwsim_genl_family, flags, in mac80211_hwsim_get_radio()
3011 NETLINK_CB(cb->skb).portid, in hwsim_dump_radio_nl()
3073 static void remove_user_radios(u32 portid) in remove_user_radios() argument
3079 if (entry->destroy_on_close && entry->portid == portid) { in remove_user_radios()
3097 remove_user_radios(notify->portid); in mac80211_hwsim_netlink_notify()
3099 if (notify->portid == wmediumd_portid) { in mac80211_hwsim_netlink_notify()
/linux-4.1.27/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.1.27/drivers/staging/ft1000/ft1000-pcmcia/
Dft1000_hw.c1188 u16 portid; in ft1000_parse_dpram_msg() local
1260 portid = (ft1000_read_dpram(dev, DSP_QID_OFFSET in ft1000_parse_dpram_msg()
1264 portid = in ft1000_parse_dpram_msg()
1269 pr_debug("DSP_QID = 0x%x\n", portid); in ft1000_parse_dpram_msg()
1271 if (portid == DRIVERID) { in ft1000_parse_dpram_msg()
/linux-4.1.27/net/bridge/
Dbr_fdb.c602 u32 portid, u32 seq, int type, unsigned int flags) in fdb_fill_info() argument
609 nlh = nlmsg_put(skb, portid, seq, type, sizeof(*ndm), flags); in fdb_fill_info()
716 NETLINK_CB(cb->skb).portid, in br_fdb_dump()
Dbr_mdb.c135 nlh = nlmsg_put(skb, NETLINK_CB(cb->skb).portid, in br_mdb_dump()
/linux-4.1.27/net/dsa/
Dslave.c233 u32 portid, u32 seq, int type, in dsa_slave_fill_info() argument
239 nlh = nlmsg_put(skb, portid, seq, type, sizeof(*ndm), flags); in dsa_slave_fill_info()
291 NETLINK_CB(cb->skb).portid, in dsa_slave_fdb_dump()
/linux-4.1.27/drivers/staging/ft1000/ft1000-usb/
Dft1000_hw.c1467 u16 portid; in ft1000_poll() local
1484 (u8 *)&portid, 1); in ft1000_poll()
1485 portid &= 0xff; in ft1000_poll()
1487 switch (portid) { in ft1000_poll()
/linux-4.1.27/net/key/
Daf_key.c1452 hdr->sadb_msg_pid = c->portid; in key_notify_sa()
1489 c.portid = hdr->sadb_msg_pid; in pfkey_add()
1526 c.portid = hdr->sadb_msg_pid; in pfkey_delete()
1706 hdr->sadb_msg_pid = c->portid; in key_notify_sa_flush()
1738 c.portid = hdr->sadb_msg_pid; in pfkey_flush()
2182 out_hdr->sadb_msg_pid = c->portid; in key_notify_policy()
2291 c.portid = hdr->sadb_msg_pid; in pfkey_spdadd()
2368 c.portid = hdr->sadb_msg_pid; in pfkey_spddelete()
2615 c.portid = hdr->sadb_msg_pid; in pfkey_spdget()
2704 hdr->sadb_msg_pid = c->portid; in key_notify_policy_flush()
[all …]
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8723be/
Dtrx.h498 u32 portid:1; member
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8821ae/
Dtrx.h493 u32 portid:1; member
/linux-4.1.27/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.1.27/drivers/net/wireless/rtlwifi/rtl8192ce/
Dtrx.h610 u32 portid:1; member
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8723ae/
Dtrx.h595 u32 portid:1; member
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8192de/
Dtrx.h627 u32 portid:1; member
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8188ee/
Dtrx.h668 u32 portid:1; member
/linux-4.1.27/net/can/
Dgw.c598 if (cgw_put_job(skb, gwj, RTM_NEWROUTE, NETLINK_CB(cb->skb).portid, in cgw_dump_jobs()
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8192ee/
Dtrx.h725 u32 portid:1; member
/linux-4.1.27/drivers/net/
Dvxlan.c308 u32 portid, u32 seq, int type, unsigned int flags, in vxlan_fdb_info() argument
317 nlh = nlmsg_put(skb, portid, seq, type, sizeof(*ndm), flags); in vxlan_fdb_info()
971 NETLINK_CB(cb->skb).portid, in vxlan_fdb_dump()
/linux-4.1.27/net/netfilter/ipvs/
Dip_vs_ctl.c2961 hdr = genlmsg_put(skb, NETLINK_CB(cb->skb).portid, cb->nlh->nlmsg_seq, in ip_vs_genl_dump_service()
3158 hdr = genlmsg_put(skb, NETLINK_CB(cb->skb).portid, cb->nlh->nlmsg_seq, in ip_vs_genl_dump_dest()
3295 hdr = genlmsg_put(skb, NETLINK_CB(cb->skb).portid, cb->nlh->nlmsg_seq, in ip_vs_genl_dump_daemon()
/linux-4.1.27/drivers/net/ethernet/broadcom/
Dbcm63xx_enet.c2037 static inline int bcm_enet_port_is_rgmii(int portid) in bcm_enet_port_is_rgmii() argument
2039 return portid >= ENETSW_RGMII_PORT0; in bcm_enet_port_is_rgmii()
/linux-4.1.27/drivers/net/ethernet/rocker/
Drocker.c4072 u32 portid, u32 seq, int type, in rocker_fdb_fill_info() argument
4078 nlh = nlmsg_put(skb, portid, seq, type, sizeof(*ndm), flags); in rocker_fdb_fill_info()
4130 NETLINK_CB(cb->skb).portid, in rocker_port_fdb_dump()
/linux-4.1.27/drivers/scsi/
Dscsi_transport_iscsi.c3516 NETLINK_CB(skb).portid, in iscsi_if_recv_msg()
3529 NETLINK_CB(skb).portid, in iscsi_if_recv_msg()
/linux-4.1.27/drivers/block/drbd/
Ddrbd_nl.c3134 dh = genlmsg_put(skb, NETLINK_CB(cb->skb).portid, in get_one_status()