Searched refs:safe_strncpy (Results 1 – 4 of 4) sorted by relevance
/linux-6.1.9/samples/bpf/ |
D | xdp_sample_user.h | 52 static inline char *safe_strncpy(char *dst, const char *src, size_t size) in safe_strncpy() function
|
D | xdp_redirect_user.c | 156 safe_strncpy(str, get_driver_name(ifindex_in), sizeof(str)); in main()
|
D | xdp_redirect_map_user.c | 212 safe_strncpy(str, get_driver_name(ifindex_in), sizeof(str)); in main()
|
D | xdp_sample_user.c | 1617 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()
|