Home
last modified time | relevance | path

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

/linux-2.4.37.9/net/decnet/
Ddn_dev.c46 #define DN_IFREQ_SIZE (sizeof(struct ifreq) - sizeof(struct sockaddr) + sizeof(struct sockaddr_dn)) macro
416 char buffer[DN_IFREQ_SIZE]; in dn_dev_ioctl()
425 if (copy_from_user(ifr, arg, DN_IFREQ_SIZE)) in dn_dev_ioctl()
492 if (copy_to_user(arg, ifr, DN_IFREQ_SIZE)) in dn_dev_ioctl()
1064 char buffer[DN_IFREQ_SIZE]; in dnet_gifconf()
1074 done += sizeof(DN_IFREQ_SIZE); in dnet_gifconf()
1077 if (len < DN_IFREQ_SIZE) in dnet_gifconf()
1079 memset(buffer, 0, DN_IFREQ_SIZE); in dnet_gifconf()
1091 if (copy_to_user(buf, buffer, DN_IFREQ_SIZE)) { in dnet_gifconf()
1096 buf += DN_IFREQ_SIZE; in dnet_gifconf()
[all …]