Home
last modified time | relevance | path

Searched refs:pid (Results 1 – 25 of 30) sorted by relevance

12

/net/ax25/
Dax25_iface.c55 void ax25_protocol_release(unsigned int pid) in ax25_protocol_release() argument
64 if (protocol->pid == pid) { in ax25_protocol_release()
70 if (protocol->next->pid == pid) { in ax25_protocol_release()
158 int (*ax25_protocol_function(unsigned int pid))(struct sk_buff *, ax25_cb *) in ax25_protocol_function() argument
165 if (protocol->pid == pid) { in ax25_protocol_function()
200 int ax25_protocol_is_registered(unsigned int pid) in ax25_protocol_is_registered() argument
207 if (protocol->pid == pid) { in ax25_protocol_is_registered()
Dax25_in.c102 unsigned char pid; in ax25_rx_iframe() local
109 pid = *skb->data; in ax25_rx_iframe()
111 if (pid == AX25_P_IP) { in ax25_rx_iframe()
131 if (pid == AX25_P_SEGMENT) { in ax25_rx_iframe()
136 if ((func = ax25_protocol_function(pid)) != NULL) { in ax25_rx_iframe()
142 if ((!ax25->pidincl && ax25->sk->sk_protocol == pid) || in ax25_rx_iframe()
/net/core/
Dscm.c54 if ((creds->pid == task_tgid_vnr(current) || in scm_check_creds()
174 p->creds.pid = creds.pid; in __scm_send()
175 if (!p->pid || pid_vnr(p->pid) != creds.pid) { in __scm_send()
176 struct pid *pid; in __scm_send() local
178 pid = find_get_pid(creds.pid); in __scm_send()
179 if (!pid) in __scm_send()
181 put_pid(p->pid); in __scm_send()
182 p->pid = pid; in __scm_send()
Dfib_rules.c88 u32 pid);
958 u32 pid, u32 seq, int type, int flags, in fib_nl_fill_rule() argument
964 nlh = nlmsg_put(skb, pid, seq, type, sizeof(*frh), flags); in fib_nl_fill_rule()
1137 u32 pid) in notify_rule_change() argument
1148 err = fib_nl_fill_rule(skb, rule, pid, nlh->nlmsg_seq, event, 0, ops); in notify_rule_change()
1156 rtnl_notify(skb, net, pid, ops->nlgroup, nlh, GFP_KERNEL); in notify_rule_change()
Dneighbour.c56 u32 pid);
2028 u32 pid, u32 seq, int type, int flags) in neightbl_fill_info() argument
2033 nlh = nlmsg_put(skb, pid, seq, type, sizeof(*ndtmsg), flags); in neightbl_fill_info()
2119 u32 pid, u32 seq, int type, in neightbl_fill_param_info() argument
2125 nlh = nlmsg_put(skb, pid, seq, type, sizeof(*ndtmsg), flags); in neightbl_fill_param_info()
2423 u32 pid, u32 seq, int type, unsigned int flags) in neigh_fill_info() argument
2430 nlh = nlmsg_put(skb, pid, seq, type, sizeof(*ndm), flags); in neigh_fill_info()
2479 u32 pid, u32 seq, int type, unsigned int flags, in pneigh_fill_info() argument
2485 nlh = nlmsg_put(skb, pid, seq, type, sizeof(*ndm), flags); in pneigh_fill_info()
2815 u32 pid, u32 seq) in neigh_get_reply() argument
[all …]
Drtnetlink.c706 int rtnetlink_send(struct sk_buff *skb, struct net *net, u32 pid, unsigned int group, int echo) in rtnetlink_send() argument
714 netlink_broadcast(rtnl, skb, pid, group, GFP_KERNEL); in rtnetlink_send()
716 err = netlink_unicast(rtnl, skb, pid, MSG_DONTWAIT); in rtnetlink_send()
720 int rtnl_unicast(struct sk_buff *skb, struct net *net, u32 pid) in rtnl_unicast() argument
724 return nlmsg_unicast(rtnl, skb, pid); in rtnl_unicast()
728 void rtnl_notify(struct sk_buff *skb, struct net *net, u32 pid, u32 group, in rtnl_notify() argument
737 nlmsg_notify(rtnl, skb, pid, group, report, flags); in rtnl_notify()
1589 int type, u32 pid, u32 seq, u32 change, in rtnl_fill_ifinfo() argument
1598 nlh = nlmsg_put(skb, pid, seq, type, sizeof(*ifm), flags); in rtnl_fill_ifinfo()
3557 u8 *addr, u16 vid, u32 pid, u32 seq, in nlmsg_populate_fdb_fill() argument
[all …]
Dnet_namespace.c674 struct net *get_net_ns_by_pid(pid_t pid) in get_net_ns_by_pid() argument
682 tsk = find_task_by_vpid(pid); in get_net_ns_by_pid()
Dsock.c1190 static void cred_to_ucred(struct pid *pid, const struct cred *cred, in cred_to_ucred() argument
1193 ucred->pid = pid_vnr(pid); in cred_to_ucred()
/net/bpfilter/
Dbpfilter_kern.c23 tsk = get_pid_task(find_vpid(bpfilter_ops.info.pid), PIDTYPE_PID); in shutdown_umh()
47 req.pid = current->pid; in __bpfilter_process_sockopt()
51 if (!bpfilter_ops.info.pid) in __bpfilter_process_sockopt()
86 pr_info("Loaded bpfilter_umh pid %d\n", bpfilter_ops.info.pid); in start_umh()
Dmsgfmt.h10 __u32 pid; member
/net/unix/
Dscm.c142 scm.pid = UNIXCB(skb).pid; in unix_destruct_scm()
Daf_unix.c612 struct pid *old_pid = NULL; in unix_listen()
1512 UNIXCB(skb).pid = get_pid(scm->pid); in unix_scm_to_skb()
1540 if (UNIXCB(skb).pid) in maybe_add_creds()
1543 UNIXCB(skb).pid = get_pid(task_tgid(current)); in maybe_add_creds()
1560 scm->pid = get_pid(task_tgid(current)); in maybe_init_creds()
1571 return u->pid == scm->pid && in unix_skb_scm_eq()
2107 scm_set_cred(&scm, UNIXCB(skb).pid, UNIXCB(skb).uid, UNIXCB(skb).gid); in unix_dgram_recvmsg()
2313 scm_set_cred(&scm, UNIXCB(skb).pid, UNIXCB(skb).uid, UNIXCB(skb).gid); in unix_stream_read_generic()
/net/ipv6/
Dip6_flowlabel.c109 put_pid(fl->owner.pid); in fl_free_rcu()
443 fl->owner.pid = get_task_pid(current, PIDTYPE_PID); in fl_create()
660 (fl1->owner.pid != fl->owner.pid)) || in ipv6_flowlabel_opt()
818 pid_nr_ns(fl->owner.pid, state->pid_ns) : in ip6fl_seq_show()
/net/ipv4/
Dfib_lookup.h38 int fib_dump_info(struct sk_buff *skb, u32 pid, u32 seq, int event, u32 tb_id,
/net/ipv4/bpfilter/
Dsockopt.c21 info->pid = 0; in bpfilter_umh_cleanup()
/net/bridge/
Dbr_mdb.c266 struct br_mdb_entry *entry, u32 pid, in nlmsg_populate_mdb_fill() argument
273 nlh = nlmsg_put(skb, pid, seq, type, sizeof(*bpm), 0); in nlmsg_populate_mdb_fill()
462 int ifindex, u32 pid, in nlmsg_populate_rtr_fill() argument
469 nlh = nlmsg_put(skb, pid, seq, type, sizeof(*bpm), 0); in nlmsg_populate_rtr_fill()
Dbr_netlink.c373 u32 pid, u32 seq, int event, unsigned int flags, in br_fill_ifinfo() argument
389 nlh = nlmsg_put(skb, pid, seq, event, sizeof(*hdr), flags); in br_fill_ifinfo()
510 int br_getlink(struct sk_buff *skb, u32 pid, u32 seq, in br_getlink() argument
519 return br_fill_ifinfo(skb, port, pid, seq, RTM_NEWLINK, nlflags, in br_getlink()
Dbr_private.h1165 int br_getlink(struct sk_buff *skb, u32 pid, u32 seq, struct net_device *dev,
/net/sched/
Dsch_htb.c772 u32 *pid; in htb_lookup_leaf() member
778 sp->pid = &hprio->last_ptr_id; in htb_lookup_leaf()
781 if (!*sp->pptr && *sp->pid) { in htb_lookup_leaf()
786 htb_id_find_next_upper(prio, sp->root, *sp->pid); in htb_lookup_leaf()
788 *sp->pid = 0; /* ptr is valid now so that remove this hint as it in htb_lookup_leaf()
813 sp->pid = &clp->last_ptr_id; in htb_lookup_leaf()
/net/l2tp/
Dl2tp_ppp.c556 ps->owner = current->pid; in pppol2tp_session_init()
936 sp.pppol2tp.pid = pls->owner; in pppol2tp_getname()
955 sp.pppol2tp.pid = pls->owner; in pppol2tp_getname()
974 sp.pppol2tp.pid = pls->owner; in pppol2tp_getname()
992 sp.pppol2tp.pid = pls->owner; in pppol2tp_getname()
Dl2tp_debugfs.c280 pd->net = get_net_ns_by_pid(current->pid); in l2tp_dfs_seq_open()
/net/bridge/netfilter/
Debt_stp.c24 u8 pid; member
/net/can/
Dgw.c547 u32 pid, u32 seq, int flags) in cgw_put_job() argument
552 nlh = nlmsg_put(skb, pid, seq, type, sizeof(*rtcan), flags); in cgw_put_job()
/net/
Dsocket.c1093 int pid, err; in sock_ioctl() local
1118 if (get_user(pid, (int __user *)argp)) in sock_ioctl()
1120 err = f_setown(sock->file, pid, 1); in sock_ioctl()
/net/ieee802154/
Dnl802154.c1271 u32 pid = nla_get_u32(info->attrs[NL802154_ATTR_PID]); in nl802154_wpan_phy_netns() local
1273 net = get_net_ns_by_pid(pid); in nl802154_wpan_phy_netns()

12