/net/ax25/ |
D | ax25_iface.c | 58 void ax25_protocol_release(unsigned int pid) in ax25_protocol_release() argument 67 if (protocol->pid == pid) { in ax25_protocol_release() 73 if (protocol->next->pid == pid) { in ax25_protocol_release() 161 int (*ax25_protocol_function(unsigned int pid))(struct sk_buff *, ax25_cb *) in ax25_protocol_function() argument 168 if (protocol->pid == pid) { in ax25_protocol_function() 203 int ax25_protocol_is_registered(unsigned int pid) in ax25_protocol_is_registered() argument 210 if (protocol->pid == pid) { in ax25_protocol_is_registered()
|
D | ax25_in.c | 105 unsigned char pid; in ax25_rx_iframe() local 112 pid = *skb->data; in ax25_rx_iframe() 114 if (pid == AX25_P_IP) { in ax25_rx_iframe() 134 if (pid == AX25_P_SEGMENT) { in ax25_rx_iframe() 139 if ((func = ax25_protocol_function(pid)) != NULL) { in ax25_rx_iframe() 145 if ((!ax25->pidincl && ax25->sk->sk_protocol == pid) || in ax25_rx_iframe()
|
/net/core/ |
D | scm.c | 56 if ((creds->pid == task_tgid_vnr(current) || in scm_check_creds() 176 p->creds.pid = creds.pid; in __scm_send() 177 if (!p->pid || pid_vnr(p->pid) != creds.pid) { in __scm_send() 178 struct pid *pid; in __scm_send() local 180 pid = find_get_pid(creds.pid); in __scm_send() 181 if (!pid) in __scm_send() 183 put_pid(p->pid); in __scm_send() 184 p->pid = pid; in __scm_send()
|
D | fib_rules.c | 72 u32 pid); 629 u32 pid, u32 seq, int type, int flags, in fib_nl_fill_rule() argument 635 nlh = nlmsg_put(skb, pid, seq, type, sizeof(*frh), flags); in fib_nl_fill_rule() 764 u32 pid) in notify_rule_change() argument 775 err = fib_nl_fill_rule(skb, rule, pid, nlh->nlmsg_seq, event, 0, ops); in notify_rule_change() 783 rtnl_notify(skb, net, pid, ops->nlgroup, nlh, GFP_KERNEL); in notify_rule_change()
|
D | rtnetlink.c | 621 int rtnetlink_send(struct sk_buff *skb, struct net *net, u32 pid, unsigned int group, int echo) in rtnetlink_send() argument 629 netlink_broadcast(rtnl, skb, pid, group, GFP_KERNEL); in rtnetlink_send() 631 err = netlink_unicast(rtnl, skb, pid, MSG_DONTWAIT); in rtnetlink_send() 635 int rtnl_unicast(struct sk_buff *skb, struct net *net, u32 pid) in rtnl_unicast() argument 639 return nlmsg_unicast(rtnl, skb, pid); in rtnl_unicast() 643 void rtnl_notify(struct sk_buff *skb, struct net *net, u32 pid, u32 group, in rtnl_notify() argument 652 nlmsg_notify(rtnl, skb, pid, group, report, flags); in rtnl_notify() 1198 int type, u32 pid, u32 seq, u32 change, in rtnl_fill_ifinfo() argument 1208 nlh = nlmsg_put(skb, pid, seq, type, sizeof(*ifm), flags); in rtnl_fill_ifinfo() 2599 u8 *addr, u16 vid, u32 pid, u32 seq, in nlmsg_populate_fdb_fill() argument [all …]
|
D | neighbour.c | 1816 u32 pid, u32 seq, int type, int flags) in neightbl_fill_info() argument 1821 nlh = nlmsg_put(skb, pid, seq, type, sizeof(*ndtmsg), flags); in neightbl_fill_info() 1906 u32 pid, u32 seq, int type, in neightbl_fill_param_info() argument 1912 nlh = nlmsg_put(skb, pid, seq, type, sizeof(*ndtmsg), flags); in neightbl_fill_param_info() 2175 u32 pid, u32 seq, int type, unsigned int flags) in neigh_fill_info() argument 2182 nlh = nlmsg_put(skb, pid, seq, type, sizeof(*ndm), flags); in neigh_fill_info() 2228 u32 pid, u32 seq, int type, unsigned int flags, in pneigh_fill_info() argument 2234 nlh = nlmsg_put(skb, pid, seq, type, sizeof(*ndm), flags); in pneigh_fill_info()
|
D | net_namespace.c | 518 struct net *get_net_ns_by_pid(pid_t pid) in get_net_ns_by_pid() argument 526 tsk = find_task_by_vpid(pid); in get_net_ns_by_pid()
|
/net/netfilter/ |
D | xt_qtaguid.c | 330 const pid_t pid) in proc_qtu_data_tree_search() argument 338 if (pid < data->pid) in proc_qtu_data_tree_search() 340 else if (pid > data->pid) in proc_qtu_data_tree_search() 359 if (data->pid < this->pid) in proc_qtu_data_tree_insert() 361 else if (data->pid > this->pid) in proc_qtu_data_tree_insert() 544 current->pid, current->tgid, from_kuid(&init_user_ns, current_fsuid())); in put_utd_entry() 746 current->pid, current->tgid, from_kuid(&init_user_ns, current_fsuid())); in iface_stat_fmt_proc_show() 1899 current->pid, current->tgid, from_kuid(&init_user_ns, current_fsuid())); in qtaguid_ctrl_proc_show() 1909 sock_tag_entry->pid in qtaguid_ctrl_proc_show() 1917 sock_tag_entry->pid, sk_ref_count); in qtaguid_ctrl_proc_show() [all …]
|
D | xt_qtaguid_internal.h | 261 pid_t pid; member 340 pid_t pid; member
|
D | xt_qtaguid_print.c | 244 st->pid, tag_str); in pp_sock_tag() 283 pqd, pqd->pid, parent_tag_data_str in pp_proc_qtu_data()
|
/net/irda/ |
D | irlmp_frame.c | 201 __u8 pid; /* Protocol identifier */ in irlmp_link_unitdata_indication() local 217 pid = fp[2]; in irlmp_link_unitdata_indication() 219 if (pid & 0x80) { in irlmp_link_unitdata_indication() 240 (lsap->pid == pid)) in irlmp_link_unitdata_indication()
|
D | af_irda.c | 493 static int irda_open_lsap(struct irda_sock *self, int pid) in irda_open_lsap() argument 508 self->lsap = irlmp_open_lsap(LSAP_CONNLESS, ¬ify, pid); in irda_open_lsap() 788 self->pid = addr->sir_lsap_sel; in irda_bind() 790 if (self->pid & 0x80) { in irda_bind() 795 err = irda_open_lsap(self, self->pid); in irda_bind() 1619 __u8 pid = 0; in irda_sendmsg_ultra() local 1650 pid = addr->sir_lsap_sel; in irda_sendmsg_ultra() 1651 if (pid & 0x80) { in irda_sendmsg_ultra() 1699 skb, pid); in irda_sendmsg_ultra()
|
D | irlmp.c | 153 struct lsap_cb *irlmp_open_lsap(__u8 slsap_sel, notify_t *notify, __u8 pid) in irlmp_open_lsap() argument 182 self->pid = pid; in irlmp_open_lsap() 1193 __u8 pid) in irlmp_connless_data_request() argument 1207 userdata->data[0] = self->pid; in irlmp_connless_data_request() 1209 userdata->data[0] = pid; in irlmp_connless_data_request()
|
/net/unix/ |
D | scm.c | 154 scm.pid = UNIXCB(skb).pid; in unix_destruct_scm()
|
D | af_unix.c | 598 struct pid *old_pid; in init_peercred() 614 struct pid *old_pid; in copy_peercred() 640 struct pid *old_pid = NULL; in unix_listen() 1582 UNIXCB(skb).pid = get_pid(scm->pid); in unix_scm_to_skb() 1610 if (UNIXCB(skb).pid) in maybe_add_creds() 1613 UNIXCB(skb).pid = get_pid(task_tgid(current)); in maybe_add_creds() 1630 scm->pid = get_pid(task_tgid(current)); in maybe_init_creds() 1641 return u->pid == scm->pid && in unix_skb_scm_eq() 2178 scm_set_cred(&scm, UNIXCB(skb).pid, UNIXCB(skb).uid, UNIXCB(skb).gid); in unix_dgram_recvmsg() 2388 scm_set_cred(&scm, UNIXCB(skb).pid, UNIXCB(skb).uid, UNIXCB(skb).gid); in unix_stream_read_generic()
|
/net/ipv6/ |
D | ip6_flowlabel.c | 102 put_pid(fl->owner.pid); in fl_free_rcu() 431 fl->owner.pid = get_task_pid(current, PIDTYPE_PID); in fl_create() 643 (fl1->owner.pid != fl->owner.pid)) || in ipv6_flowlabel_opt() 797 pid_nr_ns(fl->owner.pid, state->pid_ns) : in ip6fl_seq_show()
|
/net/bridge/ |
D | br_mdb.c | 167 struct br_mdb_entry *entry, u32 pid, in nlmsg_populate_mdb_fill() argument 174 nlh = nlmsg_put(skb, pid, seq, type, sizeof(*bpm), 0); in nlmsg_populate_mdb_fill() 252 int ifindex, u32 pid, in nlmsg_populate_rtr_fill() argument 259 nlh = nlmsg_put(skb, pid, seq, type, sizeof(*bpm), 0); in nlmsg_populate_rtr_fill()
|
D | br_netlink.c | 335 u32 pid, u32 seq, int event, unsigned int flags, in br_fill_ifinfo() argument 351 nlh = nlmsg_put(skb, pid, seq, event, sizeof(*hdr), flags); in br_fill_ifinfo() 462 int br_getlink(struct sk_buff *skb, u32 pid, u32 seq, in br_getlink() argument 471 return br_fill_ifinfo(skb, port, pid, seq, RTM_NEWLINK, nlflags, in br_getlink()
|
/net/ipv4/ |
D | fib_lookup.h | 33 int fib_dump_info(struct sk_buff *skb, u32 pid, u32 seq, int event, u32 tb_id,
|
/net/openvswitch/ |
D | datapath.h | 196 struct sk_buff *ovs_vport_cmd_build_info(struct vport *, u32 pid, u32 seq,
|
/net/sched/ |
D | sch_htb.c | 762 u32 *pid; in htb_lookup_leaf() member 768 sp->pid = &hprio->last_ptr_id; in htb_lookup_leaf() 771 if (!*sp->pptr && *sp->pid) { in htb_lookup_leaf() 776 htb_id_find_next_upper(prio, sp->root, *sp->pid); in htb_lookup_leaf() 778 *sp->pid = 0; /* ptr is valid now so that remove this hint as it in htb_lookup_leaf() 803 sp->pid = &clp->last_ptr_id; in htb_lookup_leaf()
|
/net/l2tp/ |
D | l2tp_ppp.c | 628 ps->owner = current->pid; in pppol2tp_session_init() 951 sp.pppol2tp.pid = pls->owner; in pppol2tp_getname() 970 sp.pppol2tp.pid = pls->owner; in pppol2tp_getname() 989 sp.pppol2tp.pid = pls->owner; in pppol2tp_getname() 1007 sp.pppol2tp.pid = pls->owner; in pppol2tp_getname()
|
D | l2tp_debugfs.c | 274 pd->net = get_net_ns_by_pid(current->pid); in l2tp_dfs_seq_open()
|
/net/bridge/netfilter/ |
D | ebt_stp.c | 23 uint8_t pid; member
|
/net/switchdev/ |
D | switchdev.c | 756 int switchdev_port_bridge_getlink(struct sk_buff *skb, u32 pid, u32 seq, in switchdev_port_bridge_getlink() argument 771 return ndo_dflt_bridge_getlink(skb, pid, seq, dev, mode, in switchdev_port_bridge_getlink()
|