Home
last modified time | relevance | path

Searched refs:if_len (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/tools/testing/selftests/net/
Dtimestamping.c336 size_t if_len; in main() local
341 if_len = strlen(interface); in main()
342 if (if_len >= IFNAMSIZ) { in main()
388 memcpy(device.ifr_name, interface, if_len + 1); in main()
393 memcpy(hwtstamp.ifr_name, interface, if_len + 1); in main()
425 if (setsockopt(sock, SOL_SOCKET, SO_BINDTODEVICE, interface, if_len)) in main()
/linux-6.1.9/net/tipc/
Dbearer.c144 u32 if_len; in bearer_name_validate() local
157 if_len = strlen(if_name) + 1; in bearer_name_validate()
161 (if_len <= 1) || (if_len > TIPC_MAX_IF_NAME)) in bearer_name_validate()