Home
last modified time | relevance | path

Searched refs:NETLINK_CREDS (Results 1 – 5 of 5) sorted by relevance

/linux-2.4.37.9/drivers/net/
Dethertap.c239 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/
Dnetlink.h101 #define NETLINK_CREDS(skb) (&NETLINK_CB((skb)).creds) macro
/linux-2.4.37.9/net/decnet/
Ddn_rules.c309 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/
Dfib_rules.c406 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/
Daf_netlink.c829 memcpy(NETLINK_CREDS(skb), &scm->creds, sizeof(struct ucred)); in netlink_sendmsg()
892 scm->creds = *NETLINK_CREDS(skb); in netlink_recvmsg()