Searched refs:ifr_name (Results 1 – 15 of 15) sorted by relevance
/Zephyr-latest/tests/net/socket/offload_dispatcher/src/ |
D | main.c | 692 .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/ |
D | zperf_udp_uploader.c | 314 (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/ |
D | transport.c | 55 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/ |
D | eth_native_posix_adapt.c | 56 strncpy(ifr.ifr_name, if_name, IFNAMSIZ - 1); in eth_iface_create()
|
/Zephyr-latest/drivers/can/ |
D | can_native_linux_adapt.c | 58 strncpy(ifr.ifr_name, if_name, IFNAMSIZ - 1); in linux_socketcan_iface_open()
|
/Zephyr-latest/subsys/net/lib/sockets/ |
D | socket_dispatcher.c | 331 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()
|
D | sockets_inet.c | 2393 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/ |
D | mdns_responder.c | 783 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()
|
D | resolve.c | 328 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/ |
D | main.c | 189 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/ |
D | socket.h | 820 char ifr_name[IFNAMSIZ]; /**< Network interface name */ member
|
/Zephyr-latest/tests/net/vlan/src/ |
D | main.c | 935 strncpy(ifreq.ifr_name, ifname, sizeof(ifreq.ifr_name)); in ZTEST()
|
/Zephyr-latest/doc/connectivity/networking/api/ |
D | sockets.rst | 254 .ifr_name = "SimpleLink" 280 .ifr_name = "SimpleLink"
|
/Zephyr-latest/subsys/net/lib/dhcpv4/ |
D | dhcpv4_server.c | 1600 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/ |
D | main.c | 1980 strncpy(ifreq.ifr_name, ifname, sizeof(ifreq.ifr_name)); in test_check_ttl()
|