Lines Matching refs:dev_name
33 char *dev_name; member
239 const char *dev_name) in ethtool_strset_get_req_set_header_dev_name() argument
241 free(req->header.dev_name); in ethtool_strset_get_req_set_header_dev_name()
242 req->header._present.dev_name_len = strlen(dev_name); in ethtool_strset_get_req_set_header_dev_name()
243 req->header.dev_name = malloc(req->header._present.dev_name_len + 1); in ethtool_strset_get_req_set_header_dev_name()
244 memcpy(req->header.dev_name, dev_name, req->header._present.dev_name_len); in ethtool_strset_get_req_set_header_dev_name()
245 req->header.dev_name[req->header._present.dev_name_len] = 0; in ethtool_strset_get_req_set_header_dev_name()
317 const char *dev_name) in ethtool_strset_get_req_dump_set_header_dev_name() argument
319 free(req->header.dev_name); in ethtool_strset_get_req_dump_set_header_dev_name()
320 req->header._present.dev_name_len = strlen(dev_name); in ethtool_strset_get_req_dump_set_header_dev_name()
321 req->header.dev_name = malloc(req->header._present.dev_name_len + 1); in ethtool_strset_get_req_dump_set_header_dev_name()
322 memcpy(req->header.dev_name, dev_name, req->header._present.dev_name_len); in ethtool_strset_get_req_dump_set_header_dev_name()
323 req->header.dev_name[req->header._present.dev_name_len] = 0; in ethtool_strset_get_req_dump_set_header_dev_name()
386 const char *dev_name) in ethtool_linkinfo_get_req_set_header_dev_name() argument
388 free(req->header.dev_name); in ethtool_linkinfo_get_req_set_header_dev_name()
389 req->header._present.dev_name_len = strlen(dev_name); in ethtool_linkinfo_get_req_set_header_dev_name()
390 req->header.dev_name = malloc(req->header._present.dev_name_len + 1); in ethtool_linkinfo_get_req_set_header_dev_name()
391 memcpy(req->header.dev_name, dev_name, req->header._present.dev_name_len); in ethtool_linkinfo_get_req_set_header_dev_name()
392 req->header.dev_name[req->header._present.dev_name_len] = 0; in ethtool_linkinfo_get_req_set_header_dev_name()
456 const char *dev_name) in ethtool_linkinfo_get_req_dump_set_header_dev_name() argument
458 free(req->header.dev_name); in ethtool_linkinfo_get_req_dump_set_header_dev_name()
459 req->header._present.dev_name_len = strlen(dev_name); in ethtool_linkinfo_get_req_dump_set_header_dev_name()
460 req->header.dev_name = malloc(req->header._present.dev_name_len + 1); in ethtool_linkinfo_get_req_dump_set_header_dev_name()
461 memcpy(req->header.dev_name, dev_name, req->header._present.dev_name_len); in ethtool_linkinfo_get_req_dump_set_header_dev_name()
462 req->header.dev_name[req->header._present.dev_name_len] = 0; in ethtool_linkinfo_get_req_dump_set_header_dev_name()
532 const char *dev_name) in ethtool_linkinfo_set_req_set_header_dev_name() argument
534 free(req->header.dev_name); in ethtool_linkinfo_set_req_set_header_dev_name()
535 req->header._present.dev_name_len = strlen(dev_name); in ethtool_linkinfo_set_req_set_header_dev_name()
536 req->header.dev_name = malloc(req->header._present.dev_name_len + 1); in ethtool_linkinfo_set_req_set_header_dev_name()
537 memcpy(req->header.dev_name, dev_name, req->header._present.dev_name_len); in ethtool_linkinfo_set_req_set_header_dev_name()
538 req->header.dev_name[req->header._present.dev_name_len] = 0; in ethtool_linkinfo_set_req_set_header_dev_name()
617 const char *dev_name) in ethtool_linkmodes_get_req_set_header_dev_name() argument
619 free(req->header.dev_name); in ethtool_linkmodes_get_req_set_header_dev_name()
620 req->header._present.dev_name_len = strlen(dev_name); in ethtool_linkmodes_get_req_set_header_dev_name()
621 req->header.dev_name = malloc(req->header._present.dev_name_len + 1); in ethtool_linkmodes_get_req_set_header_dev_name()
622 memcpy(req->header.dev_name, dev_name, req->header._present.dev_name_len); in ethtool_linkmodes_get_req_set_header_dev_name()
623 req->header.dev_name[req->header._present.dev_name_len] = 0; in ethtool_linkmodes_get_req_set_header_dev_name()
696 const char *dev_name) in ethtool_linkmodes_get_req_dump_set_header_dev_name() argument
698 free(req->header.dev_name); in ethtool_linkmodes_get_req_dump_set_header_dev_name()
699 req->header._present.dev_name_len = strlen(dev_name); in ethtool_linkmodes_get_req_dump_set_header_dev_name()
700 req->header.dev_name = malloc(req->header._present.dev_name_len + 1); in ethtool_linkmodes_get_req_dump_set_header_dev_name()
701 memcpy(req->header.dev_name, dev_name, req->header._present.dev_name_len); in ethtool_linkmodes_get_req_dump_set_header_dev_name()
702 req->header.dev_name[req->header._present.dev_name_len] = 0; in ethtool_linkmodes_get_req_dump_set_header_dev_name()
780 const char *dev_name) in ethtool_linkmodes_set_req_set_header_dev_name() argument
782 free(req->header.dev_name); in ethtool_linkmodes_set_req_set_header_dev_name()
783 req->header._present.dev_name_len = strlen(dev_name); in ethtool_linkmodes_set_req_set_header_dev_name()
784 req->header.dev_name = malloc(req->header._present.dev_name_len + 1); in ethtool_linkmodes_set_req_set_header_dev_name()
785 memcpy(req->header.dev_name, dev_name, req->header._present.dev_name_len); in ethtool_linkmodes_set_req_set_header_dev_name()
786 req->header.dev_name[req->header._present.dev_name_len] = 0; in ethtool_linkmodes_set_req_set_header_dev_name()
925 const char *dev_name) in ethtool_linkstate_get_req_set_header_dev_name() argument
927 free(req->header.dev_name); in ethtool_linkstate_get_req_set_header_dev_name()
928 req->header._present.dev_name_len = strlen(dev_name); in ethtool_linkstate_get_req_set_header_dev_name()
929 req->header.dev_name = malloc(req->header._present.dev_name_len + 1); in ethtool_linkstate_get_req_set_header_dev_name()
930 memcpy(req->header.dev_name, dev_name, req->header._present.dev_name_len); in ethtool_linkstate_get_req_set_header_dev_name()
931 req->header.dev_name[req->header._present.dev_name_len] = 0; in ethtool_linkstate_get_req_set_header_dev_name()
998 const char *dev_name) in ethtool_linkstate_get_req_dump_set_header_dev_name() argument
1000 free(req->header.dev_name); in ethtool_linkstate_get_req_dump_set_header_dev_name()
1001 req->header._present.dev_name_len = strlen(dev_name); in ethtool_linkstate_get_req_dump_set_header_dev_name()
1002 req->header.dev_name = malloc(req->header._present.dev_name_len + 1); in ethtool_linkstate_get_req_dump_set_header_dev_name()
1003 memcpy(req->header.dev_name, dev_name, req->header._present.dev_name_len); in ethtool_linkstate_get_req_dump_set_header_dev_name()
1004 req->header.dev_name[req->header._present.dev_name_len] = 0; in ethtool_linkstate_get_req_dump_set_header_dev_name()
1052 const char *dev_name) in ethtool_debug_get_req_set_header_dev_name() argument
1054 free(req->header.dev_name); in ethtool_debug_get_req_set_header_dev_name()
1055 req->header._present.dev_name_len = strlen(dev_name); in ethtool_debug_get_req_set_header_dev_name()
1056 req->header.dev_name = malloc(req->header._present.dev_name_len + 1); in ethtool_debug_get_req_set_header_dev_name()
1057 memcpy(req->header.dev_name, dev_name, req->header._present.dev_name_len); in ethtool_debug_get_req_set_header_dev_name()
1058 req->header.dev_name[req->header._present.dev_name_len] = 0; in ethtool_debug_get_req_set_header_dev_name()
1113 const char *dev_name) in ethtool_debug_get_req_dump_set_header_dev_name() argument
1115 free(req->header.dev_name); in ethtool_debug_get_req_dump_set_header_dev_name()
1116 req->header._present.dev_name_len = strlen(dev_name); in ethtool_debug_get_req_dump_set_header_dev_name()
1117 req->header.dev_name = malloc(req->header._present.dev_name_len + 1); in ethtool_debug_get_req_dump_set_header_dev_name()
1118 memcpy(req->header.dev_name, dev_name, req->header._present.dev_name_len); in ethtool_debug_get_req_dump_set_header_dev_name()
1119 req->header.dev_name[req->header._present.dev_name_len] = 0; in ethtool_debug_get_req_dump_set_header_dev_name()
1180 const char *dev_name) in ethtool_debug_set_req_set_header_dev_name() argument
1182 free(req->header.dev_name); in ethtool_debug_set_req_set_header_dev_name()
1183 req->header._present.dev_name_len = strlen(dev_name); in ethtool_debug_set_req_set_header_dev_name()
1184 req->header.dev_name = malloc(req->header._present.dev_name_len + 1); in ethtool_debug_set_req_set_header_dev_name()
1185 memcpy(req->header.dev_name, dev_name, req->header._present.dev_name_len); in ethtool_debug_set_req_set_header_dev_name()
1186 req->header.dev_name[req->header._present.dev_name_len] = 0; in ethtool_debug_set_req_set_header_dev_name()
1251 const char *dev_name) in ethtool_wol_get_req_set_header_dev_name() argument
1253 free(req->header.dev_name); in ethtool_wol_get_req_set_header_dev_name()
1254 req->header._present.dev_name_len = strlen(dev_name); in ethtool_wol_get_req_set_header_dev_name()
1255 req->header.dev_name = malloc(req->header._present.dev_name_len + 1); in ethtool_wol_get_req_set_header_dev_name()
1256 memcpy(req->header.dev_name, dev_name, req->header._present.dev_name_len); in ethtool_wol_get_req_set_header_dev_name()
1257 req->header.dev_name[req->header._present.dev_name_len] = 0; in ethtool_wol_get_req_set_header_dev_name()
1314 const char *dev_name) in ethtool_wol_get_req_dump_set_header_dev_name() argument
1316 free(req->header.dev_name); in ethtool_wol_get_req_dump_set_header_dev_name()
1317 req->header._present.dev_name_len = strlen(dev_name); in ethtool_wol_get_req_dump_set_header_dev_name()
1318 req->header.dev_name = malloc(req->header._present.dev_name_len + 1); in ethtool_wol_get_req_dump_set_header_dev_name()
1319 memcpy(req->header.dev_name, dev_name, req->header._present.dev_name_len); in ethtool_wol_get_req_dump_set_header_dev_name()
1320 req->header.dev_name[req->header._present.dev_name_len] = 0; in ethtool_wol_get_req_dump_set_header_dev_name()
1382 const char *dev_name) in ethtool_wol_set_req_set_header_dev_name() argument
1384 free(req->header.dev_name); in ethtool_wol_set_req_set_header_dev_name()
1385 req->header._present.dev_name_len = strlen(dev_name); in ethtool_wol_set_req_set_header_dev_name()
1386 req->header.dev_name = malloc(req->header._present.dev_name_len + 1); in ethtool_wol_set_req_set_header_dev_name()
1387 memcpy(req->header.dev_name, dev_name, req->header._present.dev_name_len); in ethtool_wol_set_req_set_header_dev_name()
1388 req->header.dev_name[req->header._present.dev_name_len] = 0; in ethtool_wol_set_req_set_header_dev_name()
1462 const char *dev_name) in ethtool_features_get_req_set_header_dev_name() argument
1464 free(req->header.dev_name); in ethtool_features_get_req_set_header_dev_name()
1465 req->header._present.dev_name_len = strlen(dev_name); in ethtool_features_get_req_set_header_dev_name()
1466 req->header.dev_name = malloc(req->header._present.dev_name_len + 1); in ethtool_features_get_req_set_header_dev_name()
1467 memcpy(req->header.dev_name, dev_name, req->header._present.dev_name_len); in ethtool_features_get_req_set_header_dev_name()
1468 req->header.dev_name[req->header._present.dev_name_len] = 0; in ethtool_features_get_req_set_header_dev_name()
1530 const char *dev_name) in ethtool_features_get_req_dump_set_header_dev_name() argument
1532 free(req->header.dev_name); in ethtool_features_get_req_dump_set_header_dev_name()
1533 req->header._present.dev_name_len = strlen(dev_name); in ethtool_features_get_req_dump_set_header_dev_name()
1534 req->header.dev_name = malloc(req->header._present.dev_name_len + 1); in ethtool_features_get_req_dump_set_header_dev_name()
1535 memcpy(req->header.dev_name, dev_name, req->header._present.dev_name_len); in ethtool_features_get_req_dump_set_header_dev_name()
1536 req->header.dev_name[req->header._present.dev_name_len] = 0; in ethtool_features_get_req_dump_set_header_dev_name()
1604 const char *dev_name) in ethtool_features_set_req_set_header_dev_name() argument
1606 free(req->header.dev_name); in ethtool_features_set_req_set_header_dev_name()
1607 req->header._present.dev_name_len = strlen(dev_name); in ethtool_features_set_req_set_header_dev_name()
1608 req->header.dev_name = malloc(req->header._present.dev_name_len + 1); in ethtool_features_set_req_set_header_dev_name()
1609 memcpy(req->header.dev_name, dev_name, req->header._present.dev_name_len); in ethtool_features_set_req_set_header_dev_name()
1610 req->header.dev_name[req->header._present.dev_name_len] = 0; in ethtool_features_set_req_set_header_dev_name()
1764 const char *dev_name) in ethtool_privflags_get_req_set_header_dev_name() argument
1766 free(req->header.dev_name); in ethtool_privflags_get_req_set_header_dev_name()
1767 req->header._present.dev_name_len = strlen(dev_name); in ethtool_privflags_get_req_set_header_dev_name()
1768 req->header.dev_name = malloc(req->header._present.dev_name_len + 1); in ethtool_privflags_get_req_set_header_dev_name()
1769 memcpy(req->header.dev_name, dev_name, req->header._present.dev_name_len); in ethtool_privflags_get_req_set_header_dev_name()
1770 req->header.dev_name[req->header._present.dev_name_len] = 0; in ethtool_privflags_get_req_set_header_dev_name()
1827 const char *dev_name) in ethtool_privflags_get_req_dump_set_header_dev_name() argument
1829 free(req->header.dev_name); in ethtool_privflags_get_req_dump_set_header_dev_name()
1830 req->header._present.dev_name_len = strlen(dev_name); in ethtool_privflags_get_req_dump_set_header_dev_name()
1831 req->header.dev_name = malloc(req->header._present.dev_name_len + 1); in ethtool_privflags_get_req_dump_set_header_dev_name()
1832 memcpy(req->header.dev_name, dev_name, req->header._present.dev_name_len); in ethtool_privflags_get_req_dump_set_header_dev_name()
1833 req->header.dev_name[req->header._present.dev_name_len] = 0; in ethtool_privflags_get_req_dump_set_header_dev_name()
1895 const char *dev_name) in ethtool_privflags_set_req_set_header_dev_name() argument
1897 free(req->header.dev_name); in ethtool_privflags_set_req_set_header_dev_name()
1898 req->header._present.dev_name_len = strlen(dev_name); in ethtool_privflags_set_req_set_header_dev_name()
1899 req->header.dev_name = malloc(req->header._present.dev_name_len + 1); in ethtool_privflags_set_req_set_header_dev_name()
1900 memcpy(req->header.dev_name, dev_name, req->header._present.dev_name_len); in ethtool_privflags_set_req_set_header_dev_name()
1901 req->header.dev_name[req->header._present.dev_name_len] = 0; in ethtool_privflags_set_req_set_header_dev_name()
1967 const char *dev_name) in ethtool_rings_get_req_set_header_dev_name() argument
1969 free(req->header.dev_name); in ethtool_rings_get_req_set_header_dev_name()
1970 req->header._present.dev_name_len = strlen(dev_name); in ethtool_rings_get_req_set_header_dev_name()
1971 req->header.dev_name = malloc(req->header._present.dev_name_len + 1); in ethtool_rings_get_req_set_header_dev_name()
1972 memcpy(req->header.dev_name, dev_name, req->header._present.dev_name_len); in ethtool_rings_get_req_set_header_dev_name()
1973 req->header.dev_name[req->header._present.dev_name_len] = 0; in ethtool_rings_get_req_set_header_dev_name()
2056 const char *dev_name) in ethtool_rings_get_req_dump_set_header_dev_name() argument
2058 free(req->header.dev_name); in ethtool_rings_get_req_dump_set_header_dev_name()
2059 req->header._present.dev_name_len = strlen(dev_name); in ethtool_rings_get_req_dump_set_header_dev_name()
2060 req->header.dev_name = malloc(req->header._present.dev_name_len + 1); in ethtool_rings_get_req_dump_set_header_dev_name()
2061 memcpy(req->header.dev_name, dev_name, req->header._present.dev_name_len); in ethtool_rings_get_req_dump_set_header_dev_name()
2062 req->header.dev_name[req->header._present.dev_name_len] = 0; in ethtool_rings_get_req_dump_set_header_dev_name()
2151 const char *dev_name) in ethtool_rings_set_req_set_header_dev_name() argument
2153 free(req->header.dev_name); in ethtool_rings_set_req_set_header_dev_name()
2154 req->header._present.dev_name_len = strlen(dev_name); in ethtool_rings_set_req_set_header_dev_name()
2155 req->header.dev_name = malloc(req->header._present.dev_name_len + 1); in ethtool_rings_set_req_set_header_dev_name()
2156 memcpy(req->header.dev_name, dev_name, req->header._present.dev_name_len); in ethtool_rings_set_req_set_header_dev_name()
2157 req->header.dev_name[req->header._present.dev_name_len] = 0; in ethtool_rings_set_req_set_header_dev_name()
2303 const char *dev_name) in ethtool_channels_get_req_set_header_dev_name() argument
2305 free(req->header.dev_name); in ethtool_channels_get_req_set_header_dev_name()
2306 req->header._present.dev_name_len = strlen(dev_name); in ethtool_channels_get_req_set_header_dev_name()
2307 req->header.dev_name = malloc(req->header._present.dev_name_len + 1); in ethtool_channels_get_req_set_header_dev_name()
2308 memcpy(req->header.dev_name, dev_name, req->header._present.dev_name_len); in ethtool_channels_get_req_set_header_dev_name()
2309 req->header.dev_name[req->header._present.dev_name_len] = 0; in ethtool_channels_get_req_set_header_dev_name()
2379 const char *dev_name) in ethtool_channels_get_req_dump_set_header_dev_name() argument
2381 free(req->header.dev_name); in ethtool_channels_get_req_dump_set_header_dev_name()
2382 req->header._present.dev_name_len = strlen(dev_name); in ethtool_channels_get_req_dump_set_header_dev_name()
2383 req->header.dev_name = malloc(req->header._present.dev_name_len + 1); in ethtool_channels_get_req_dump_set_header_dev_name()
2384 memcpy(req->header.dev_name, dev_name, req->header._present.dev_name_len); in ethtool_channels_get_req_dump_set_header_dev_name()
2385 req->header.dev_name[req->header._present.dev_name_len] = 0; in ethtool_channels_get_req_dump_set_header_dev_name()
2461 const char *dev_name) in ethtool_channels_set_req_set_header_dev_name() argument
2463 free(req->header.dev_name); in ethtool_channels_set_req_set_header_dev_name()
2464 req->header._present.dev_name_len = strlen(dev_name); in ethtool_channels_set_req_set_header_dev_name()
2465 req->header.dev_name = malloc(req->header._present.dev_name_len + 1); in ethtool_channels_set_req_set_header_dev_name()
2466 memcpy(req->header.dev_name, dev_name, req->header._present.dev_name_len); in ethtool_channels_set_req_set_header_dev_name()
2467 req->header.dev_name[req->header._present.dev_name_len] = 0; in ethtool_channels_set_req_set_header_dev_name()
2567 const char *dev_name) in ethtool_coalesce_get_req_set_header_dev_name() argument
2569 free(req->header.dev_name); in ethtool_coalesce_get_req_set_header_dev_name()
2570 req->header._present.dev_name_len = strlen(dev_name); in ethtool_coalesce_get_req_set_header_dev_name()
2571 req->header.dev_name = malloc(req->header._present.dev_name_len + 1); in ethtool_coalesce_get_req_set_header_dev_name()
2572 memcpy(req->header.dev_name, dev_name, req->header._present.dev_name_len); in ethtool_coalesce_get_req_set_header_dev_name()
2573 req->header.dev_name[req->header._present.dev_name_len] = 0; in ethtool_coalesce_get_req_set_header_dev_name()
2681 const char *dev_name) in ethtool_coalesce_get_req_dump_set_header_dev_name() argument
2683 free(req->header.dev_name); in ethtool_coalesce_get_req_dump_set_header_dev_name()
2684 req->header._present.dev_name_len = strlen(dev_name); in ethtool_coalesce_get_req_dump_set_header_dev_name()
2685 req->header.dev_name = malloc(req->header._present.dev_name_len + 1); in ethtool_coalesce_get_req_dump_set_header_dev_name()
2686 memcpy(req->header.dev_name, dev_name, req->header._present.dev_name_len); in ethtool_coalesce_get_req_dump_set_header_dev_name()
2687 req->header.dev_name[req->header._present.dev_name_len] = 0; in ethtool_coalesce_get_req_dump_set_header_dev_name()
2801 const char *dev_name) in ethtool_coalesce_set_req_set_header_dev_name() argument
2803 free(req->header.dev_name); in ethtool_coalesce_set_req_set_header_dev_name()
2804 req->header._present.dev_name_len = strlen(dev_name); in ethtool_coalesce_set_req_set_header_dev_name()
2805 req->header.dev_name = malloc(req->header._present.dev_name_len + 1); in ethtool_coalesce_set_req_set_header_dev_name()
2806 memcpy(req->header.dev_name, dev_name, req->header._present.dev_name_len); in ethtool_coalesce_set_req_set_header_dev_name()
2807 req->header.dev_name[req->header._present.dev_name_len] = 0; in ethtool_coalesce_set_req_set_header_dev_name()
3039 const char *dev_name) in ethtool_pause_get_req_set_header_dev_name() argument
3041 free(req->header.dev_name); in ethtool_pause_get_req_set_header_dev_name()
3042 req->header._present.dev_name_len = strlen(dev_name); in ethtool_pause_get_req_set_header_dev_name()
3043 req->header.dev_name = malloc(req->header._present.dev_name_len + 1); in ethtool_pause_get_req_set_header_dev_name()
3044 memcpy(req->header.dev_name, dev_name, req->header._present.dev_name_len); in ethtool_pause_get_req_set_header_dev_name()
3045 req->header.dev_name[req->header._present.dev_name_len] = 0; in ethtool_pause_get_req_set_header_dev_name()
3108 const char *dev_name) in ethtool_pause_get_req_dump_set_header_dev_name() argument
3110 free(req->header.dev_name); in ethtool_pause_get_req_dump_set_header_dev_name()
3111 req->header._present.dev_name_len = strlen(dev_name); in ethtool_pause_get_req_dump_set_header_dev_name()
3112 req->header.dev_name = malloc(req->header._present.dev_name_len + 1); in ethtool_pause_get_req_dump_set_header_dev_name()
3113 memcpy(req->header.dev_name, dev_name, req->header._present.dev_name_len); in ethtool_pause_get_req_dump_set_header_dev_name()
3114 req->header.dev_name[req->header._present.dev_name_len] = 0; in ethtool_pause_get_req_dump_set_header_dev_name()
3183 const char *dev_name) in ethtool_pause_set_req_set_header_dev_name() argument
3185 free(req->header.dev_name); in ethtool_pause_set_req_set_header_dev_name()
3186 req->header._present.dev_name_len = strlen(dev_name); in ethtool_pause_set_req_set_header_dev_name()
3187 req->header.dev_name = malloc(req->header._present.dev_name_len + 1); in ethtool_pause_set_req_set_header_dev_name()
3188 memcpy(req->header.dev_name, dev_name, req->header._present.dev_name_len); in ethtool_pause_set_req_set_header_dev_name()
3189 req->header.dev_name[req->header._present.dev_name_len] = 0; in ethtool_pause_set_req_set_header_dev_name()
3273 const char *dev_name) in ethtool_eee_get_req_set_header_dev_name() argument
3275 free(req->header.dev_name); in ethtool_eee_get_req_set_header_dev_name()
3276 req->header._present.dev_name_len = strlen(dev_name); in ethtool_eee_get_req_set_header_dev_name()
3277 req->header.dev_name = malloc(req->header._present.dev_name_len + 1); in ethtool_eee_get_req_set_header_dev_name()
3278 memcpy(req->header.dev_name, dev_name, req->header._present.dev_name_len); in ethtool_eee_get_req_set_header_dev_name()
3279 req->header.dev_name[req->header._present.dev_name_len] = 0; in ethtool_eee_get_req_set_header_dev_name()
3344 const char *dev_name) in ethtool_eee_get_req_dump_set_header_dev_name() argument
3346 free(req->header.dev_name); in ethtool_eee_get_req_dump_set_header_dev_name()
3347 req->header._present.dev_name_len = strlen(dev_name); in ethtool_eee_get_req_dump_set_header_dev_name()
3348 req->header.dev_name = malloc(req->header._present.dev_name_len + 1); in ethtool_eee_get_req_dump_set_header_dev_name()
3349 memcpy(req->header.dev_name, dev_name, req->header._present.dev_name_len); in ethtool_eee_get_req_dump_set_header_dev_name()
3350 req->header.dev_name[req->header._present.dev_name_len] = 0; in ethtool_eee_get_req_dump_set_header_dev_name()
3420 const char *dev_name) in ethtool_eee_set_req_set_header_dev_name() argument
3422 free(req->header.dev_name); in ethtool_eee_set_req_set_header_dev_name()
3423 req->header._present.dev_name_len = strlen(dev_name); in ethtool_eee_set_req_set_header_dev_name()
3424 req->header.dev_name = malloc(req->header._present.dev_name_len + 1); in ethtool_eee_set_req_set_header_dev_name()
3425 memcpy(req->header.dev_name, dev_name, req->header._present.dev_name_len); in ethtool_eee_set_req_set_header_dev_name()
3426 req->header.dev_name[req->header._present.dev_name_len] = 0; in ethtool_eee_set_req_set_header_dev_name()
3540 const char *dev_name) in ethtool_tsinfo_get_req_set_header_dev_name() argument
3542 free(req->header.dev_name); in ethtool_tsinfo_get_req_set_header_dev_name()
3543 req->header._present.dev_name_len = strlen(dev_name); in ethtool_tsinfo_get_req_set_header_dev_name()
3544 req->header.dev_name = malloc(req->header._present.dev_name_len + 1); in ethtool_tsinfo_get_req_set_header_dev_name()
3545 memcpy(req->header.dev_name, dev_name, req->header._present.dev_name_len); in ethtool_tsinfo_get_req_set_header_dev_name()
3546 req->header.dev_name[req->header._present.dev_name_len] = 0; in ethtool_tsinfo_get_req_set_header_dev_name()
3607 const char *dev_name) in ethtool_tsinfo_get_req_dump_set_header_dev_name() argument
3609 free(req->header.dev_name); in ethtool_tsinfo_get_req_dump_set_header_dev_name()
3610 req->header._present.dev_name_len = strlen(dev_name); in ethtool_tsinfo_get_req_dump_set_header_dev_name()
3611 req->header.dev_name = malloc(req->header._present.dev_name_len + 1); in ethtool_tsinfo_get_req_dump_set_header_dev_name()
3612 memcpy(req->header.dev_name, dev_name, req->header._present.dev_name_len); in ethtool_tsinfo_get_req_dump_set_header_dev_name()
3613 req->header.dev_name[req->header._present.dev_name_len] = 0; in ethtool_tsinfo_get_req_dump_set_header_dev_name()
3662 const char *dev_name) in ethtool_cable_test_act_req_set_header_dev_name() argument
3664 free(req->header.dev_name); in ethtool_cable_test_act_req_set_header_dev_name()
3665 req->header._present.dev_name_len = strlen(dev_name); in ethtool_cable_test_act_req_set_header_dev_name()
3666 req->header.dev_name = malloc(req->header._present.dev_name_len + 1); in ethtool_cable_test_act_req_set_header_dev_name()
3667 memcpy(req->header.dev_name, dev_name, req->header._present.dev_name_len); in ethtool_cable_test_act_req_set_header_dev_name()
3668 req->header.dev_name[req->header._present.dev_name_len] = 0; in ethtool_cable_test_act_req_set_header_dev_name()
3713 const char *dev_name) in ethtool_cable_test_tdr_act_req_set_header_dev_name() argument
3715 free(req->header.dev_name); in ethtool_cable_test_tdr_act_req_set_header_dev_name()
3716 req->header._present.dev_name_len = strlen(dev_name); in ethtool_cable_test_tdr_act_req_set_header_dev_name()
3717 req->header.dev_name = malloc(req->header._present.dev_name_len + 1); in ethtool_cable_test_tdr_act_req_set_header_dev_name()
3718 memcpy(req->header.dev_name, dev_name, req->header._present.dev_name_len); in ethtool_cable_test_tdr_act_req_set_header_dev_name()
3719 req->header.dev_name[req->header._present.dev_name_len] = 0; in ethtool_cable_test_tdr_act_req_set_header_dev_name()
3763 const char *dev_name) in ethtool_tunnel_info_get_req_set_header_dev_name() argument
3765 free(req->header.dev_name); in ethtool_tunnel_info_get_req_set_header_dev_name()
3766 req->header._present.dev_name_len = strlen(dev_name); in ethtool_tunnel_info_get_req_set_header_dev_name()
3767 req->header.dev_name = malloc(req->header._present.dev_name_len + 1); in ethtool_tunnel_info_get_req_set_header_dev_name()
3768 memcpy(req->header.dev_name, dev_name, req->header._present.dev_name_len); in ethtool_tunnel_info_get_req_set_header_dev_name()
3769 req->header.dev_name[req->header._present.dev_name_len] = 0; in ethtool_tunnel_info_get_req_set_header_dev_name()
3826 const char *dev_name) in ethtool_tunnel_info_get_req_dump_set_header_dev_name() argument
3828 free(req->header.dev_name); in ethtool_tunnel_info_get_req_dump_set_header_dev_name()
3829 req->header._present.dev_name_len = strlen(dev_name); in ethtool_tunnel_info_get_req_dump_set_header_dev_name()
3830 req->header.dev_name = malloc(req->header._present.dev_name_len + 1); in ethtool_tunnel_info_get_req_dump_set_header_dev_name()
3831 memcpy(req->header.dev_name, dev_name, req->header._present.dev_name_len); in ethtool_tunnel_info_get_req_dump_set_header_dev_name()
3832 req->header.dev_name[req->header._present.dev_name_len] = 0; in ethtool_tunnel_info_get_req_dump_set_header_dev_name()
3881 const char *dev_name) in ethtool_fec_get_req_set_header_dev_name() argument
3883 free(req->header.dev_name); in ethtool_fec_get_req_set_header_dev_name()
3884 req->header._present.dev_name_len = strlen(dev_name); in ethtool_fec_get_req_set_header_dev_name()
3885 req->header.dev_name = malloc(req->header._present.dev_name_len + 1); in ethtool_fec_get_req_set_header_dev_name()
3886 memcpy(req->header.dev_name, dev_name, req->header._present.dev_name_len); in ethtool_fec_get_req_set_header_dev_name()
3887 req->header.dev_name[req->header._present.dev_name_len] = 0; in ethtool_fec_get_req_set_header_dev_name()
3948 const char *dev_name) in ethtool_fec_get_req_dump_set_header_dev_name() argument
3950 free(req->header.dev_name); in ethtool_fec_get_req_dump_set_header_dev_name()
3951 req->header._present.dev_name_len = strlen(dev_name); in ethtool_fec_get_req_dump_set_header_dev_name()
3952 req->header.dev_name = malloc(req->header._present.dev_name_len + 1); in ethtool_fec_get_req_dump_set_header_dev_name()
3953 memcpy(req->header.dev_name, dev_name, req->header._present.dev_name_len); in ethtool_fec_get_req_dump_set_header_dev_name()
3954 req->header.dev_name[req->header._present.dev_name_len] = 0; in ethtool_fec_get_req_dump_set_header_dev_name()
4020 const char *dev_name) in ethtool_fec_set_req_set_header_dev_name() argument
4022 free(req->header.dev_name); in ethtool_fec_set_req_set_header_dev_name()
4023 req->header._present.dev_name_len = strlen(dev_name); in ethtool_fec_set_req_set_header_dev_name()
4024 req->header.dev_name = malloc(req->header._present.dev_name_len + 1); in ethtool_fec_set_req_set_header_dev_name()
4025 memcpy(req->header.dev_name, dev_name, req->header._present.dev_name_len); in ethtool_fec_set_req_set_header_dev_name()
4026 req->header.dev_name[req->header._present.dev_name_len] = 0; in ethtool_fec_set_req_set_header_dev_name()
4131 const char *dev_name) in ethtool_module_eeprom_get_req_set_header_dev_name() argument
4133 free(req->header.dev_name); in ethtool_module_eeprom_get_req_set_header_dev_name()
4134 req->header._present.dev_name_len = strlen(dev_name); in ethtool_module_eeprom_get_req_set_header_dev_name()
4135 req->header.dev_name = malloc(req->header._present.dev_name_len + 1); in ethtool_module_eeprom_get_req_set_header_dev_name()
4136 memcpy(req->header.dev_name, dev_name, req->header._present.dev_name_len); in ethtool_module_eeprom_get_req_set_header_dev_name()
4137 req->header.dev_name[req->header._present.dev_name_len] = 0; in ethtool_module_eeprom_get_req_set_header_dev_name()
4205 const char *dev_name) in ethtool_module_eeprom_get_req_dump_set_header_dev_name() argument
4207 free(req->header.dev_name); in ethtool_module_eeprom_get_req_dump_set_header_dev_name()
4208 req->header._present.dev_name_len = strlen(dev_name); in ethtool_module_eeprom_get_req_dump_set_header_dev_name()
4209 req->header.dev_name = malloc(req->header._present.dev_name_len + 1); in ethtool_module_eeprom_get_req_dump_set_header_dev_name()
4210 memcpy(req->header.dev_name, dev_name, req->header._present.dev_name_len); in ethtool_module_eeprom_get_req_dump_set_header_dev_name()
4211 req->header.dev_name[req->header._present.dev_name_len] = 0; in ethtool_module_eeprom_get_req_dump_set_header_dev_name()
4261 const char *dev_name) in ethtool_phc_vclocks_get_req_set_header_dev_name() argument
4263 free(req->header.dev_name); in ethtool_phc_vclocks_get_req_set_header_dev_name()
4264 req->header._present.dev_name_len = strlen(dev_name); in ethtool_phc_vclocks_get_req_set_header_dev_name()
4265 req->header.dev_name = malloc(req->header._present.dev_name_len + 1); in ethtool_phc_vclocks_get_req_set_header_dev_name()
4266 memcpy(req->header.dev_name, dev_name, req->header._present.dev_name_len); in ethtool_phc_vclocks_get_req_set_header_dev_name()
4267 req->header.dev_name[req->header._present.dev_name_len] = 0; in ethtool_phc_vclocks_get_req_set_header_dev_name()
4324 const char *dev_name) in ethtool_phc_vclocks_get_req_dump_set_header_dev_name() argument
4326 free(req->header.dev_name); in ethtool_phc_vclocks_get_req_dump_set_header_dev_name()
4327 req->header._present.dev_name_len = strlen(dev_name); in ethtool_phc_vclocks_get_req_dump_set_header_dev_name()
4328 req->header.dev_name = malloc(req->header._present.dev_name_len + 1); in ethtool_phc_vclocks_get_req_dump_set_header_dev_name()
4329 memcpy(req->header.dev_name, dev_name, req->header._present.dev_name_len); in ethtool_phc_vclocks_get_req_dump_set_header_dev_name()
4330 req->header.dev_name[req->header._present.dev_name_len] = 0; in ethtool_phc_vclocks_get_req_dump_set_header_dev_name()
4379 const char *dev_name) in ethtool_module_get_req_set_header_dev_name() argument
4381 free(req->header.dev_name); in ethtool_module_get_req_set_header_dev_name()
4382 req->header._present.dev_name_len = strlen(dev_name); in ethtool_module_get_req_set_header_dev_name()
4383 req->header.dev_name = malloc(req->header._present.dev_name_len + 1); in ethtool_module_get_req_set_header_dev_name()
4384 memcpy(req->header.dev_name, dev_name, req->header._present.dev_name_len); in ethtool_module_get_req_set_header_dev_name()
4385 req->header.dev_name[req->header._present.dev_name_len] = 0; in ethtool_module_get_req_set_header_dev_name()
4442 const char *dev_name) in ethtool_module_get_req_dump_set_header_dev_name() argument
4444 free(req->header.dev_name); in ethtool_module_get_req_dump_set_header_dev_name()
4445 req->header._present.dev_name_len = strlen(dev_name); in ethtool_module_get_req_dump_set_header_dev_name()
4446 req->header.dev_name = malloc(req->header._present.dev_name_len + 1); in ethtool_module_get_req_dump_set_header_dev_name()
4447 memcpy(req->header.dev_name, dev_name, req->header._present.dev_name_len); in ethtool_module_get_req_dump_set_header_dev_name()
4448 req->header.dev_name[req->header._present.dev_name_len] = 0; in ethtool_module_get_req_dump_set_header_dev_name()
4511 const char *dev_name) in ethtool_module_set_req_set_header_dev_name() argument
4513 free(req->header.dev_name); in ethtool_module_set_req_set_header_dev_name()
4514 req->header._present.dev_name_len = strlen(dev_name); in ethtool_module_set_req_set_header_dev_name()
4515 req->header.dev_name = malloc(req->header._present.dev_name_len + 1); in ethtool_module_set_req_set_header_dev_name()
4516 memcpy(req->header.dev_name, dev_name, req->header._present.dev_name_len); in ethtool_module_set_req_set_header_dev_name()
4517 req->header.dev_name[req->header._present.dev_name_len] = 0; in ethtool_module_set_req_set_header_dev_name()
4573 const char *dev_name) in ethtool_pse_get_req_set_header_dev_name() argument
4575 free(req->header.dev_name); in ethtool_pse_get_req_set_header_dev_name()
4576 req->header._present.dev_name_len = strlen(dev_name); in ethtool_pse_get_req_set_header_dev_name()
4577 req->header.dev_name = malloc(req->header._present.dev_name_len + 1); in ethtool_pse_get_req_set_header_dev_name()
4578 memcpy(req->header.dev_name, dev_name, req->header._present.dev_name_len); in ethtool_pse_get_req_set_header_dev_name()
4579 req->header.dev_name[req->header._present.dev_name_len] = 0; in ethtool_pse_get_req_set_header_dev_name()
4638 const char *dev_name) in ethtool_pse_get_req_dump_set_header_dev_name() argument
4640 free(req->header.dev_name); in ethtool_pse_get_req_dump_set_header_dev_name()
4641 req->header._present.dev_name_len = strlen(dev_name); in ethtool_pse_get_req_dump_set_header_dev_name()
4642 req->header.dev_name = malloc(req->header._present.dev_name_len + 1); in ethtool_pse_get_req_dump_set_header_dev_name()
4643 memcpy(req->header.dev_name, dev_name, req->header._present.dev_name_len); in ethtool_pse_get_req_dump_set_header_dev_name()
4644 req->header.dev_name[req->header._present.dev_name_len] = 0; in ethtool_pse_get_req_dump_set_header_dev_name()
4697 const char *dev_name) in ethtool_pse_set_req_set_header_dev_name() argument
4699 free(req->header.dev_name); in ethtool_pse_set_req_set_header_dev_name()
4700 req->header._present.dev_name_len = strlen(dev_name); in ethtool_pse_set_req_set_header_dev_name()
4701 req->header.dev_name = malloc(req->header._present.dev_name_len + 1); in ethtool_pse_set_req_set_header_dev_name()
4702 memcpy(req->header.dev_name, dev_name, req->header._present.dev_name_len); in ethtool_pse_set_req_set_header_dev_name()
4703 req->header.dev_name[req->header._present.dev_name_len] = 0; in ethtool_pse_set_req_set_header_dev_name()
4766 const char *dev_name) in ethtool_rss_get_req_set_header_dev_name() argument
4768 free(req->header.dev_name); in ethtool_rss_get_req_set_header_dev_name()
4769 req->header._present.dev_name_len = strlen(dev_name); in ethtool_rss_get_req_set_header_dev_name()
4770 req->header.dev_name = malloc(req->header._present.dev_name_len + 1); in ethtool_rss_get_req_set_header_dev_name()
4771 memcpy(req->header.dev_name, dev_name, req->header._present.dev_name_len); in ethtool_rss_get_req_set_header_dev_name()
4772 req->header.dev_name[req->header._present.dev_name_len] = 0; in ethtool_rss_get_req_set_header_dev_name()
4833 const char *dev_name) in ethtool_rss_get_req_dump_set_header_dev_name() argument
4835 free(req->header.dev_name); in ethtool_rss_get_req_dump_set_header_dev_name()
4836 req->header._present.dev_name_len = strlen(dev_name); in ethtool_rss_get_req_dump_set_header_dev_name()
4837 req->header.dev_name = malloc(req->header._present.dev_name_len + 1); in ethtool_rss_get_req_dump_set_header_dev_name()
4838 memcpy(req->header.dev_name, dev_name, req->header._present.dev_name_len); in ethtool_rss_get_req_dump_set_header_dev_name()
4839 req->header.dev_name[req->header._present.dev_name_len] = 0; in ethtool_rss_get_req_dump_set_header_dev_name()
4887 const char *dev_name) in ethtool_plca_get_cfg_req_set_header_dev_name() argument
4889 free(req->header.dev_name); in ethtool_plca_get_cfg_req_set_header_dev_name()
4890 req->header._present.dev_name_len = strlen(dev_name); in ethtool_plca_get_cfg_req_set_header_dev_name()
4891 req->header.dev_name = malloc(req->header._present.dev_name_len + 1); in ethtool_plca_get_cfg_req_set_header_dev_name()
4892 memcpy(req->header.dev_name, dev_name, req->header._present.dev_name_len); in ethtool_plca_get_cfg_req_set_header_dev_name()
4893 req->header.dev_name[req->header._present.dev_name_len] = 0; in ethtool_plca_get_cfg_req_set_header_dev_name()
4963 const char *dev_name) in ethtool_plca_get_cfg_req_dump_set_header_dev_name() argument
4965 free(req->header.dev_name); in ethtool_plca_get_cfg_req_dump_set_header_dev_name()
4966 req->header._present.dev_name_len = strlen(dev_name); in ethtool_plca_get_cfg_req_dump_set_header_dev_name()
4967 req->header.dev_name = malloc(req->header._present.dev_name_len + 1); in ethtool_plca_get_cfg_req_dump_set_header_dev_name()
4968 memcpy(req->header.dev_name, dev_name, req->header._present.dev_name_len); in ethtool_plca_get_cfg_req_dump_set_header_dev_name()
4969 req->header.dev_name[req->header._present.dev_name_len] = 0; in ethtool_plca_get_cfg_req_dump_set_header_dev_name()
5045 const char *dev_name) in ethtool_plca_set_cfg_req_set_header_dev_name() argument
5047 free(req->header.dev_name); in ethtool_plca_set_cfg_req_set_header_dev_name()
5048 req->header._present.dev_name_len = strlen(dev_name); in ethtool_plca_set_cfg_req_set_header_dev_name()
5049 req->header.dev_name = malloc(req->header._present.dev_name_len + 1); in ethtool_plca_set_cfg_req_set_header_dev_name()
5050 memcpy(req->header.dev_name, dev_name, req->header._present.dev_name_len); in ethtool_plca_set_cfg_req_set_header_dev_name()
5051 req->header.dev_name[req->header._present.dev_name_len] = 0; in ethtool_plca_set_cfg_req_set_header_dev_name()
5151 const char *dev_name) in ethtool_plca_get_status_req_set_header_dev_name() argument
5153 free(req->header.dev_name); in ethtool_plca_get_status_req_set_header_dev_name()
5154 req->header._present.dev_name_len = strlen(dev_name); in ethtool_plca_get_status_req_set_header_dev_name()
5155 req->header.dev_name = malloc(req->header._present.dev_name_len + 1); in ethtool_plca_get_status_req_set_header_dev_name()
5156 memcpy(req->header.dev_name, dev_name, req->header._present.dev_name_len); in ethtool_plca_get_status_req_set_header_dev_name()
5157 req->header.dev_name[req->header._present.dev_name_len] = 0; in ethtool_plca_get_status_req_set_header_dev_name()
5228 const char *dev_name) in ethtool_plca_get_status_req_dump_set_header_dev_name() argument
5230 free(req->header.dev_name); in ethtool_plca_get_status_req_dump_set_header_dev_name()
5231 req->header._present.dev_name_len = strlen(dev_name); in ethtool_plca_get_status_req_dump_set_header_dev_name()
5232 req->header.dev_name = malloc(req->header._present.dev_name_len + 1); in ethtool_plca_get_status_req_dump_set_header_dev_name()
5233 memcpy(req->header.dev_name, dev_name, req->header._present.dev_name_len); in ethtool_plca_get_status_req_dump_set_header_dev_name()
5234 req->header.dev_name[req->header._present.dev_name_len] = 0; in ethtool_plca_get_status_req_dump_set_header_dev_name()
5283 const char *dev_name) in ethtool_mm_get_req_set_header_dev_name() argument
5285 free(req->header.dev_name); in ethtool_mm_get_req_set_header_dev_name()
5286 req->header._present.dev_name_len = strlen(dev_name); in ethtool_mm_get_req_set_header_dev_name()
5287 req->header.dev_name = malloc(req->header._present.dev_name_len + 1); in ethtool_mm_get_req_set_header_dev_name()
5288 memcpy(req->header.dev_name, dev_name, req->header._present.dev_name_len); in ethtool_mm_get_req_set_header_dev_name()
5289 req->header.dev_name[req->header._present.dev_name_len] = 0; in ethtool_mm_get_req_set_header_dev_name()
5360 const char *dev_name) in ethtool_mm_get_req_dump_set_header_dev_name() argument
5362 free(req->header.dev_name); in ethtool_mm_get_req_dump_set_header_dev_name()
5363 req->header._present.dev_name_len = strlen(dev_name); in ethtool_mm_get_req_dump_set_header_dev_name()
5364 req->header.dev_name = malloc(req->header._present.dev_name_len + 1); in ethtool_mm_get_req_dump_set_header_dev_name()
5365 memcpy(req->header.dev_name, dev_name, req->header._present.dev_name_len); in ethtool_mm_get_req_dump_set_header_dev_name()
5366 req->header.dev_name[req->header._present.dev_name_len] = 0; in ethtool_mm_get_req_dump_set_header_dev_name()
5434 const char *dev_name) in ethtool_mm_set_req_set_header_dev_name() argument
5436 free(req->header.dev_name); in ethtool_mm_set_req_set_header_dev_name()
5437 req->header._present.dev_name_len = strlen(dev_name); in ethtool_mm_set_req_set_header_dev_name()
5438 req->header.dev_name = malloc(req->header._present.dev_name_len + 1); in ethtool_mm_set_req_set_header_dev_name()
5439 memcpy(req->header.dev_name, dev_name, req->header._present.dev_name_len); in ethtool_mm_set_req_set_header_dev_name()
5440 req->header.dev_name[req->header._present.dev_name_len] = 0; in ethtool_mm_set_req_set_header_dev_name()