Home
last modified time | relevance | path

Searched refs:portid (Results 26 – 50 of 253) sorted by relevance

1234567891011

/linux/net/netlink/
H A Ddiag.c46 u32 portid, u32 seq, u32 flags, int sk_ino) in sk_diag_fill() argument
52 nlh = nlmsg_put(skb, portid, seq, SOCK_DIAG_BY_FAMILY, sizeof(*rep), in sk_diag_fill()
64 rep->ndiag_portid = nlk->portid; in sk_diag_fill()
138 NETLINK_CB(cb->skb).portid, in __netlink_diag_dump()
168 NETLINK_CB(cb->skb).portid, in __netlink_diag_dump()
H A Dgenetlink.c893 void *genlmsg_put(struct sk_buff *skb, u32 portid, u32 seq, in genlmsg_put() argument
899 nlh = nlmsg_put(skb, portid, seq, family->id, GENL_HDRLEN + in genlmsg_put()
994 info->info.snd_portid = NETLINK_CB(cb->skb).portid; in genl_start()
1100 info.snd_portid = NETLINK_CB(skb).portid; in genl_family_rcv_msg_doit()
1229 static int ctrl_fill_info(const struct genl_family *family, u32 portid, u32 seq, in ctrl_fill_info() argument
1235 hdr = genlmsg_put(skb, portid, seq, &genl_ctrl, flags, cmd); in ctrl_fill_info()
1314 int grp_id, u32 portid, u32 seq, u32 flags, in ctrl_fill_mcgrp_info() argument
1321 hdr = genlmsg_put(skb, portid, seq, &genl_ctrl, flags, cmd); in ctrl_fill_mcgrp_info()
1369 err = ctrl_fill_info(rt, NETLINK_CB(cb->skb).portid, in ctrl_dumpfamily()
1383 u32 portid, int seq, u8 cmd) in ctrl_build_family_msg() argument
[all …]
/linux/net/tipc/
H A Dnet.c172 hdr = genlmsg_put(msg->skb, msg->portid, msg->seq, &tipc_genl_family, in __tipc_nl_add_net()
211 msg.portid = NETLINK_CB(cb->skb).portid; in tipc_nl_net_dump()
297 hdr = genlmsg_put(msg->skb, msg->portid, msg->seq, &tipc_genl_family, in __tipc_nl_addr_legacy_get()
335 msg.portid = info->snd_portid; in tipc_nl_net_addr_legacy_get()
H A Dsocket.c113 u32 portid; member
153 static struct tipc_sock *tipc_sk_lookup(struct net *net, u32 portid);
514 msg_set_origport(msg, tsk->portid); in tipc_sk_create()
583 tipc_node_remove_conn(net, dnode, tsk->portid); in __tipc_shutdown()
594 tsk->portid, error); in __tipc_shutdown()
596 tipc_node_xmit_skb(net, skb, dnode, tsk->portid); in __tipc_shutdown()
759 addr->addr.id.ref = tsk->portid; in tipc_getname()
924 mtu = tipc_node_get_mtu(net, dnode, tsk->portid, false); in tipc_send_group_msg()
930 rc = tipc_node_xmit(net, &pkts, dnode, tsk->portid); in tipc_send_group_msg()
1195 u32 portid, onode; in tipc_sk_mcast_rcv() local
[all …]
/linux/include/net/netfilter/
H A Dnf_conntrack_expect.h106 u32 portid, int report);
119 void *data, u32 portid, int report);
130 u32 portid, int report, unsigned int flags);
/linux/net/netfilter/
H A Dnf_conntrack_netlink.c571 ctnetlink_fill_info(struct sk_buff *skb, u32 portid, u32 seq, u32 type, in ctnetlink_dump_info()
579 if (portid) in ctnetlink_fill_info()
582 nlh = nfnl_msg_put(skb, portid, seq, event, flags, nf_ct_l3num(ct), in ctnetlink_fill_info()
758 nlh = nfnl_msg_put(skb, item->portid, 0, type, flags, nf_ct_l3num(ct), in ctnetlink_conntrack_event()
842 err = nfnetlink_send(skb, net, item->portid, group, item->report, in ctnetlink_conntrack_event()
1244 ctnetlink_fill_info(skb, NETLINK_CB(cb->skb).portid, in ctnetlink_dump_table()
1569 u32 portid, int report, u8 family)
1574 .portid = portid, in ctnetlink_flush_conntrack()
1617 NETLINK_CB(skb).portid, in ctnetlink_del_conntrack()
574 ctnetlink_fill_info(struct sk_buff * skb,u32 portid,u32 seq,u32 type,struct nf_conn * ct,bool extinfo,unsigned int flags) ctnetlink_fill_info() argument
1572 ctnetlink_flush_conntrack(struct net * net,const struct nlattr * const cda[],u32 portid,int report,u8 family) ctnetlink_flush_conntrack() argument
2492 ctnetlink_ct_stat_cpu_fill_info(struct sk_buff * skb,u32 portid,u32 seq,__u16 cpu,const struct ip_conntrack_stat * st) ctnetlink_ct_stat_cpu_fill_info() argument
2572 ctnetlink_stat_ct_fill_info(struct sk_buff * skb,u32 portid,u32 seq,u32 type,struct net * net) ctnetlink_stat_ct_fill_info() argument
2865 ctnetlink_glue_attach_expect(const struct nlattr * attr,struct nf_conn * ct,u32 portid,u32 report) ctnetlink_glue_attach_expect() argument
3076 ctnetlink_exp_fill_info(struct sk_buff * skb,u32 portid,u32 seq,int event,const struct nf_conntrack_expect * exp) ctnetlink_exp_fill_info() argument
3575 ctnetlink_create_expect(struct net * net,const struct nf_conntrack_zone * zone,const struct nlattr * const cda[],u_int8_t u3,u32 portid,int report) ctnetlink_create_expect() argument
3692 ctnetlink_exp_stat_fill_info(struct sk_buff * skb,u32 portid,u32 seq,int cpu,const struct ip_conntrack_stat * st) ctnetlink_exp_stat_fill_info() argument
[all...]
H A Dnfnetlink.c176 int nfnetlink_send(struct sk_buff *skb, struct net *net, u32 portid, in nfnetlink_send() argument
181 return nlmsg_notify(nfnlnet->nfnl, skb, portid, group, echo, flags); in nfnetlink_send()
185 int nfnetlink_set_err(struct net *net, u32 portid, u32 group, int error) in nfnetlink_set_err() argument
189 return netlink_set_err(nfnlnet->nfnl, portid, group, error); in nfnetlink_set_err()
193 int nfnetlink_unicast(struct sk_buff *skb, struct net *net, u32 portid) in nfnetlink_unicast() argument
198 err = nlmsg_unicast(nfnlnet->nfnl, skb, portid); in nfnetlink_unicast()
206 void nfnetlink_broadcast(struct net *net, struct sk_buff *skb, __u32 portid, in nfnetlink_broadcast() argument
211 netlink_broadcast(nfnlnet->nfnl, skb, portid, group, allocation); in nfnetlink_broadcast()
H A Dnfnetlink_acct.c142 nfnl_acct_fill_info(struct sk_buff *skb, u32 portid, u32 seq, u32 type, in nfnl_acct_fill_info() argument
146 unsigned int flags = portid ? NLM_F_MULTI : 0; in nfnl_acct_fill_info()
151 nlh = nfnl_msg_put(skb, portid, seq, event, flags, AF_UNSPEC, in nfnl_acct_fill_info()
220 if (nfnl_acct_fill_info(skb, NETLINK_CB(cb->skb).portid, in nfnl_acct_dump()
309 ret = nfnl_acct_fill_info(skb2, NETLINK_CB(skb).portid, in nfnl_acct_get()
318 ret = nfnetlink_unicast(skb2, info->net, NETLINK_CB(skb).portid); in nfnl_acct_get()
/linux/drivers/scsi/csiostor/
H A Dcsio_init.c268 0, hw->pport[0].portid, false, NULL); in csio_create_queues()
278 hw->pport[0].portid, true, NULL); in csio_create_queues()
286 mgmtm->iq_idx, hw->pport[0].portid, NULL); in csio_create_queues()
769 csio_lnodes_block_by_port(struct csio_hw *hw, uint8_t portid) in csio_lnodes_block_by_port() argument
789 if (sln->portid != portid) in csio_lnodes_block_by_port()
810 csio_lnodes_unblock_by_port(struct csio_hw *hw, uint8_t portid) in csio_lnodes_unblock_by_port() argument
830 if (sln->portid != portid) in csio_lnodes_unblock_by_port()
991 ln->portid = hw->pport[i].portid; in csio_probe_one()
1136 ln->portid = hw->pport[i].portid; in csio_pci_resume()
/linux/kernel/
H A Daudit.c105 u32 portid; member
204 __u32 portid; member
497 static int auditd_set(struct pid *pid, u32 portid, struct net *net, in auditd_set() argument
511 ac_new->portid = portid; in auditd_set()
690 u32 portid; in auditd_send_unicast_skb() local
712 portid = ac->portid; in auditd_send_unicast_skb()
715 rc = netlink_unicast(sk, skb, portid, 0); in auditd_send_unicast_skb()
743 static int kauditd_send_queue(struct sock *sk, u32 portid, in kauditd_send_queue() argument
773 rc = netlink_unicast(sk, skb, portid, 0); in kauditd_send_queue()
844 u32 portid = 0; in kauditd_thread() local
[all …]
/linux/net/ethtool/
H A Dmodule.c200 if (work->fw_update.ntf_params.portid == info->snd_portid && in module_flash_fw_work_list_add()
286 work->fw_update.ntf_params.portid == sk_priv->portid) { in ethnl_module_fw_flash_sock_destroy()
324 fw_update->ntf_params.portid = info->snd_portid; in module_flash_fw_schedule()
328 err = ethnl_sock_priv_set(skb, dev, fw_update->ntf_params.portid, in module_flash_fw_schedule()
491 hdr = ethnl_unicast_put(skb, ntf_params->portid, ++ntf_params->seq, in ethnl_module_fw_flash_ntf()
515 genlmsg_unicast(dev_net(dev), skb, ntf_params->portid); in ethnl_module_fw_flash_ntf()
/linux/net/batman-adv/
H A Dbat_iv_ogm.c1812 batadv_iv_ogm_orig_dump_subentry(struct sk_buff *msg, u32 portid, u32 seq, in batadv_iv_ogm_orig_dump_subentry() argument
1832 hdr = genlmsg_put(msg, portid, seq, &batadv_netlink_family, in batadv_iv_ogm_orig_dump_subentry()
1876 batadv_iv_ogm_orig_dump_entry(struct sk_buff *msg, u32 portid, u32 seq, in batadv_iv_ogm_orig_dump_entry() argument
1904 if (batadv_iv_ogm_orig_dump_subentry(msg, portid, seq, in batadv_iv_ogm_orig_dump_entry()
1937 batadv_iv_ogm_orig_dump_bucket(struct sk_buff *msg, u32 portid, u32 seq, in batadv_iv_ogm_orig_dump_bucket() argument
1950 if (batadv_iv_ogm_orig_dump_entry(msg, portid, seq, bat_priv, in batadv_iv_ogm_orig_dump_bucket()
1982 int portid = NETLINK_CB(cb->skb).portid; in batadv_iv_ogm_orig_dump() local
1987 if (batadv_iv_ogm_orig_dump_bucket(msg, portid, in batadv_iv_ogm_orig_dump()
2054 batadv_iv_ogm_neigh_dump_neigh(struct sk_buff *msg, u32 portid, u32 seq, in batadv_iv_ogm_neigh_dump_neigh() argument
2062 hdr = genlmsg_put(msg, portid, seq, &batadv_netlink_family, in batadv_iv_ogm_neigh_dump_neigh()
[all …]
/linux/arch/powerpc/boot/dts/fsl/
H A Dt208xsi-pre.dtsi86 fsl,portid-mapping = <0x80000000>;
93 fsl,portid-mapping = <0x80000000>;
100 fsl,portid-mapping = <0x80000000>;
107 fsl,portid-mapping = <0x80000000>;
H A Db4860si-pre.dtsi80 fsl,portid-mapping = <0x80000000>;
87 fsl,portid-mapping = <0x80000000>;
94 fsl,portid-mapping = <0x80000000>;
101 fsl,portid-mapping = <0x80000000>;
H A Dp3041si-pre.dtsi95 fsl,portid-mapping = <0x80000000>;
105 fsl,portid-mapping = <0x40000000>;
115 fsl,portid-mapping = <0x20000000>;
125 fsl,portid-mapping = <0x10000000>;
H A Dp2041si-pre.dtsi94 fsl,portid-mapping = <0x80000000>;
104 fsl,portid-mapping = <0x40000000>;
114 fsl,portid-mapping = <0x20000000>;
124 fsl,portid-mapping = <0x10000000>;
H A Dp5040si-pre.dtsi107 fsl,portid-mapping = <0x80000000>;
117 fsl,portid-mapping = <0x40000000>;
127 fsl,portid-mapping = <0x20000000>;
137 fsl,portid-mapping = <0x10000000>;
/linux/net/unix/
H A 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()
200 NETLINK_CB(cb->skb).portid, in unix_diag_dump()
268 NETLINK_CB(in_skb).portid, in unix_diag_get_exact()
278 err = nlmsg_unicast(net->diag_nlsk, rep, NETLINK_CB(in_skb).portid); in unix_diag_get_exact()
/linux/net/nfc/
H A Dnetlink.c66 hdr = genlmsg_put(msg, NETLINK_CB(cb->skb).portid, cb->nlh->nlmsg_seq, in nfc_genl_send_target()
568 u32 portid, u32 seq, in nfc_genl_send_device() argument
574 hdr = genlmsg_put(msg, portid, seq, &nfc_genl_family, flags, in nfc_genl_send_device()
620 rc = nfc_genl_send_device(skb, dev, NETLINK_CB(cb->skb).portid, in nfc_genl_dump_devices()
989 u32 portid, u32 seq) in nfc_genl_send_params() argument
993 hdr = genlmsg_put(msg, portid, seq, &nfc_genl_family, 0, in nfc_genl_send_params()
1328 u32 portid, u32 seq, in nfc_genl_send_se() argument
1336 hdr = genlmsg_put(msg, portid, seq, &nfc_genl_family, flags, in nfc_genl_send_se()
1386 rc = nfc_genl_send_se(skb, dev, NETLINK_CB(cb->skb).portid, in nfc_genl_dump_ses()
1619 static inline void *nfc_hdr_put(struct sk_buff *skb, u32 portid, u32 seq, in nfc_hdr_put() argument
[all …]
/linux/net/wireless/
H A Dreg.h45 void regulatory_hint_indoor(bool is_indoor, u32 portid);
51 void regulatory_netlink_notify(u32 portid);
/linux/include/linux/
H A Dconnector.h101 int cn_netlink_send_mult(struct cn_msg *msg, u16 len, u32 portid,
127 int cn_netlink_send(struct cn_msg *msg, u32 portid, u32 group, gfp_t gfp_mask);
H A Drtnetlink.h30 u32 portid, const struct nlmsghdr *nlh);
36 int new_ifindex, u32 portid,
39 gfp_t flags, u32 portid, const struct nlmsghdr *nlh);
/linux/net/core/
H A Dnet_namespace.c232 static void rtnl_net_notifyid(struct net *net, int cmd, int id, u32 portid,
811 rtnl_net_notifyid(net, RTM_NEWNSID, err, NETLINK_CB(skb).portid, in rtnl_net_newid()
833 u32 portid; member
847 nlh = nlmsg_put(skb, args->portid, args->seq, args->cmd, sizeof(*rth), in rtnl_net_fill()
913 .portid = NETLINK_CB(skb).portid, in rtnl_net_getid()
973 err = rtnl_unicast(msg, net, NETLINK_CB(skb).portid); in rtnl_net_getid()
1063 .portid = NETLINK_CB(cb->skb).portid, in rtnl_net_dumpid()
1090 static void rtnl_net_notifyid(struct net *net, int cmd, int id, u32 portid, in rtnl_net_notifyid() argument
[all...]
/linux/net/ipv4/
H A Ddevinet.c111 u32 portid; member
369 int destroy, struct nlmsghdr *nlh, u32 portid) in __inet_del_ifa() argument
408 rtmsg_ifa(RTM_DELADDR, ifa, nlh, portid); in __inet_del_ifa()
446 rtmsg_ifa(RTM_DELADDR, ifa1, nlh, portid); in __inet_del_ifa()
464 rtmsg_ifa(RTM_NEWADDR, promote, nlh, portid); in __inet_del_ifa()
492 u32 portid, struct netlink_ext_ack *extack) in __inet_insert_ifa() argument
570 rtmsg_ifa(RTM_NEWADDR, ifa, nlh, portid); in __inet_insert_ifa()
696 __inet_del_ifa(in_dev, ifap, 1, nlh, NETLINK_CB(skb).portid); in inet_rtm_deladdr()
982 return __inet_insert_ifa(ifa, nlh, NETLINK_CB(skb).portid, in inet_rtm_newaddr()
1008 rtmsg_ifa(RTM_NEWADDR, ifa, nlh, NETLINK_CB(skb).portid); in inet_rtm_newaddr()
[all …]
/linux/net/sctp/
H A Ddiag.c123 int portid, u32 seq, u16 nlmsg_flags, in inet_sctp_diag_fill() argument
135 nlh = nlmsg_put(skb, portid, seq, unlh->nlmsg_type, sizeof(*r), in inet_sctp_diag_fill()
270 NETLINK_CB(skb).portid, commp->nlh->nlmsg_seq, 0, in sctp_sock_dump_one()
278 return nlmsg_unicast(sock_net(skb->sk)->diag_nlsk, rep, NETLINK_CB(skb).portid); in sctp_sock_dump_one()
313 NETLINK_CB(cb->skb).portid, in sctp_sock_dump()
324 NETLINK_CB(cb->skb).portid, in sctp_sock_dump()
391 NETLINK_CB(cb->skb).portid, in sctp_ep_dump()

1234567891011