/openbmc/phosphor-networkd/src/ |
H A D | system_queries.cpp | 35 static ifreq makeIFReq(std::string_view ifname) in makeIFReq() 37 ifreq ifr = {}; in makeIFReq() 43 static ifreq executeIFReq(std::string_view ifname, unsigned long cmd, in executeIFReq() 46 ifreq ifr = makeIFReq(ifname); in executeIFReq() 56 ifreq ifr; in optionalIFReq() 90 [&](const ifreq&) { in getEthInfo() argument 107 ifreq ifr = executeIFReq(ifname, SIOCGIFFLAGS); in setNICUp()
|
/openbmc/google-misc/subprojects/ncsid/src/ |
H A D | net_iface.h | 68 virtual int ioctl(int request, struct ifreq* ifr) const = 0; 75 struct ifreq* ifr) const = 0; 99 int ioctl(int request, struct ifreq* ifr) const override; 104 int ioctl_sock(int sockfd, int request, struct ifreq* ifr) const override;
|
H A D | net_iface.cpp | 41 struct ifreq ifr; in get_index() 64 struct ifreq ifr; in mod_sock_flags() 84 int IFace::ioctl_sock(int sockfd, int request, struct ifreq* ifr) const in ioctl_sock() 115 int IFace::ioctl(int request, struct ifreq* ifr) const in ioctl()
|
/openbmc/inarp/ |
H A D | inarp.c | 167 const char *ifname, struct ifreq *ifreq) in do_ifreq() argument 169 memset(ifreq, 0, sizeof(*ifreq)); in do_ifreq() 170 strncpy(ifreq->ifr_name, ifname, sizeof(ifreq->ifr_name)); in do_ifreq() 172 return ioctl(fd, type, ifreq); in do_ifreq() 179 struct ifreq ifreq; in get_local_ipaddr() local 182 rc = do_ifreq(inarp->arp_sd, SIOCGIFADDR, ifname, &ifreq); in get_local_ipaddr() 190 if (ifreq.ifr_addr.sa_family != AF_INET) { in get_local_ipaddr() 193 ifreq.ifr_addr.sa_family); in get_local_ipaddr() 197 sa = (struct sockaddr_in *)&ifreq.ifr_addr; in get_local_ipaddr()
|
/openbmc/linux/drivers/net/dsa/mv88e6xxx/ |
H A D | hwtstamp.h | 114 struct ifreq *ifr); 116 struct ifreq *ifr); 136 int port, struct ifreq *ifr) in mv88e6xxx_port_hwtstamp_set() 142 int port, struct ifreq *ifr) in mv88e6xxx_port_hwtstamp_get()
|
/openbmc/linux/net/core/ |
H A D | dev_ioctl.c | 27 static int dev_ifname(struct net *net, struct ifreq *ifr) in dev_ifname() 63 size = sizeof(struct ifreq); in dev_ifconf() 85 static int dev_getifmap(struct net_device *dev, struct ifreq *ifr) in dev_getifmap() 112 static int dev_setifmap(struct net_device *dev, struct ifreq *ifr) in dev_setifmap() 243 struct ifreq *ifr, unsigned int cmd) in dev_eth_ioctl() 280 static int dev_get_hwtstamp(struct net_device *dev, struct ifreq *ifr) in dev_get_hwtstamp() 367 static int dev_set_hwtstamp(struct net_device *dev, struct ifreq *ifr) in dev_set_hwtstamp() 418 struct ifreq ifrr; in generic_hwtstamp_ioctl_lower() 468 struct ifreq *ifr, unsigned int cmd) in dev_siocbond() 482 static int dev_siocdevprivate(struct net_device *dev, struct ifreq *ifr, in dev_siocdevprivate() [all …]
|
/openbmc/qemu/net/ |
H A D | tap-linux.c | 43 struct ifreq ifr; in tap_open() 151 struct ifreq ifr; in tap_probe_vnet_hdr() 274 struct ifreq ifr; in tap_fd_enable() 292 struct ifreq ifr; in tap_fd_disable() 309 struct ifreq ifr; in tap_fd_get_ifname()
|
H A D | tap-bsd.c | 43 struct ifreq ifr; in tap_open() 112 struct ifreq ifr; in tap_open_clone()
|
/openbmc/google-misc/subprojects/ncsid/test/ |
H A D | net_iface_mock.cpp | 29 int IFace::ioctl_sock(int, int request, struct ifreq* ifr) const in ioctl_sock() 34 int IFace::ioctl(int request, struct ifreq* ifr) const in ioctl()
|
H A D | net_iface_mock.h | 39 int ioctl_sock(int sockfd, int request, struct ifreq* ifr) const override; 40 int ioctl(int request, struct ifreq* ifr) const override;
|
/openbmc/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_ptp.h | 262 int ice_ptp_set_ts_config(struct ice_pf *pf, struct ifreq *ifr); 263 int ice_ptp_get_ts_config(struct ice_pf *pf, struct ifreq *ifr); 280 static inline int ice_ptp_set_ts_config(struct ice_pf *pf, struct ifreq *ifr) in ice_ptp_set_ts_config() 285 static inline int ice_ptp_get_ts_config(struct ice_pf *pf, struct ifreq *ifr) in ice_ptp_get_ts_config()
|
/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
H A D | hclge_ptp.h | 12 struct ifreq; 136 int hclge_ptp_get_cfg(struct hclge_dev *hdev, struct ifreq *ifr); 137 int hclge_ptp_set_cfg(struct hclge_dev *hdev, struct ifreq *ifr);
|
/openbmc/linux/drivers/net/dsa/hirschmann/ |
H A D | hellcreek_hwtstamp.h | 41 struct ifreq *ifr); 43 struct ifreq *ifr);
|
/openbmc/linux/include/linux/ |
H A D | mii_timestamper.h | 54 struct ifreq *ifreq);
|
/openbmc/linux/drivers/net/ethernet/sfc/siena/ |
H A D | ptp.h | 18 int efx_siena_ptp_set_ts_config(struct efx_nic *efx, struct ifreq *ifr); 19 int efx_siena_ptp_get_ts_config(struct efx_nic *efx, struct ifreq *ifr);
|
/openbmc/linux/drivers/net/ethernet/sfc/ |
H A D | ptp.h | 21 int efx_ptp_set_ts_config(struct efx_nic *efx, struct ifreq *ifr); 22 int efx_ptp_get_ts_config(struct efx_nic *efx, struct ifreq *ifr);
|
/openbmc/linux/drivers/net/dsa/microchip/ |
H A D | ksz_ptp.h | 42 int ksz_hwtstamp_get(struct dsa_switch *ds, int port, struct ifreq *ifr); 43 int ksz_hwtstamp_set(struct dsa_switch *ds, int port, struct ifreq *ifr);
|
/openbmc/linux/tools/testing/selftests/net/ |
H A D | tun.c | 22 struct ifreq ifr; in tun_attach() 33 struct ifreq ifr; in tun_detach() 44 struct ifreq ifr; in tun_alloc()
|
/openbmc/linux/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_ptp.h | 142 int bnxt_hwtstamp_set(struct net_device *dev, struct ifreq *ifr); 143 int bnxt_hwtstamp_get(struct net_device *dev, struct ifreq *ifr);
|
/openbmc/linux/drivers/net/wireless/intersil/hostap/ |
H A D | hostap.h | 95 int hostap_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd); 96 int hostap_siocdevprivate(struct net_device *dev, struct ifreq *ifr,
|
/openbmc/linux/drivers/staging/octeon/ |
H A D | ethernet-mdio.h | 25 int cvm_oct_ioctl(struct net_device *dev, struct ifreq *rq, int cmd);
|
/openbmc/openbmc/meta-openembedded/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc/ |
H A D | 0014-add-if_nameindex-from-musl.patch | 76 + idx = malloc(n * (sizeof(struct if_nameindex)+sizeof(struct ifreq))); 80 + conf.ifc_len = len = n * sizeof(struct ifreq); 90 + n = conf.ifc_len / sizeof(struct ifreq);
|
/openbmc/linux/include/uapi/linux/ |
H A D | if.h | 234 struct ifreq { struct 290 struct ifreq __user *ifcu_req;
|
/openbmc/linux/drivers/net/ethernet/pensando/ionic/ |
H A D | ionic_lif.h | 342 int ionic_lif_hwstamp_set(struct ionic_lif *lif, struct ifreq *ifr); 343 int ionic_lif_hwstamp_get(struct ionic_lif *lif, struct ifreq *ifr); 353 static inline int ionic_lif_hwstamp_set(struct ionic_lif *lif, struct ifreq *ifr) in ionic_lif_hwstamp_set() 358 static inline int ionic_lif_hwstamp_get(struct ionic_lif *lif, struct ifreq *ifr) in ionic_lif_hwstamp_get()
|
/openbmc/linux/drivers/staging/rtl8712/ |
H A D | osdep_intf.h | 30 int r871x_ioctl(struct net_device *dev, struct ifreq *rq, int cmd);
|