Home
last modified time | relevance | path

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

/net/core/
Ddev_ioctl.c53 int dev_ifconf(struct net *net, struct ifconf *ifc, int size) in dev_ifconf() argument
65 pos = ifc->ifc_buf; in dev_ifconf()
66 len = ifc->ifc_len; in dev_ifconf()
92 ifc->ifc_len = total; in dev_ifconf()
/net/
Dsocket.c1049 struct ifconf ifc; in sock_do_ioctl() local
1050 if (copy_from_user(&ifc, argp, sizeof(struct ifconf))) in sock_do_ioctl()
1053 err = dev_ifconf(net, &ifc, sizeof(struct ifreq)); in sock_do_ioctl()
1055 if (!err && copy_to_user(argp, &ifc, sizeof(struct ifconf))) in sock_do_ioctl()
3069 struct ifconf ifc; in compat_dev_ifconf() local
3075 ifc.ifc_len = ifc32.ifc_len; in compat_dev_ifconf()
3076 ifc.ifc_req = compat_ptr(ifc32.ifcbuf); in compat_dev_ifconf()
3079 err = dev_ifconf(net, &ifc, sizeof(struct compat_ifreq)); in compat_dev_ifconf()
3084 ifc32.ifc_len = ifc.ifc_len; in compat_dev_ifconf()