Searched refs:NETLINK_CREDS (Results 1 – 5 of 5) sorted by relevance
/linux-2.4.37.9/drivers/net/ |
D | ethertap.c | 239 if (NETLINK_CREDS(skb)->uid) { in ethertap_rx_skb() 240 printk(KERN_INFO "%s : user %d\n", dev->name, NETLINK_CREDS(skb)->uid); in ethertap_rx_skb()
|
/linux-2.4.37.9/include/linux/ |
D | netlink.h | 101 #define NETLINK_CREDS(skb) (&NETLINK_CB((skb)).creds) macro
|
/linux-2.4.37.9/net/decnet/ |
D | dn_rules.c | 309 nlh = NLMSG_PUT(skb, NETLINK_CREDS(cb->skb)->pid, cb->nlh->nlmsg_seq, RTM_NEWRULE, sizeof(*rtm)); in dn_fib_fill_rule()
|
/linux-2.4.37.9/net/ipv4/ |
D | fib_rules.c | 406 nlh = NLMSG_PUT(skb, NETLINK_CREDS(cb->skb)->pid, cb->nlh->nlmsg_seq, RTM_NEWRULE, sizeof(*rtm)); in inet_fill_rule()
|
/linux-2.4.37.9/net/netlink/ |
D | af_netlink.c | 829 memcpy(NETLINK_CREDS(skb), &scm->creds, sizeof(struct ucred)); in netlink_sendmsg() 892 scm->creds = *NETLINK_CREDS(skb); in netlink_recvmsg()
|