Searched defs:pid (Results 1 - 22 of 22) sorted by relevance

/net/ax25/
H A Dax25_iface.c58 void ax25_protocol_release(unsigned int pid) argument
67 if (protocol->pid == pid) {
73 if (protocol->next->pid == pid) {
161 int (*ax25_protocol_function(unsigned int pid))(struct sk_buff *, ax25_cb *) argument
168 if (protocol->pid == pid) {
203 int ax25_protocol_is_registered(unsigned int pid) argument
210 if (protocol->pid
[all...]
H A Dax25_in.c106 unsigned char pid; local
113 pid = *skb->data;
115 if (pid == AX25_P_IP) {
135 if (pid == AX25_P_SEGMENT) {
140 if ((func = ax25_protocol_function(pid)) != NULL) {
146 if ((!ax25->pidincl && ax25->sk->sk_protocol == pid) ||
234 skb_set_transport_header(skb, 2); /* skip control and pid */
241 /* Now we are pointing at the pid byte */
/net/core/
H A Dscm.c28 #include <linux/pid.h>
56 if ((creds->pid == task_tgid_vnr(current) ||
171 p->creds.pid = creds.pid;
172 if (!p->pid || pid_vnr(p->pid) != creds.pid) {
173 struct pid *pid; local
175 pid
[all...]
H A Dfib_rules.c68 u32 pid);
599 u32 pid, u32 seq, int type, int flags,
605 nlh = nlmsg_put(skb, pid, seq, type, sizeof(*frh), flags);
729 u32 pid)
740 err = fib_nl_fill_rule(skb, rule, pid, nlh->nlmsg_seq, event, 0, ops);
748 rtnl_notify(skb, net, pid, ops->nlgroup, nlh, GFP_KERNEL);
598 fib_nl_fill_rule(struct sk_buff *skb, struct fib_rule *rule, u32 pid, u32 seq, int type, int flags, struct fib_rules_ops *ops) argument
727 notify_rule_change(int event, struct fib_rule *rule, struct fib_rules_ops *ops, struct nlmsghdr *nlh, u32 pid) argument
H A Dnet_namespace.c365 struct net *get_net_ns_by_pid(pid_t pid) argument
373 tsk = find_task_by_vpid(pid);
H A Dneighbour.c1845 u32 pid, u32 seq, int type, int flags)
1850 nlh = nlmsg_put(skb, pid, seq, type, sizeof(*ndtmsg), flags);
1933 u32 pid, u32 seq, int type,
1939 nlh = nlmsg_put(skb, pid, seq, type, sizeof(*ndtmsg), flags);
2185 u32 pid, u32 seq, int type, unsigned int flags)
2192 nlh = nlmsg_put(skb, pid, seq, type, sizeof(*ndm), flags);
2237 u32 pid, u32 seq, int type, unsigned int flags,
2243 nlh = nlmsg_put(skb, pid, seq, type, sizeof(*ndm), flags);
1844 neightbl_fill_info(struct sk_buff *skb, struct neigh_table *tbl, u32 pid, u32 seq, int type, int flags) argument
1930 neightbl_fill_param_info(struct sk_buff *skb, struct neigh_table *tbl, struct neigh_parms *parms, u32 pid, u32 seq, int type, unsigned int flags) argument
2184 neigh_fill_info(struct sk_buff *skb, struct neighbour *neigh, u32 pid, u32 seq, int type, unsigned int flags) argument
2236 pneigh_fill_info(struct sk_buff *skb, struct pneigh_entry *pn, u32 pid, u32 seq, int type, unsigned int flags, struct neigh_table *tbl) argument
H A Drtnetlink.c616 int rtnetlink_send(struct sk_buff *skb, struct net *net, u32 pid, unsigned int group, int echo) argument
624 netlink_broadcast(rtnl, skb, pid, group, GFP_KERNEL);
626 err = netlink_unicast(rtnl, skb, pid, MSG_DONTWAIT);
630 int rtnl_unicast(struct sk_buff *skb, struct net *net, u32 pid) argument
634 return nlmsg_unicast(rtnl, skb, pid);
638 void rtnl_notify(struct sk_buff *skb, struct net *net, u32 pid, u32 group, argument
647 nlmsg_notify(rtnl, skb, pid, group, report, flags);
971 int type, u32 pid, u32 seq, u32 change,
983 nlh = nlmsg_put(skb, pid, seq, type, sizeof(*ifm), flags);
2253 u8 *addr, u32 pid, u3
970 rtnl_fill_ifinfo(struct sk_buff *skb, struct net_device *dev, int type, u32 pid, u32 seq, u32 change, unsigned int flags, u32 ext_filter_mask) argument
2251 nlmsg_populate_fdb_fill(struct sk_buff *skb, struct net_device *dev, u8 *addr, u32 pid, u32 seq, int type, unsigned int flags, int nlflags) argument
2631 ndo_dflt_bridge_getlink(struct sk_buff *skb, u32 pid, u32 seq, struct net_device *dev, u16 mode) argument
[all...]
H A Dsock.c400 pr_info("%s: `%s' (pid %d) tries to set negative timeout\n",
970 static void cred_to_ucred(struct pid *pid, const struct cred *cred, argument
973 ucred->pid = pid_vnr(pid);
/net/irda/
H A Dirlmp_frame.c205 __u8 pid; /* Protocol identifier */ local
223 pid = fp[2];
225 if (pid & 0x80) {
246 (lsap->pid == pid))
H A Daf_irda.c503 static int irda_open_lsap(struct irda_sock *self, int pid) argument
518 self->lsap = irlmp_open_lsap(LSAP_CONNLESS, &notify, pid);
792 self->pid = addr->sir_lsap_sel;
794 if (self->pid & 0x80) {
798 err = irda_open_lsap(self, self->pid);
1629 __u8 pid = 0; local
1654 /* Check address, extract pid. Jean II */
1660 pid = addr->sir_lsap_sel;
1661 if (pid & 0x80) {
1709 skb, pid);
[all...]
H A Dirlmp.c154 struct lsap_cb *irlmp_open_lsap(__u8 slsap_sel, notify_t *notify, __u8 pid) argument
185 self->pid = pid;
1218 __u8 pid)
1234 userdata->data[0] = self->pid;
1236 userdata->data[0] = pid;
1217 irlmp_connless_data_request(struct lsap_cb *self, struct sk_buff *userdata, __u8 pid) argument
/net/bridge/
H A Dbr_mdb.c166 struct br_mdb_entry *entry, u32 pid,
173 nlh = nlmsg_put(skb, pid, seq, type, sizeof(*bpm), NLM_F_MULTI);
164 nlmsg_populate_mdb_fill(struct sk_buff *skb, struct net_device *dev, struct br_mdb_entry *entry, u32 pid, u32 seq, int type, unsigned int flags) argument
H A Dbr_netlink.c75 u32 pid, u32 seq, int event, unsigned int flags,
91 nlh = nlmsg_put(skb, pid, seq, event, sizeof(*hdr), flags);
205 int br_getlink(struct sk_buff *skb, u32 pid, u32 seq, argument
214 err = br_fill_ifinfo(skb, port, pid, seq, RTM_NEWLINK, NLM_F_MULTI,
73 br_fill_ifinfo(struct sk_buff *skb, const struct net_bridge_port *port, u32 pid, u32 seq, int event, unsigned int flags, u32 filter_mask, const struct net_device *dev) argument
/net/bridge/netfilter/
H A Debt_stp.c23 uint8_t pid; member in struct:stp_header
/net/can/
H A Dgw.c484 u32 pid, u32 seq, int flags)
490 nlh = nlmsg_put(skb, pid, seq, type, sizeof(*rtcan), flags);
483 cgw_put_job(struct sk_buff *skb, struct cgw_job *gwj, int type, u32 pid, u32 seq, int flags) argument
/net/netfilter/
H A Dxt_qtaguid_internal.h254 * These structs need to be looked up by sock and pid.
261 /* Used to associate with a given pid */
263 pid_t pid; member in struct:sock_tag
342 pid_t pid; member in struct:proc_qtu_data
H A Dxt_qtaguid.c329 const pid_t pid)
337 if (pid < data->pid)
339 else if (pid > data->pid)
358 if (data->pid < this->pid)
360 else if (data->pid > this->pid)
543 "by pid
328 proc_qtu_data_tree_search(struct rb_root *root, const pid_t pid) argument
[all...]
/net/sunrpc/
H A Dsched.c122 static void rpc_set_waitqueue_owner(struct rpc_wait_queue *queue, pid_t pid) argument
124 queue->owner = pid;
/net/sched/
H A Dsch_htb.c761 u32 *pid; member in struct:__anon155
767 sp->pid = &hprio->last_ptr_id;
770 if (!*sp->pptr && *sp->pid) {
775 htb_id_find_next_upper(prio, sp->root, *sp->pid);
777 *sp->pid = 0; /* ptr is valid now so that remove this hint as it
802 sp->pid = &clp->last_ptr_id;
/net/xfrm/
H A Dxfrm_user.c952 u32 pid, unsigned int group)
957 return nlmsg_multicast(nlsk, skb, pid, group, GFP_ATOMIC);
951 xfrm_nlmsg_multicast(struct net *net, struct sk_buff *skb, u32 pid, unsigned int group) argument
/net/
H A Dsocket.c1048 int pid, err; local
1066 if (get_user(pid, (int __user *)argp))
1068 f_setown(sock->file, pid, 1);
/net/wireless/
H A Dnl80211.c7351 u32 pid; local
7356 pid = nla_get_u32(info->attrs[NL80211_ATTR_PID]);
7358 net = get_net_ns_by_pid(pid);

Completed in 385 milliseconds