Home
last modified time | relevance | path

Searched refs:safe_strncpy (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/samples/bpf/
Dxdp_sample_user.h52 static inline char *safe_strncpy(char *dst, const char *src, size_t size) in safe_strncpy() function
Dxdp_redirect_user.c156 safe_strncpy(str, get_driver_name(ifindex_in), sizeof(str)); in main()
Dxdp_redirect_map_user.c212 safe_strncpy(str, get_driver_name(ifindex_in), sizeof(str)); in main()
Dxdp_sample_user.c1617 safe_strncpy(ifr.ifr_name, ifname, sizeof(ifr.ifr_name)); in get_driver_name()
1624 safe_strncpy(drvname, drv.driver, sizeof(drvname)); in get_driver_name()
1650 safe_strncpy(ifr.ifr_name, ifname, sizeof(ifr.ifr_name)); in get_mac_addr()