Lines Matching refs:header
214 __u32 header:1; member
219 struct ethtool_header header; member
233 req->_present.header = 1; in ethtool_strset_get_req_set_header_dev_index()
234 req->header._present.dev_index = 1; in ethtool_strset_get_req_set_header_dev_index()
235 req->header.dev_index = dev_index; in ethtool_strset_get_req_set_header_dev_index()
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()
251 req->_present.header = 1; in ethtool_strset_get_req_set_header_flags()
252 req->header._present.flags = 1; in ethtool_strset_get_req_set_header_flags()
253 req->header.flags = flags; in ethtool_strset_get_req_set_header_flags()
272 __u32 header:1; member
276 struct ethtool_header header; member
291 __u32 header:1; member
296 struct ethtool_header header; member
311 req->_present.header = 1; in ethtool_strset_get_req_dump_set_header_dev_index()
312 req->header._present.dev_index = 1; in ethtool_strset_get_req_dump_set_header_dev_index()
313 req->header.dev_index = dev_index; in ethtool_strset_get_req_dump_set_header_dev_index()
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()
329 req->_present.header = 1; in ethtool_strset_get_req_dump_set_header_flags()
330 req->header._present.flags = 1; in ethtool_strset_get_req_dump_set_header_flags()
331 req->header.flags = flags; in ethtool_strset_get_req_dump_set_header_flags()
363 __u32 header:1; member
366 struct ethtool_header header; member
380 req->_present.header = 1; in ethtool_linkinfo_get_req_set_header_dev_index()
381 req->header._present.dev_index = 1; in ethtool_linkinfo_get_req_set_header_dev_index()
382 req->header.dev_index = dev_index; in ethtool_linkinfo_get_req_set_header_dev_index()
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()
398 req->_present.header = 1; in ethtool_linkinfo_get_req_set_header_flags()
399 req->header._present.flags = 1; in ethtool_linkinfo_get_req_set_header_flags()
400 req->header.flags = flags; in ethtool_linkinfo_get_req_set_header_flags()
405 __u32 header:1; member
413 struct ethtool_header header; member
432 __u32 header:1; member
435 struct ethtool_header header; member
450 req->_present.header = 1; in ethtool_linkinfo_get_req_dump_set_header_dev_index()
451 req->header._present.dev_index = 1; in ethtool_linkinfo_get_req_dump_set_header_dev_index()
452 req->header.dev_index = dev_index; in ethtool_linkinfo_get_req_dump_set_header_dev_index()
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()
468 req->_present.header = 1; in ethtool_linkinfo_get_req_dump_set_header_flags()
469 req->header._present.flags = 1; in ethtool_linkinfo_get_req_dump_set_header_flags()
470 req->header.flags = flags; in ethtool_linkinfo_get_req_dump_set_header_flags()
499 __u32 header:1; member
507 struct ethtool_header header; member
526 req->_present.header = 1; in ethtool_linkinfo_set_req_set_header_dev_index()
527 req->header._present.dev_index = 1; in ethtool_linkinfo_set_req_set_header_dev_index()
528 req->header.dev_index = dev_index; in ethtool_linkinfo_set_req_set_header_dev_index()
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()
544 req->_present.header = 1; in ethtool_linkinfo_set_req_set_header_flags()
545 req->header._present.flags = 1; in ethtool_linkinfo_set_req_set_header_flags()
546 req->header.flags = flags; in ethtool_linkinfo_set_req_set_header_flags()
594 __u32 header:1; member
597 struct ethtool_header header; member
611 req->_present.header = 1; in ethtool_linkmodes_get_req_set_header_dev_index()
612 req->header._present.dev_index = 1; in ethtool_linkmodes_get_req_set_header_dev_index()
613 req->header.dev_index = dev_index; in ethtool_linkmodes_get_req_set_header_dev_index()
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()
629 req->_present.header = 1; in ethtool_linkmodes_get_req_set_header_flags()
630 req->header._present.flags = 1; in ethtool_linkmodes_get_req_set_header_flags()
631 req->header.flags = flags; in ethtool_linkmodes_get_req_set_header_flags()
636 __u32 header:1; member
648 struct ethtool_header header; member
672 __u32 header:1; member
675 struct ethtool_header header; member
690 req->_present.header = 1; in ethtool_linkmodes_get_req_dump_set_header_dev_index()
691 req->header._present.dev_index = 1; in ethtool_linkmodes_get_req_dump_set_header_dev_index()
692 req->header.dev_index = dev_index; in ethtool_linkmodes_get_req_dump_set_header_dev_index()
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()
708 req->_present.header = 1; in ethtool_linkmodes_get_req_dump_set_header_flags()
709 req->header._present.flags = 1; in ethtool_linkmodes_get_req_dump_set_header_flags()
710 req->header.flags = flags; in ethtool_linkmodes_get_req_dump_set_header_flags()
739 __u32 header:1; member
751 struct ethtool_header header; member
774 req->_present.header = 1; in ethtool_linkmodes_set_req_set_header_dev_index()
775 req->header._present.dev_index = 1; in ethtool_linkmodes_set_req_set_header_dev_index()
776 req->header.dev_index = dev_index; in ethtool_linkmodes_set_req_set_header_dev_index()
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()
792 req->_present.header = 1; in ethtool_linkmodes_set_req_set_header_flags()
793 req->header._present.flags = 1; in ethtool_linkmodes_set_req_set_header_flags()
794 req->header.flags = flags; in ethtool_linkmodes_set_req_set_header_flags()
902 __u32 header:1; member
905 struct ethtool_header header; member
919 req->_present.header = 1; in ethtool_linkstate_get_req_set_header_dev_index()
920 req->header._present.dev_index = 1; in ethtool_linkstate_get_req_set_header_dev_index()
921 req->header.dev_index = dev_index; in ethtool_linkstate_get_req_set_header_dev_index()
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()
937 req->_present.header = 1; in ethtool_linkstate_get_req_set_header_flags()
938 req->header._present.flags = 1; in ethtool_linkstate_get_req_set_header_flags()
939 req->header.flags = flags; in ethtool_linkstate_get_req_set_header_flags()
944 __u32 header:1; member
953 struct ethtool_header header; member
974 __u32 header:1; member
977 struct ethtool_header header; member
992 req->_present.header = 1; in ethtool_linkstate_get_req_dump_set_header_dev_index()
993 req->header._present.dev_index = 1; in ethtool_linkstate_get_req_dump_set_header_dev_index()
994 req->header.dev_index = dev_index; in ethtool_linkstate_get_req_dump_set_header_dev_index()
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()
1010 req->_present.header = 1; in ethtool_linkstate_get_req_dump_set_header_flags()
1011 req->header._present.flags = 1; in ethtool_linkstate_get_req_dump_set_header_flags()
1012 req->header.flags = flags; in ethtool_linkstate_get_req_dump_set_header_flags()
1030 __u32 header:1; member
1033 struct ethtool_header header; member
1046 req->_present.header = 1; in ethtool_debug_get_req_set_header_dev_index()
1047 req->header._present.dev_index = 1; in ethtool_debug_get_req_set_header_dev_index()
1048 req->header.dev_index = dev_index; in ethtool_debug_get_req_set_header_dev_index()
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()
1064 req->_present.header = 1; in ethtool_debug_get_req_set_header_flags()
1065 req->header._present.flags = 1; in ethtool_debug_get_req_set_header_flags()
1066 req->header.flags = flags; in ethtool_debug_get_req_set_header_flags()
1071 __u32 header:1; member
1075 struct ethtool_header header; member
1090 __u32 header:1; member
1093 struct ethtool_header header; member
1107 req->_present.header = 1; in ethtool_debug_get_req_dump_set_header_dev_index()
1108 req->header._present.dev_index = 1; in ethtool_debug_get_req_dump_set_header_dev_index()
1109 req->header.dev_index = dev_index; in ethtool_debug_get_req_dump_set_header_dev_index()
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()
1125 req->_present.header = 1; in ethtool_debug_get_req_dump_set_header_flags()
1126 req->header._present.flags = 1; in ethtool_debug_get_req_dump_set_header_flags()
1127 req->header.flags = flags; in ethtool_debug_get_req_dump_set_header_flags()
1156 __u32 header:1; member
1160 struct ethtool_header header; member
1174 req->_present.header = 1; in ethtool_debug_set_req_set_header_dev_index()
1175 req->header._present.dev_index = 1; in ethtool_debug_set_req_set_header_dev_index()
1176 req->header.dev_index = dev_index; in ethtool_debug_set_req_set_header_dev_index()
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()
1192 req->_present.header = 1; in ethtool_debug_set_req_set_header_flags()
1193 req->header._present.flags = 1; in ethtool_debug_set_req_set_header_flags()
1194 req->header.flags = flags; in ethtool_debug_set_req_set_header_flags()
1229 __u32 header:1; member
1232 struct ethtool_header header; member
1245 req->_present.header = 1; in ethtool_wol_get_req_set_header_dev_index()
1246 req->header._present.dev_index = 1; in ethtool_wol_get_req_set_header_dev_index()
1247 req->header.dev_index = dev_index; in ethtool_wol_get_req_set_header_dev_index()
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()
1263 req->_present.header = 1; in ethtool_wol_get_req_set_header_flags()
1264 req->header._present.flags = 1; in ethtool_wol_get_req_set_header_flags()
1265 req->header.flags = flags; in ethtool_wol_get_req_set_header_flags()
1270 __u32 header:1; member
1275 struct ethtool_header header; member
1291 __u32 header:1; member
1294 struct ethtool_header header; member
1308 req->_present.header = 1; in ethtool_wol_get_req_dump_set_header_dev_index()
1309 req->header._present.dev_index = 1; in ethtool_wol_get_req_dump_set_header_dev_index()
1310 req->header.dev_index = dev_index; in ethtool_wol_get_req_dump_set_header_dev_index()
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()
1326 req->_present.header = 1; in ethtool_wol_get_req_dump_set_header_flags()
1327 req->header._present.flags = 1; in ethtool_wol_get_req_dump_set_header_flags()
1328 req->header.flags = flags; in ethtool_wol_get_req_dump_set_header_flags()
1356 __u32 header:1; member
1361 struct ethtool_header header; member
1376 req->_present.header = 1; in ethtool_wol_set_req_set_header_dev_index()
1377 req->header._present.dev_index = 1; in ethtool_wol_set_req_set_header_dev_index()
1378 req->header.dev_index = dev_index; in ethtool_wol_set_req_set_header_dev_index()
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()
1394 req->_present.header = 1; in ethtool_wol_set_req_set_header_flags()
1395 req->header._present.flags = 1; in ethtool_wol_set_req_set_header_flags()
1396 req->header.flags = flags; in ethtool_wol_set_req_set_header_flags()
1439 __u32 header:1; member
1442 struct ethtool_header header; member
1456 req->_present.header = 1; in ethtool_features_get_req_set_header_dev_index()
1457 req->header._present.dev_index = 1; in ethtool_features_get_req_set_header_dev_index()
1458 req->header.dev_index = dev_index; in ethtool_features_get_req_set_header_dev_index()
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()
1474 req->_present.header = 1; in ethtool_features_get_req_set_header_flags()
1475 req->header._present.flags = 1; in ethtool_features_get_req_set_header_flags()
1476 req->header.flags = flags; in ethtool_features_get_req_set_header_flags()
1481 __u32 header:1; member
1488 struct ethtool_header header; member
1506 __u32 header:1; member
1509 struct ethtool_header header; member
1524 req->_present.header = 1; in ethtool_features_get_req_dump_set_header_dev_index()
1525 req->header._present.dev_index = 1; in ethtool_features_get_req_dump_set_header_dev_index()
1526 req->header.dev_index = dev_index; in ethtool_features_get_req_dump_set_header_dev_index()
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()
1542 req->_present.header = 1; in ethtool_features_get_req_dump_set_header_flags()
1543 req->header._present.flags = 1; in ethtool_features_get_req_dump_set_header_flags()
1544 req->header.flags = flags; in ethtool_features_get_req_dump_set_header_flags()
1573 __u32 header:1; member
1580 struct ethtool_header header; member
1598 req->_present.header = 1; in ethtool_features_set_req_set_header_dev_index()
1599 req->header._present.dev_index = 1; in ethtool_features_set_req_set_header_dev_index()
1600 req->header.dev_index = dev_index; in ethtool_features_set_req_set_header_dev_index()
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()
1616 req->_present.header = 1; in ethtool_features_set_req_set_header_flags()
1617 req->header._present.flags = 1; in ethtool_features_set_req_set_header_flags()
1618 req->header.flags = flags; in ethtool_features_set_req_set_header_flags()
1715 __u32 header:1; member
1722 struct ethtool_header header; member
1741 __u32 header:1; member
1744 struct ethtool_header header; member
1758 req->_present.header = 1; in ethtool_privflags_get_req_set_header_dev_index()
1759 req->header._present.dev_index = 1; in ethtool_privflags_get_req_set_header_dev_index()
1760 req->header.dev_index = dev_index; in ethtool_privflags_get_req_set_header_dev_index()
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()
1776 req->_present.header = 1; in ethtool_privflags_get_req_set_header_flags()
1777 req->header._present.flags = 1; in ethtool_privflags_get_req_set_header_flags()
1778 req->header.flags = flags; in ethtool_privflags_get_req_set_header_flags()
1783 __u32 header:1; member
1787 struct ethtool_header header; member
1803 __u32 header:1; member
1806 struct ethtool_header header; member
1821 req->_present.header = 1; in ethtool_privflags_get_req_dump_set_header_dev_index()
1822 req->header._present.dev_index = 1; in ethtool_privflags_get_req_dump_set_header_dev_index()
1823 req->header.dev_index = dev_index; in ethtool_privflags_get_req_dump_set_header_dev_index()
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()
1839 req->_present.header = 1; in ethtool_privflags_get_req_dump_set_header_flags()
1840 req->header._present.flags = 1; in ethtool_privflags_get_req_dump_set_header_flags()
1841 req->header.flags = flags; in ethtool_privflags_get_req_dump_set_header_flags()
1870 __u32 header:1; member
1874 struct ethtool_header header; member
1889 req->_present.header = 1; in ethtool_privflags_set_req_set_header_dev_index()
1890 req->header._present.dev_index = 1; in ethtool_privflags_set_req_set_header_dev_index()
1891 req->header.dev_index = dev_index; in ethtool_privflags_set_req_set_header_dev_index()
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()
1907 req->_present.header = 1; in ethtool_privflags_set_req_set_header_flags()
1908 req->header._present.flags = 1; in ethtool_privflags_set_req_set_header_flags()
1909 req->header.flags = flags; in ethtool_privflags_set_req_set_header_flags()
1945 __u32 header:1; member
1948 struct ethtool_header header; member
1961 req->_present.header = 1; in ethtool_rings_get_req_set_header_dev_index()
1962 req->header._present.dev_index = 1; in ethtool_rings_get_req_set_header_dev_index()
1963 req->header.dev_index = dev_index; in ethtool_rings_get_req_set_header_dev_index()
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()
1979 req->_present.header = 1; in ethtool_rings_get_req_set_header_flags()
1980 req->header._present.flags = 1; in ethtool_rings_get_req_set_header_flags()
1981 req->header.flags = flags; in ethtool_rings_get_req_set_header_flags()
1986 __u32 header:1; member
2004 struct ethtool_header header; member
2033 __u32 header:1; member
2036 struct ethtool_header header; member
2050 req->_present.header = 1; in ethtool_rings_get_req_dump_set_header_dev_index()
2051 req->header._present.dev_index = 1; in ethtool_rings_get_req_dump_set_header_dev_index()
2052 req->header.dev_index = dev_index; in ethtool_rings_get_req_dump_set_header_dev_index()
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()
2068 req->_present.header = 1; in ethtool_rings_get_req_dump_set_header_flags()
2069 req->header._present.flags = 1; in ethtool_rings_get_req_dump_set_header_flags()
2070 req->header.flags = flags; in ethtool_rings_get_req_dump_set_header_flags()
2099 __u32 header:1; member
2117 struct ethtool_header header; member
2145 req->_present.header = 1; in ethtool_rings_set_req_set_header_dev_index()
2146 req->header._present.dev_index = 1; in ethtool_rings_set_req_set_header_dev_index()
2147 req->header.dev_index = dev_index; in ethtool_rings_set_req_set_header_dev_index()
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()
2163 req->_present.header = 1; in ethtool_rings_set_req_set_header_flags()
2164 req->header._present.flags = 1; in ethtool_rings_set_req_set_header_flags()
2165 req->header.flags = flags; in ethtool_rings_set_req_set_header_flags()
2280 __u32 header:1; member
2283 struct ethtool_header header; member
2297 req->_present.header = 1; in ethtool_channels_get_req_set_header_dev_index()
2298 req->header._present.dev_index = 1; in ethtool_channels_get_req_set_header_dev_index()
2299 req->header.dev_index = dev_index; in ethtool_channels_get_req_set_header_dev_index()
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()
2315 req->_present.header = 1; in ethtool_channels_get_req_set_header_flags()
2316 req->header._present.flags = 1; in ethtool_channels_get_req_set_header_flags()
2317 req->header.flags = flags; in ethtool_channels_get_req_set_header_flags()
2322 __u32 header:1; member
2333 struct ethtool_header header; member
2355 __u32 header:1; member
2358 struct ethtool_header header; member
2373 req->_present.header = 1; in ethtool_channels_get_req_dump_set_header_dev_index()
2374 req->header._present.dev_index = 1; in ethtool_channels_get_req_dump_set_header_dev_index()
2375 req->header.dev_index = dev_index; in ethtool_channels_get_req_dump_set_header_dev_index()
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()
2391 req->_present.header = 1; in ethtool_channels_get_req_dump_set_header_flags()
2392 req->header._present.flags = 1; in ethtool_channels_get_req_dump_set_header_flags()
2393 req->header.flags = flags; in ethtool_channels_get_req_dump_set_header_flags()
2422 __u32 header:1; member
2433 struct ethtool_header header; member
2455 req->_present.header = 1; in ethtool_channels_set_req_set_header_dev_index()
2456 req->header._present.dev_index = 1; in ethtool_channels_set_req_set_header_dev_index()
2457 req->header.dev_index = dev_index; in ethtool_channels_set_req_set_header_dev_index()
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()
2473 req->_present.header = 1; in ethtool_channels_set_req_set_header_flags()
2474 req->header._present.flags = 1; in ethtool_channels_set_req_set_header_flags()
2475 req->header.flags = flags; in ethtool_channels_set_req_set_header_flags()
2544 __u32 header:1; member
2547 struct ethtool_header header; member
2561 req->_present.header = 1; in ethtool_coalesce_get_req_set_header_dev_index()
2562 req->header._present.dev_index = 1; in ethtool_coalesce_get_req_set_header_dev_index()
2563 req->header.dev_index = dev_index; in ethtool_coalesce_get_req_set_header_dev_index()
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()
2579 req->_present.header = 1; in ethtool_coalesce_get_req_set_header_flags()
2580 req->header._present.flags = 1; in ethtool_coalesce_get_req_set_header_flags()
2581 req->header.flags = flags; in ethtool_coalesce_get_req_set_header_flags()
2586 __u32 header:1; member
2616 struct ethtool_header header; member
2657 __u32 header:1; member
2660 struct ethtool_header header; member
2675 req->_present.header = 1; in ethtool_coalesce_get_req_dump_set_header_dev_index()
2676 req->header._present.dev_index = 1; in ethtool_coalesce_get_req_dump_set_header_dev_index()
2677 req->header.dev_index = dev_index; in ethtool_coalesce_get_req_dump_set_header_dev_index()
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()
2693 req->_present.header = 1; in ethtool_coalesce_get_req_dump_set_header_flags()
2694 req->header._present.flags = 1; in ethtool_coalesce_get_req_dump_set_header_flags()
2695 req->header.flags = flags; in ethtool_coalesce_get_req_dump_set_header_flags()
2724 __u32 header:1; member
2754 struct ethtool_header header; member
2795 req->_present.header = 1; in ethtool_coalesce_set_req_set_header_dev_index()
2796 req->header._present.dev_index = 1; in ethtool_coalesce_set_req_set_header_dev_index()
2797 req->header.dev_index = dev_index; in ethtool_coalesce_set_req_set_header_dev_index()
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()
2813 req->_present.header = 1; in ethtool_coalesce_set_req_set_header_flags()
2814 req->header._present.flags = 1; in ethtool_coalesce_set_req_set_header_flags()
2815 req->header.flags = flags; in ethtool_coalesce_set_req_set_header_flags()
3017 __u32 header:1; member
3020 struct ethtool_header header; member
3033 req->_present.header = 1; in ethtool_pause_get_req_set_header_dev_index()
3034 req->header._present.dev_index = 1; in ethtool_pause_get_req_set_header_dev_index()
3035 req->header.dev_index = dev_index; in ethtool_pause_get_req_set_header_dev_index()
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()
3051 req->_present.header = 1; in ethtool_pause_get_req_set_header_flags()
3052 req->header._present.flags = 1; in ethtool_pause_get_req_set_header_flags()
3053 req->header.flags = flags; in ethtool_pause_get_req_set_header_flags()
3058 __u32 header:1; member
3066 struct ethtool_header header; member
3085 __u32 header:1; member
3088 struct ethtool_header header; member
3102 req->_present.header = 1; in ethtool_pause_get_req_dump_set_header_dev_index()
3103 req->header._present.dev_index = 1; in ethtool_pause_get_req_dump_set_header_dev_index()
3104 req->header.dev_index = dev_index; in ethtool_pause_get_req_dump_set_header_dev_index()
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()
3120 req->_present.header = 1; in ethtool_pause_get_req_dump_set_header_flags()
3121 req->header._present.flags = 1; in ethtool_pause_get_req_dump_set_header_flags()
3122 req->header.flags = flags; in ethtool_pause_get_req_dump_set_header_flags()
3151 __u32 header:1; member
3159 struct ethtool_header header; member
3177 req->_present.header = 1; in ethtool_pause_set_req_set_header_dev_index()
3178 req->header._present.dev_index = 1; in ethtool_pause_set_req_set_header_dev_index()
3179 req->header.dev_index = dev_index; in ethtool_pause_set_req_set_header_dev_index()
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()
3195 req->_present.header = 1; in ethtool_pause_set_req_set_header_flags()
3196 req->header._present.flags = 1; in ethtool_pause_set_req_set_header_flags()
3197 req->header.flags = flags; in ethtool_pause_set_req_set_header_flags()
3251 __u32 header:1; member
3254 struct ethtool_header header; member
3267 req->_present.header = 1; in ethtool_eee_get_req_set_header_dev_index()
3268 req->header._present.dev_index = 1; in ethtool_eee_get_req_set_header_dev_index()
3269 req->header.dev_index = dev_index; in ethtool_eee_get_req_set_header_dev_index()
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()
3285 req->_present.header = 1; in ethtool_eee_get_req_set_header_flags()
3286 req->header._present.flags = 1; in ethtool_eee_get_req_set_header_flags()
3287 req->header.flags = flags; in ethtool_eee_get_req_set_header_flags()
3292 __u32 header:1; member
3301 struct ethtool_header header; member
3321 __u32 header:1; member
3324 struct ethtool_header header; member
3338 req->_present.header = 1; in ethtool_eee_get_req_dump_set_header_dev_index()
3339 req->header._present.dev_index = 1; in ethtool_eee_get_req_dump_set_header_dev_index()
3340 req->header.dev_index = dev_index; in ethtool_eee_get_req_dump_set_header_dev_index()
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()
3356 req->_present.header = 1; in ethtool_eee_get_req_dump_set_header_flags()
3357 req->header._present.flags = 1; in ethtool_eee_get_req_dump_set_header_flags()
3358 req->header.flags = flags; in ethtool_eee_get_req_dump_set_header_flags()
3386 __u32 header:1; member
3395 struct ethtool_header header; member
3414 req->_present.header = 1; in ethtool_eee_set_req_set_header_dev_index()
3415 req->header._present.dev_index = 1; in ethtool_eee_set_req_set_header_dev_index()
3416 req->header.dev_index = dev_index; in ethtool_eee_set_req_set_header_dev_index()
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()
3432 req->_present.header = 1; in ethtool_eee_set_req_set_header_flags()
3433 req->header._present.flags = 1; in ethtool_eee_set_req_set_header_flags()
3434 req->header.flags = flags; in ethtool_eee_set_req_set_header_flags()
3518 __u32 header:1; member
3521 struct ethtool_header header; member
3534 req->_present.header = 1; in ethtool_tsinfo_get_req_set_header_dev_index()
3535 req->header._present.dev_index = 1; in ethtool_tsinfo_get_req_set_header_dev_index()
3536 req->header.dev_index = dev_index; in ethtool_tsinfo_get_req_set_header_dev_index()
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()
3552 req->_present.header = 1; in ethtool_tsinfo_get_req_set_header_flags()
3553 req->header._present.flags = 1; in ethtool_tsinfo_get_req_set_header_flags()
3554 req->header.flags = flags; in ethtool_tsinfo_get_req_set_header_flags()
3559 __u32 header:1; member
3566 struct ethtool_header header; member
3584 __u32 header:1; member
3587 struct ethtool_header header; member
3601 req->_present.header = 1; in ethtool_tsinfo_get_req_dump_set_header_dev_index()
3602 req->header._present.dev_index = 1; in ethtool_tsinfo_get_req_dump_set_header_dev_index()
3603 req->header.dev_index = dev_index; in ethtool_tsinfo_get_req_dump_set_header_dev_index()
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()
3619 req->_present.header = 1; in ethtool_tsinfo_get_req_dump_set_header_flags()
3620 req->header._present.flags = 1; in ethtool_tsinfo_get_req_dump_set_header_flags()
3621 req->header.flags = flags; in ethtool_tsinfo_get_req_dump_set_header_flags()
3639 __u32 header:1; member
3642 struct ethtool_header header; member
3656 req->_present.header = 1; in ethtool_cable_test_act_req_set_header_dev_index()
3657 req->header._present.dev_index = 1; in ethtool_cable_test_act_req_set_header_dev_index()
3658 req->header.dev_index = dev_index; in ethtool_cable_test_act_req_set_header_dev_index()
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()
3674 req->_present.header = 1; in ethtool_cable_test_act_req_set_header_flags()
3675 req->header._present.flags = 1; in ethtool_cable_test_act_req_set_header_flags()
3676 req->header.flags = flags; in ethtool_cable_test_act_req_set_header_flags()
3689 __u32 header:1; member
3692 struct ethtool_header header; member
3707 req->_present.header = 1; in ethtool_cable_test_tdr_act_req_set_header_dev_index()
3708 req->header._present.dev_index = 1; in ethtool_cable_test_tdr_act_req_set_header_dev_index()
3709 req->header.dev_index = dev_index; in ethtool_cable_test_tdr_act_req_set_header_dev_index()
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()
3725 req->_present.header = 1; in ethtool_cable_test_tdr_act_req_set_header_flags()
3726 req->header._present.flags = 1; in ethtool_cable_test_tdr_act_req_set_header_flags()
3727 req->header.flags = flags; in ethtool_cable_test_tdr_act_req_set_header_flags()
3740 __u32 header:1; member
3743 struct ethtool_header header; member
3757 req->_present.header = 1; in ethtool_tunnel_info_get_req_set_header_dev_index()
3758 req->header._present.dev_index = 1; in ethtool_tunnel_info_get_req_set_header_dev_index()
3759 req->header.dev_index = dev_index; in ethtool_tunnel_info_get_req_set_header_dev_index()
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()
3775 req->_present.header = 1; in ethtool_tunnel_info_get_req_set_header_flags()
3776 req->header._present.flags = 1; in ethtool_tunnel_info_get_req_set_header_flags()
3777 req->header.flags = flags; in ethtool_tunnel_info_get_req_set_header_flags()
3782 __u32 header:1; member
3786 struct ethtool_header header; member
3802 __u32 header:1; member
3805 struct ethtool_header header; member
3820 req->_present.header = 1; in ethtool_tunnel_info_get_req_dump_set_header_dev_index()
3821 req->header._present.dev_index = 1; in ethtool_tunnel_info_get_req_dump_set_header_dev_index()
3822 req->header.dev_index = dev_index; in ethtool_tunnel_info_get_req_dump_set_header_dev_index()
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()
3838 req->_present.header = 1; in ethtool_tunnel_info_get_req_dump_set_header_flags()
3839 req->header._present.flags = 1; in ethtool_tunnel_info_get_req_dump_set_header_flags()
3840 req->header.flags = flags; in ethtool_tunnel_info_get_req_dump_set_header_flags()
3859 __u32 header:1; member
3862 struct ethtool_header header; member
3875 req->_present.header = 1; in ethtool_fec_get_req_set_header_dev_index()
3876 req->header._present.dev_index = 1; in ethtool_fec_get_req_set_header_dev_index()
3877 req->header.dev_index = dev_index; in ethtool_fec_get_req_set_header_dev_index()
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()
3893 req->_present.header = 1; in ethtool_fec_get_req_set_header_flags()
3894 req->header._present.flags = 1; in ethtool_fec_get_req_set_header_flags()
3895 req->header.flags = flags; in ethtool_fec_get_req_set_header_flags()
3900 __u32 header:1; member
3907 struct ethtool_header header; member
3925 __u32 header:1; member
3928 struct ethtool_header header; member
3942 req->_present.header = 1; in ethtool_fec_get_req_dump_set_header_dev_index()
3943 req->header._present.dev_index = 1; in ethtool_fec_get_req_dump_set_header_dev_index()
3944 req->header.dev_index = dev_index; in ethtool_fec_get_req_dump_set_header_dev_index()
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()
3960 req->_present.header = 1; in ethtool_fec_get_req_dump_set_header_flags()
3961 req->header._present.flags = 1; in ethtool_fec_get_req_dump_set_header_flags()
3962 req->header.flags = flags; in ethtool_fec_get_req_dump_set_header_flags()
3990 __u32 header:1; member
3997 struct ethtool_header header; member
4014 req->_present.header = 1; in ethtool_fec_set_req_set_header_dev_index()
4015 req->header._present.dev_index = 1; in ethtool_fec_set_req_set_header_dev_index()
4016 req->header.dev_index = dev_index; in ethtool_fec_set_req_set_header_dev_index()
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()
4032 req->_present.header = 1; in ethtool_fec_set_req_set_header_flags()
4033 req->header._present.flags = 1; in ethtool_fec_set_req_set_header_flags()
4034 req->header.flags = flags; in ethtool_fec_set_req_set_header_flags()
4107 __u32 header:1; member
4110 struct ethtool_header header; member
4125 req->_present.header = 1; in ethtool_module_eeprom_get_req_set_header_dev_index()
4126 req->header._present.dev_index = 1; in ethtool_module_eeprom_get_req_set_header_dev_index()
4127 req->header.dev_index = dev_index; in ethtool_module_eeprom_get_req_set_header_dev_index()
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()
4143 req->_present.header = 1; in ethtool_module_eeprom_get_req_set_header_flags()
4144 req->header._present.flags = 1; in ethtool_module_eeprom_get_req_set_header_flags()
4145 req->header.flags = flags; in ethtool_module_eeprom_get_req_set_header_flags()
4150 __u32 header:1; member
4159 struct ethtool_header header; member
4181 __u32 header:1; member
4184 struct ethtool_header header; member
4199 req->_present.header = 1; in ethtool_module_eeprom_get_req_dump_set_header_dev_index()
4200 req->header._present.dev_index = 1; in ethtool_module_eeprom_get_req_dump_set_header_dev_index()
4201 req->header.dev_index = dev_index; in ethtool_module_eeprom_get_req_dump_set_header_dev_index()
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()
4217 req->_present.header = 1; in ethtool_module_eeprom_get_req_dump_set_header_flags()
4218 req->header._present.flags = 1; in ethtool_module_eeprom_get_req_dump_set_header_flags()
4219 req->header.flags = flags; in ethtool_module_eeprom_get_req_dump_set_header_flags()
4238 __u32 header:1; member
4241 struct ethtool_header header; member
4255 req->_present.header = 1; in ethtool_phc_vclocks_get_req_set_header_dev_index()
4256 req->header._present.dev_index = 1; in ethtool_phc_vclocks_get_req_set_header_dev_index()
4257 req->header.dev_index = dev_index; in ethtool_phc_vclocks_get_req_set_header_dev_index()
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()
4273 req->_present.header = 1; in ethtool_phc_vclocks_get_req_set_header_flags()
4274 req->header._present.flags = 1; in ethtool_phc_vclocks_get_req_set_header_flags()
4275 req->header.flags = flags; in ethtool_phc_vclocks_get_req_set_header_flags()
4280 __u32 header:1; member
4284 struct ethtool_header header; member
4300 __u32 header:1; member
4303 struct ethtool_header header; member
4318 req->_present.header = 1; in ethtool_phc_vclocks_get_req_dump_set_header_dev_index()
4319 req->header._present.dev_index = 1; in ethtool_phc_vclocks_get_req_dump_set_header_dev_index()
4320 req->header.dev_index = dev_index; in ethtool_phc_vclocks_get_req_dump_set_header_dev_index()
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()
4336 req->_present.header = 1; in ethtool_phc_vclocks_get_req_dump_set_header_flags()
4337 req->header._present.flags = 1; in ethtool_phc_vclocks_get_req_dump_set_header_flags()
4338 req->header.flags = flags; in ethtool_phc_vclocks_get_req_dump_set_header_flags()
4357 __u32 header:1; member
4360 struct ethtool_header header; member
4373 req->_present.header = 1; in ethtool_module_get_req_set_header_dev_index()
4374 req->header._present.dev_index = 1; in ethtool_module_get_req_set_header_dev_index()
4375 req->header.dev_index = dev_index; in ethtool_module_get_req_set_header_dev_index()
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()
4391 req->_present.header = 1; in ethtool_module_get_req_set_header_flags()
4392 req->header._present.flags = 1; in ethtool_module_get_req_set_header_flags()
4393 req->header.flags = flags; in ethtool_module_get_req_set_header_flags()
4398 __u32 header:1; member
4403 struct ethtool_header header; member
4419 __u32 header:1; member
4422 struct ethtool_header header; member
4436 req->_present.header = 1; in ethtool_module_get_req_dump_set_header_dev_index()
4437 req->header._present.dev_index = 1; in ethtool_module_get_req_dump_set_header_dev_index()
4438 req->header.dev_index = dev_index; in ethtool_module_get_req_dump_set_header_dev_index()
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()
4454 req->_present.header = 1; in ethtool_module_get_req_dump_set_header_flags()
4455 req->header._present.flags = 1; in ethtool_module_get_req_dump_set_header_flags()
4456 req->header.flags = flags; in ethtool_module_get_req_dump_set_header_flags()
4485 __u32 header:1; member
4490 struct ethtool_header header; member
4505 req->_present.header = 1; in ethtool_module_set_req_set_header_dev_index()
4506 req->header._present.dev_index = 1; in ethtool_module_set_req_set_header_dev_index()
4507 req->header.dev_index = dev_index; in ethtool_module_set_req_set_header_dev_index()
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()
4523 req->_present.header = 1; in ethtool_module_set_req_set_header_flags()
4524 req->header._present.flags = 1; in ethtool_module_set_req_set_header_flags()
4525 req->header.flags = flags; in ethtool_module_set_req_set_header_flags()
4551 __u32 header:1; member
4554 struct ethtool_header header; member
4567 req->_present.header = 1; in ethtool_pse_get_req_set_header_dev_index()
4568 req->header._present.dev_index = 1; in ethtool_pse_get_req_set_header_dev_index()
4569 req->header.dev_index = dev_index; in ethtool_pse_get_req_set_header_dev_index()
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()
4585 req->_present.header = 1; in ethtool_pse_get_req_set_header_flags()
4586 req->header._present.flags = 1; in ethtool_pse_get_req_set_header_flags()
4587 req->header.flags = flags; in ethtool_pse_get_req_set_header_flags()
4592 __u32 header:1; member
4598 struct ethtool_header header; member
4615 __u32 header:1; member
4618 struct ethtool_header header; member
4632 req->_present.header = 1; in ethtool_pse_get_req_dump_set_header_dev_index()
4633 req->header._present.dev_index = 1; in ethtool_pse_get_req_dump_set_header_dev_index()
4634 req->header.dev_index = dev_index; in ethtool_pse_get_req_dump_set_header_dev_index()
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()
4650 req->_present.header = 1; in ethtool_pse_get_req_dump_set_header_flags()
4651 req->header._present.flags = 1; in ethtool_pse_get_req_dump_set_header_flags()
4652 req->header.flags = flags; in ethtool_pse_get_req_dump_set_header_flags()
4669 __u32 header:1; member
4675 struct ethtool_header header; member
4691 req->_present.header = 1; in ethtool_pse_set_req_set_header_dev_index()
4692 req->header._present.dev_index = 1; in ethtool_pse_set_req_set_header_dev_index()
4693 req->header.dev_index = dev_index; in ethtool_pse_set_req_set_header_dev_index()
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()
4709 req->_present.header = 1; in ethtool_pse_set_req_set_header_flags()
4710 req->header._present.flags = 1; in ethtool_pse_set_req_set_header_flags()
4711 req->header.flags = flags; in ethtool_pse_set_req_set_header_flags()
4744 __u32 header:1; member
4747 struct ethtool_header header; member
4760 req->_present.header = 1; in ethtool_rss_get_req_set_header_dev_index()
4761 req->header._present.dev_index = 1; in ethtool_rss_get_req_set_header_dev_index()
4762 req->header.dev_index = dev_index; in ethtool_rss_get_req_set_header_dev_index()
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()
4778 req->_present.header = 1; in ethtool_rss_get_req_set_header_flags()
4779 req->header._present.flags = 1; in ethtool_rss_get_req_set_header_flags()
4780 req->header.flags = flags; in ethtool_rss_get_req_set_header_flags()
4785 __u32 header:1; member
4792 struct ethtool_header header; member
4810 __u32 header:1; member
4813 struct ethtool_header header; member
4827 req->_present.header = 1; in ethtool_rss_get_req_dump_set_header_dev_index()
4828 req->header._present.dev_index = 1; in ethtool_rss_get_req_dump_set_header_dev_index()
4829 req->header.dev_index = dev_index; in ethtool_rss_get_req_dump_set_header_dev_index()
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()
4845 req->_present.header = 1; in ethtool_rss_get_req_dump_set_header_flags()
4846 req->header._present.flags = 1; in ethtool_rss_get_req_dump_set_header_flags()
4847 req->header.flags = flags; in ethtool_rss_get_req_dump_set_header_flags()
4864 __u32 header:1; member
4867 struct ethtool_header header; member
4881 req->_present.header = 1; in ethtool_plca_get_cfg_req_set_header_dev_index()
4882 req->header._present.dev_index = 1; in ethtool_plca_get_cfg_req_set_header_dev_index()
4883 req->header.dev_index = dev_index; in ethtool_plca_get_cfg_req_set_header_dev_index()
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()
4899 req->_present.header = 1; in ethtool_plca_get_cfg_req_set_header_flags()
4900 req->header._present.flags = 1; in ethtool_plca_get_cfg_req_set_header_flags()
4901 req->header.flags = flags; in ethtool_plca_get_cfg_req_set_header_flags()
4906 __u32 header:1; member
4917 struct ethtool_header header; member
4939 __u32 header:1; member
4942 struct ethtool_header header; member
4957 req->_present.header = 1; in ethtool_plca_get_cfg_req_dump_set_header_dev_index()
4958 req->header._present.dev_index = 1; in ethtool_plca_get_cfg_req_dump_set_header_dev_index()
4959 req->header.dev_index = dev_index; in ethtool_plca_get_cfg_req_dump_set_header_dev_index()
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()
4975 req->_present.header = 1; in ethtool_plca_get_cfg_req_dump_set_header_flags()
4976 req->header._present.flags = 1; in ethtool_plca_get_cfg_req_dump_set_header_flags()
4977 req->header.flags = flags; in ethtool_plca_get_cfg_req_dump_set_header_flags()
5006 __u32 header:1; member
5017 struct ethtool_header header; member
5039 req->_present.header = 1; in ethtool_plca_set_cfg_req_set_header_dev_index()
5040 req->header._present.dev_index = 1; in ethtool_plca_set_cfg_req_set_header_dev_index()
5041 req->header.dev_index = dev_index; in ethtool_plca_set_cfg_req_set_header_dev_index()
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()
5057 req->_present.header = 1; in ethtool_plca_set_cfg_req_set_header_flags()
5058 req->header._present.flags = 1; in ethtool_plca_set_cfg_req_set_header_flags()
5059 req->header.flags = flags; in ethtool_plca_set_cfg_req_set_header_flags()
5128 __u32 header:1; member
5131 struct ethtool_header header; member
5145 req->_present.header = 1; in ethtool_plca_get_status_req_set_header_dev_index()
5146 req->header._present.dev_index = 1; in ethtool_plca_get_status_req_set_header_dev_index()
5147 req->header.dev_index = dev_index; in ethtool_plca_get_status_req_set_header_dev_index()
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()
5163 req->_present.header = 1; in ethtool_plca_get_status_req_set_header_flags()
5164 req->header._present.flags = 1; in ethtool_plca_get_status_req_set_header_flags()
5165 req->header.flags = flags; in ethtool_plca_get_status_req_set_header_flags()
5170 __u32 header:1; member
5181 struct ethtool_header header; member
5204 __u32 header:1; member
5207 struct ethtool_header header; member
5222 req->_present.header = 1; in ethtool_plca_get_status_req_dump_set_header_dev_index()
5223 req->header._present.dev_index = 1; in ethtool_plca_get_status_req_dump_set_header_dev_index()
5224 req->header.dev_index = dev_index; in ethtool_plca_get_status_req_dump_set_header_dev_index()
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()
5240 req->_present.header = 1; in ethtool_plca_get_status_req_dump_set_header_flags()
5241 req->header._present.flags = 1; in ethtool_plca_get_status_req_dump_set_header_flags()
5242 req->header.flags = flags; in ethtool_plca_get_status_req_dump_set_header_flags()
5261 __u32 header:1; member
5264 struct ethtool_header header; member
5277 req->_present.header = 1; in ethtool_mm_get_req_set_header_dev_index()
5278 req->header._present.dev_index = 1; in ethtool_mm_get_req_set_header_dev_index()
5279 req->header.dev_index = dev_index; in ethtool_mm_get_req_set_header_dev_index()
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()
5295 req->_present.header = 1; in ethtool_mm_get_req_set_header_flags()
5296 req->header._present.flags = 1; in ethtool_mm_get_req_set_header_flags()
5297 req->header.flags = flags; in ethtool_mm_get_req_set_header_flags()
5302 __u32 header:1; member
5314 struct ethtool_header header; member
5337 __u32 header:1; member
5340 struct ethtool_header header; member
5354 req->_present.header = 1; in ethtool_mm_get_req_dump_set_header_dev_index()
5355 req->header._present.dev_index = 1; in ethtool_mm_get_req_dump_set_header_dev_index()
5356 req->header.dev_index = dev_index; in ethtool_mm_get_req_dump_set_header_dev_index()
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()
5372 req->_present.header = 1; in ethtool_mm_get_req_dump_set_header_flags()
5373 req->header._present.flags = 1; in ethtool_mm_get_req_dump_set_header_flags()
5374 req->header.flags = flags; in ethtool_mm_get_req_dump_set_header_flags()
5402 __u32 header:1; member
5410 struct ethtool_header header; member
5428 req->_present.header = 1; in ethtool_mm_set_req_set_header_dev_index()
5429 req->header._present.dev_index = 1; in ethtool_mm_set_req_set_header_dev_index()
5430 req->header.dev_index = dev_index; in ethtool_mm_set_req_set_header_dev_index()
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()
5446 req->_present.header = 1; in ethtool_mm_set_req_set_header_flags()
5447 req->header._present.flags = 1; in ethtool_mm_set_req_set_header_flags()
5448 req->header.flags = flags; in ethtool_mm_set_req_set_header_flags()
5494 __u32 header:1; member
5498 struct ethtool_header header; member
5515 __u32 header:1; member
5520 struct ethtool_header header; member