Home
last modified time | relevance | path

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

/net/core/
Dpktgen.c863 char name[16], valstr[32]; in pktgen_if_write() local
1422 len = strn_len(&user_buffer[i], sizeof(valstr) - 1); in pktgen_if_write()
1426 memset(valstr, 0, sizeof(valstr)); in pktgen_if_write()
1427 if (copy_from_user(valstr, &user_buffer[i], len)) in pktgen_if_write()
1430 if (!mac_pton(valstr, pkt_dev->dst_mac)) in pktgen_if_write()
1439 len = strn_len(&user_buffer[i], sizeof(valstr) - 1); in pktgen_if_write()
1443 memset(valstr, 0, sizeof(valstr)); in pktgen_if_write()
1444 if (copy_from_user(valstr, &user_buffer[i], len)) in pktgen_if_write()
1447 if (!mac_pton(valstr, pkt_dev->src_mac)) in pktgen_if_write()