ifconf
struct ifconf config;
return user_memcpy(value, &config, sizeof(struct ifconf));
struct ifconf config;
if (user_memcpy(&config, value, sizeof(struct ifconf)) < B_OK)
return user_memcpy(value, &config, sizeof(struct ifconf));
struct ifconf config;
return user_memcpy(value, &config, sizeof(struct ifconf));
struct ifconf config;
if (user_memcpy(&config, value, sizeof(struct ifconf)) < B_OK)
struct ifconf config;
return user_memcpy(value, &config, sizeof(struct ifconf));
struct ifconf config;
if (user_memcpy(&config, value, sizeof(struct ifconf)) < B_OK)
return user_memcpy(value, &config, sizeof(struct ifconf));
format_pointer(Context &context, ifconf *conf)
POINTER_TYPE(ifconf_ptr, ifconf);
struct ifconf;
DEFINE_FACTORY(ifconf_ptr, ifconf *);
IOCTL_INFO_ENTRY_TYPE(SIOCGIFCOUNT, struct ifconf *),
IOCTL_INFO_ENTRY_TYPE(SIOCGIFCONF, struct ifconf *),
ifconf config;
if (ioctl(socket, SIOCGRTSIZE, &config, sizeof(struct ifconf)) < 0)
if (ioctl(socket, SIOCGRTTABLE, &config, sizeof(struct ifconf)) < 0)
struct ifconf ifc;
ifconf config;
if (ioctl(socket.Get(), SIOCGIFCOUNT, &config, sizeof(struct ifconf)) != 0)
ifconf config;
if (ioctl(socket.Get(), SIOCGIFCOUNT, &config, sizeof(struct ifconf)) < 0)
if (ioctl(socket.Get(), SIOCGIFCONF, &config, sizeof(struct ifconf)) < 0)
ifconf config;
if (ioctl(socket.Get(), SIOCGRTSIZE, &config, sizeof(struct ifconf)) < 0)
if (ioctl(socket.Get(), SIOCGRTTABLE, &config, sizeof(struct ifconf)) < 0)
struct ifconf ifc;
ifconf config;
if (ioctl(socket.Get(), SIOCGIFCOUNT, &config, sizeof(struct ifconf)) < 0)
ifconf config;
if (ioctl(socket.Get(), SIOCGIFCONF, &config, sizeof(struct ifconf)) < 0)
if (ioctl(socket.FD(), SIOCGIFCONF, &config, sizeof(struct ifconf)) < 0)
ifconf config;
if (ioctl(socket.FD(), SIOCGIFCOUNT, &config, sizeof(struct ifconf)) < 0)
struct ifconf *ifc = (struct ifconf *) args;