Searched refs:IF_NAMESIZE (Results 1 – 7 of 7) sorted by relevance
/kernel/liteos_a/testsuites/unittest/net/socket/smoke/ |
D | net_socket_test_010.cpp | 63 ret = strncpy_s(name, IF_NAMESIZE - 1, ifr.ifr_name, IF_NAMESIZE - 1); in IfIndex2Name() 67 name[IF_NAMESIZE - 1] = '\0'; in IfIndex2Name()
|
/kernel/liteos_m/kal/libc/newlib/porting/include/net/ |
D | if.h | 40 #define IF_NAMESIZE 16 macro 92 #define IFNAMSIZ IF_NAMESIZE
|
/kernel/linux/linux-5.10/samples/bpf/ |
D | xdp_rxq_info_user.c | 30 static char ifname_buf[IF_NAMESIZE]; 504 if (strlen(optarg) >= IF_NAMESIZE) { in main() 509 strncpy(ifname, optarg, IF_NAMESIZE); in main()
|
D | xdp_redirect_cpu_user.c | 34 static char ifname_buf[IF_NAMESIZE]; 844 if (strlen(optarg) >= IF_NAMESIZE) { in main() 849 strncpy(ifname, optarg, IF_NAMESIZE); in main()
|
/kernel/linux/linux-5.10/tools/bpf/bpftool/ |
D | common.c | 559 char devname[IF_NAMESIZE]; in ifindex_to_bfd_params() 593 char name[IF_NAMESIZE]; in print_dev_plain() 608 char name[IF_NAMESIZE]; in print_dev_json()
|
/kernel/linux/linux-5.10/tools/lib/bpf/ |
D | libbpf_probes.c | 27 char ifname[IF_NAMESIZE], path[64], buf[8]; in get_vendor_id()
|
/kernel/linux/linux-5.10/tools/testing/selftests/net/mptcp/ |
D | pm_nl_ctl.c | 382 char name[IF_NAMESIZE], *ret; in print_addr()
|