Home
last modified time | relevance | path

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

/Zephyr-latest/tests/net/socket/offload_dispatcher/src/
Dmain.c692 .ifr_name = "net1" in ZTEST()
694 .ifr_name = "offloaded_2" in ZTEST()
727 .ifr_name = "dummy0" in ZTEST()
729 .ifr_name = "dummy_native" in ZTEST()
762 .ifr_name = "net1" in ZTEST()
764 .ifr_name = "offloaded_2" in ZTEST()
809 .ifr_name = "dummy0" in ZTEST()
811 .ifr_name = "dummy_native" in ZTEST()
/Zephyr-latest/subsys/net/lib/zperf/
Dzperf_udp_uploader.c314 (void)memset(req.ifr_name, 0, sizeof(req.ifr_name)); in zperf_udp_upload()
315 strncpy(req.ifr_name, param->if_name, IFNAMSIZ); in zperf_udp_upload()
316 req.ifr_name[IFNAMSIZ - 1] = 0; in zperf_udp_upload()
/Zephyr-latest/subsys/net/lib/ptp/
Dtransport.c55 cnt = net_if_get_name(iface, ifreq.ifr_name, INTERFACE_NAME_LEN); in transport_socket_open()
59 ifreq.ifr_name, in transport_socket_open()
60 sizeof(ifreq.ifr_name))) { in transport_socket_open()
/Zephyr-latest/drivers/ethernet/
Deth_native_posix_adapt.c56 strncpy(ifr.ifr_name, if_name, IFNAMSIZ - 1); in eth_iface_create()
/Zephyr-latest/drivers/can/
Dcan_native_linux_adapt.c58 strncpy(ifr.ifr_name, if_name, IFNAMSIZ - 1); in linux_socketcan_iface_open()
/Zephyr-latest/subsys/net/lib/sockets/
Dsocket_dispatcher.c331 ret = net_if_get_by_name(ifreq->ifr_name); in sock_dispatch_setsockopt_vmeth()
345 dev = device_get_binding(ifreq->ifr_name); in sock_dispatch_setsockopt_vmeth()
Dsockets_inet.c2393 strlen(ifreq->ifr_name) == 0)) { in zsock_setsockopt_ctx()
2404 ret = net_if_get_by_name(ifreq->ifr_name); in zsock_setsockopt_ctx()
2418 dev = device_get_binding(ifreq->ifr_name); in zsock_setsockopt_ctx()
/Zephyr-latest/subsys/net/lib/dns/
Dmdns_responder.c783 strncpy(if_req.ifr_name, name, sizeof(if_req.ifr_name) - 1); in init_listener()
876 strncpy(if_req.ifr_name, name, sizeof(if_req.ifr_name) - 1); in init_listener()
Dresolve.c328 ret = net_if_get_name(net_if_get_by_index(if_index), ifreq.ifr_name, in bind_to_iface()
329 sizeof(ifreq.ifr_name)); in bind_to_iface()
/Zephyr-latest/tests/net/socket/misc/src/
Dmain.c189 strcpy(ifreq.ifr_name, DEV2_NAME); in test_so_bindtodevice()
198 strcpy(ifreq.ifr_name, DEV1_NAME); in test_so_bindtodevice()
223 strcpy(ifreq.ifr_name, DEV2_NAME); in test_so_bindtodevice()
253 strcpy(ifreq.ifr_name, ""); in test_so_bindtodevice()
261 strcpy(ifreq.ifr_name, DEV1_NAME); in test_so_bindtodevice()
/Zephyr-latest/include/zephyr/net/
Dsocket.h820 char ifr_name[IFNAMSIZ]; /**< Network interface name */ member
/Zephyr-latest/tests/net/vlan/src/
Dmain.c935 strncpy(ifreq.ifr_name, ifname, sizeof(ifreq.ifr_name)); in ZTEST()
/Zephyr-latest/doc/connectivity/networking/api/
Dsockets.rst254 .ifr_name = "SimpleLink"
280 .ifr_name = "SimpleLink"
/Zephyr-latest/subsys/net/lib/dhcpv4/
Ddhcpv4_server.c1600 ret = net_if_get_name(iface, ifreq.ifr_name, sizeof(ifreq.ifr_name)); in net_dhcpv4_server_start()
/Zephyr-latest/tests/net/socket/udp/src/
Dmain.c1980 strncpy(ifreq.ifr_name, ifname, sizeof(ifreq.ifr_name)); in test_check_ttl()