Home
last modified time | relevance | path

Searched refs:IF_NAMESIZE (Results 1 – 7 of 7) sorted by relevance

/kernel/liteos_a/testsuites/unittest/net/socket/smoke/
Dnet_socket_test_010.cpp63 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/
Dif.h40 #define IF_NAMESIZE 16 macro
92 #define IFNAMSIZ IF_NAMESIZE
/kernel/linux/linux-5.10/samples/bpf/
Dxdp_rxq_info_user.c30 static char ifname_buf[IF_NAMESIZE];
504 if (strlen(optarg) >= IF_NAMESIZE) { in main()
509 strncpy(ifname, optarg, IF_NAMESIZE); in main()
Dxdp_redirect_cpu_user.c34 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/
Dcommon.c559 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/
Dlibbpf_probes.c27 char ifname[IF_NAMESIZE], path[64], buf[8]; in get_vendor_id()
/kernel/linux/linux-5.10/tools/testing/selftests/net/mptcp/
Dpm_nl_ctl.c382 char name[IF_NAMESIZE], *ret; in print_addr()