1# SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 2 3name: rt-link 4protocol: netlink-raw 5protonum: 0 6 7doc: 8 Link configuration over rtnetlink. 9 10definitions: 11 - 12 name: ifinfo-flags 13 type: flags 14 entries: 15 - 16 name: up 17 - 18 name: broadcast 19 - 20 name: debug 21 - 22 name: loopback 23 - 24 name: point-to-point 25 - 26 name: no-trailers 27 - 28 name: running 29 - 30 name: no-arp 31 - 32 name: promisc 33 - 34 name: all-multi 35 - 36 name: master 37 - 38 name: slave 39 - 40 name: multicast 41 - 42 name: portsel 43 - 44 name: auto-media 45 - 46 name: dynamic 47 - 48 name: lower-up 49 - 50 name: dormant 51 - 52 name: echo 53 54 - 55 name: rtgenmsg 56 type: struct 57 members: 58 - 59 name: family 60 type: u8 61 - 62 name: ifinfomsg 63 type: struct 64 members: 65 - 66 name: ifi-family 67 type: u8 68 - 69 name: padding 70 type: u8 71 - 72 name: ifi-type 73 type: u16 74 - 75 name: ifi-index 76 type: s32 77 - 78 name: ifi-flags 79 type: u32 80 enum: ifinfo-flags 81 enum-as-flags: true 82 - 83 name: ifi-change 84 type: u32 85 - 86 name: ifla-cacheinfo 87 type: struct 88 members: 89 - 90 name: max-reasm-len 91 type: u32 92 - 93 name: tstamp 94 type: u32 95 - 96 name: reachable-time 97 type: s32 98 - 99 name: retrans-time 100 type: u32 101 - 102 name: rtnl-link-stats 103 type: struct 104 members: 105 - 106 name: rx-packets 107 type: u32 108 - 109 name: tx-packets 110 type: u32 111 - 112 name: rx-bytes 113 type: u32 114 - 115 name: tx-bytes 116 type: u32 117 - 118 name: rx-errors 119 type: u32 120 - 121 name: tx-errors 122 type: u32 123 - 124 name: rx-dropped 125 type: u32 126 - 127 name: tx-dropped 128 type: u32 129 - 130 name: multicast 131 type: u32 132 - 133 name: collisions 134 type: u32 135 - 136 name: rx-length-errors 137 type: u32 138 - 139 name: rx-over-errors 140 type: u32 141 - 142 name: rx-crc-errors 143 type: u32 144 - 145 name: rx-frame-errors 146 type: u32 147 - 148 name: rx-fifo-errors 149 type: u32 150 - 151 name: rx-missed-errors 152 type: u32 153 - 154 name: tx-aborted-errors 155 type: u32 156 - 157 name: tx-carrier-errors 158 type: u32 159 - 160 name: tx-fifo-errors 161 type: u32 162 - 163 name: tx-heartbeat-errors 164 type: u32 165 - 166 name: tx-window-errors 167 type: u32 168 - 169 name: rx-compressed 170 type: u32 171 - 172 name: tx-compressed 173 type: u32 174 - 175 name: rx-nohandler 176 type: u32 177 - 178 name: rtnl-link-stats64 179 type: struct 180 members: 181 - 182 name: rx-packets 183 type: u64 184 - 185 name: tx-packets 186 type: u64 187 - 188 name: rx-bytes 189 type: u64 190 - 191 name: tx-bytes 192 type: u64 193 - 194 name: rx-errors 195 type: u64 196 - 197 name: tx-errors 198 type: u64 199 - 200 name: rx-dropped 201 type: u64 202 - 203 name: tx-dropped 204 type: u64 205 - 206 name: multicast 207 type: u64 208 - 209 name: collisions 210 type: u64 211 - 212 name: rx-length-errors 213 type: u64 214 - 215 name: rx-over-errors 216 type: u64 217 - 218 name: rx-crc-errors 219 type: u64 220 - 221 name: rx-frame-errors 222 type: u64 223 - 224 name: rx-fifo-errors 225 type: u64 226 - 227 name: rx-missed-errors 228 type: u64 229 - 230 name: tx-aborted-errors 231 type: u64 232 - 233 name: tx-carrier-errors 234 type: u64 235 - 236 name: tx-fifo-errors 237 type: u64 238 - 239 name: tx-heartbeat-errors 240 type: u64 241 - 242 name: tx-window-errors 243 type: u64 244 - 245 name: rx-compressed 246 type: u64 247 - 248 name: tx-compressed 249 type: u64 250 - 251 name: rx-nohandler 252 type: u64 253 - 254 name: rx-otherhost-dropped 255 type: u64 256 - 257 name: rtnl-link-ifmap 258 type: struct 259 members: 260 - 261 name: mem-start 262 type: u64 263 - 264 name: mem-end 265 type: u64 266 - 267 name: base-addr 268 type: u64 269 - 270 name: irq 271 type: u16 272 - 273 name: dma 274 type: u8 275 - 276 name: port 277 type: u8 278 - 279 name: ipv4-devconf 280 type: struct 281 members: 282 - 283 name: forwarding 284 type: u32 285 - 286 name: mc-forwarding 287 type: u32 288 - 289 name: proxy-arp 290 type: u32 291 - 292 name: accept-redirects 293 type: u32 294 - 295 name: secure-redirects 296 type: u32 297 - 298 name: send-redirects 299 type: u32 300 - 301 name: shared-media 302 type: u32 303 - 304 name: rp-filter 305 type: u32 306 - 307 name: accept-source-route 308 type: u32 309 - 310 name: bootp-relay 311 type: u32 312 - 313 name: log-martians 314 type: u32 315 - 316 name: tag 317 type: u32 318 - 319 name: arpfilter 320 type: u32 321 - 322 name: medium-id 323 type: u32 324 - 325 name: noxfrm 326 type: u32 327 - 328 name: nopolicy 329 type: u32 330 - 331 name: force-igmp-version 332 type: u32 333 - 334 name: arp-announce 335 type: u32 336 - 337 name: arp-ignore 338 type: u32 339 - 340 name: promote-secondaries 341 type: u32 342 - 343 name: arp-accept 344 type: u32 345 - 346 name: arp-notify 347 type: u32 348 - 349 name: accept-local 350 type: u32 351 - 352 name: src-vmark 353 type: u32 354 - 355 name: proxy-arp-pvlan 356 type: u32 357 - 358 name: route-localnet 359 type: u32 360 - 361 name: igmpv2-unsolicited-report-interval 362 type: u32 363 - 364 name: igmpv3-unsolicited-report-interval 365 type: u32 366 - 367 name: ignore-routes-with-linkdown 368 type: u32 369 - 370 name: drop-unicast-in-l2-multicast 371 type: u32 372 - 373 name: drop-gratuitous-arp 374 type: u32 375 - 376 name: bc-forwarding 377 type: u32 378 - 379 name: arp-evict-nocarrier 380 type: u32 381 - 382 name: ipv6-devconf 383 type: struct 384 members: 385 - 386 name: forwarding 387 type: u32 388 - 389 name: hoplimit 390 type: u32 391 - 392 name: mtu6 393 type: u32 394 - 395 name: accept-ra 396 type: u32 397 - 398 name: accept-redirects 399 type: u32 400 - 401 name: autoconf 402 type: u32 403 - 404 name: dad-transmits 405 type: u32 406 - 407 name: rtr-solicits 408 type: u32 409 - 410 name: rtr-solicit-interval 411 type: u32 412 - 413 name: rtr-solicit-delay 414 type: u32 415 - 416 name: use-tempaddr 417 type: u32 418 - 419 name: temp-valid-lft 420 type: u32 421 - 422 name: temp-prefered-lft 423 type: u32 424 - 425 name: regen-max-retry 426 type: u32 427 - 428 name: max-desync-factor 429 type: u32 430 - 431 name: max-addresses 432 type: u32 433 - 434 name: force-mld-version 435 type: u32 436 - 437 name: accept-ra-defrtr 438 type: u32 439 - 440 name: accept-ra-pinfo 441 type: u32 442 - 443 name: accept-ra-rtr-pref 444 type: u32 445 - 446 name: rtr-probe-interval 447 type: u32 448 - 449 name: accept-ra-rt-info-max-plen 450 type: u32 451 - 452 name: proxy-ndp 453 type: u32 454 - 455 name: optimistic-dad 456 type: u32 457 - 458 name: accept-source-route 459 type: u32 460 - 461 name: mc-forwarding 462 type: u32 463 - 464 name: disable-ipv6 465 type: u32 466 - 467 name: accept-dad 468 type: u32 469 - 470 name: force-tllao 471 type: u32 472 - 473 name: ndisc-notify 474 type: u32 475 - 476 name: mldv1-unsolicited-report-interval 477 type: u32 478 - 479 name: mldv2-unsolicited-report-interval 480 type: u32 481 - 482 name: suppress-frag-ndisc 483 type: u32 484 - 485 name: accept-ra-from-local 486 type: u32 487 - 488 name: use-optimistic 489 type: u32 490 - 491 name: accept-ra-mtu 492 type: u32 493 - 494 name: stable-secret 495 type: u32 496 - 497 name: use-oif-addrs-only 498 type: u32 499 - 500 name: accept-ra-min-hop-limit 501 type: u32 502 - 503 name: ignore-routes-with-linkdown 504 type: u32 505 - 506 name: drop-unicast-in-l2-multicast 507 type: u32 508 - 509 name: drop-unsolicited-na 510 type: u32 511 - 512 name: keep-addr-on-down 513 type: u32 514 - 515 name: rtr-solicit-max-interval 516 type: u32 517 - 518 name: seg6-enabled 519 type: u32 520 - 521 name: seg6-require-hmac 522 type: u32 523 - 524 name: enhanced-dad 525 type: u32 526 - 527 name: addr-gen-mode 528 type: u8 529 - 530 name: disable-policy 531 type: u32 532 - 533 name: accept-ra-rt-info-min-plen 534 type: u32 535 - 536 name: ndisc-tclass 537 type: u32 538 - 539 name: rpl-seg-enabled 540 type: u32 541 - 542 name: ra-defrtr-metric 543 type: u32 544 - 545 name: ioam6-enabled 546 type: u32 547 - 548 name: ioam6-id 549 type: u32 550 - 551 name: ioam6-id-wide 552 type: u32 553 - 554 name: ndisc-evict-nocarrier 555 type: u32 556 - 557 name: accept-untracked-na 558 type: u32 559 - 560 name: ifla-icmp6-stats 561 type: struct 562 members: 563 - 564 name: inmsgs 565 type: u64 566 - 567 name: inerrors 568 type: u64 569 - 570 name: outmsgs 571 type: u64 572 - 573 name: outerrors 574 type: u64 575 - 576 name: csumerrors 577 type: u64 578 - 579 name: ratelimithost 580 type: u64 581 - 582 name: ifla-inet6-stats 583 type: struct 584 members: 585 - 586 name: inpkts 587 type: u64 588 - 589 name: inoctets 590 type: u64 591 - 592 name: indelivers 593 type: u64 594 - 595 name: outforwdatagrams 596 type: u64 597 - 598 name: outpkts 599 type: u64 600 - 601 name: outoctets 602 type: u64 603 - 604 name: inhdrerrors 605 type: u64 606 - 607 name: intoobigerrors 608 type: u64 609 - 610 name: innoroutes 611 type: u64 612 - 613 name: inaddrerrors 614 type: u64 615 - 616 name: inunknownprotos 617 type: u64 618 - 619 name: intruncatedpkts 620 type: u64 621 - 622 name: indiscards 623 type: u64 624 - 625 name: outdiscards 626 type: u64 627 - 628 name: outnoroutes 629 type: u64 630 - 631 name: reasmtimeout 632 type: u64 633 - 634 name: reasmreqds 635 type: u64 636 - 637 name: reasmoks 638 type: u64 639 - 640 name: reasmfails 641 type: u64 642 - 643 name: fragoks 644 type: u64 645 - 646 name: fragfails 647 type: u64 648 - 649 name: fragcreates 650 type: u64 651 - 652 name: inmcastpkts 653 type: u64 654 - 655 name: outmcastpkts 656 type: u64 657 - 658 name: inbcastpkts 659 type: u64 660 - 661 name: outbcastpkts 662 type: u64 663 - 664 name: inmcastoctets 665 type: u64 666 - 667 name: outmcastoctets 668 type: u64 669 - 670 name: inbcastoctets 671 type: u64 672 - 673 name: outbcastoctets 674 type: u64 675 - 676 name: csumerrors 677 type: u64 678 - 679 name: noectpkts 680 type: u64 681 - 682 name: ect1-pkts 683 type: u64 684 - 685 name: ect0-pkts 686 type: u64 687 - 688 name: cepkts 689 type: u64 690 - 691 name: reasm-overlaps 692 type: u64 693 - name: br-boolopt-multi 694 type: struct 695 members: 696 - 697 name: optval 698 type: u32 699 - 700 name: optmask 701 type: u32 702 - 703 name: if_stats_msg 704 type: struct 705 members: 706 - 707 name: family 708 type: u8 709 - 710 name: pad1 711 type: u8 712 - 713 name: pad2 714 type: u16 715 - 716 name: ifindex 717 type: u32 718 - 719 name: filter-mask 720 type: u32 721 722 723attribute-sets: 724 - 725 name: link-attrs 726 name-prefix: ifla- 727 attributes: 728 - 729 name: address 730 type: binary 731 display-hint: mac 732 - 733 name: broadcast 734 type: binary 735 display-hint: mac 736 - 737 name: ifname 738 type: string 739 - 740 name: mtu 741 type: u32 742 - 743 name: link 744 type: u32 745 - 746 name: qdisc 747 type: string 748 - 749 name: stats 750 type: binary 751 struct: rtnl-link-stats 752 - 753 name: cost 754 type: string 755 - 756 name: priority 757 type: string 758 - 759 name: master 760 type: u32 761 - 762 name: wireless 763 type: string 764 - 765 name: protinfo 766 type: string 767 - 768 name: txqlen 769 type: u32 770 - 771 name: map 772 type: binary 773 struct: rtnl-link-ifmap 774 - 775 name: weight 776 type: u32 777 - 778 name: operstate 779 type: u8 780 - 781 name: linkmode 782 type: u8 783 - 784 name: linkinfo 785 type: nest 786 nested-attributes: linkinfo-attrs 787 - 788 name: net-ns-pid 789 type: u32 790 - 791 name: ifalias 792 type: string 793 - 794 name: num-vf 795 type: u32 796 - 797 name: vfinfo-list 798 type: nest 799 nested-attributes: vfinfo-attrs 800 - 801 name: stats64 802 type: binary 803 struct: rtnl-link-stats64 804 - 805 name: vf-ports 806 type: nest 807 nested-attributes: vf-ports-attrs 808 - 809 name: port-self 810 type: nest 811 nested-attributes: port-self-attrs 812 - 813 name: af-spec 814 type: nest 815 nested-attributes: af-spec-attrs 816 - 817 name: group 818 type: u32 819 - 820 name: net-ns-fd 821 type: u32 822 - 823 name: ext-mask 824 type: u32 825 - 826 name: promiscuity 827 type: u32 828 - 829 name: num-tx-queues 830 type: u32 831 - 832 name: num-rx-queues 833 type: u32 834 - 835 name: carrier 836 type: u8 837 - 838 name: phys-port-id 839 type: binary 840 - 841 name: carrier-changes 842 type: u32 843 - 844 name: phys-switch-id 845 type: binary 846 - 847 name: link-netnsid 848 type: s32 849 - 850 name: phys-port-name 851 type: string 852 - 853 name: proto-down 854 type: u8 855 - 856 name: gso-max-segs 857 type: u32 858 - 859 name: gso-max-size 860 type: u32 861 - 862 name: pad 863 type: pad 864 - 865 name: xdp 866 type: nest 867 nested-attributes: xdp-attrs 868 - 869 name: event 870 type: u32 871 - 872 name: new-netnsid 873 type: s32 874 - 875 name: target-netnsid 876 type: s32 877 - 878 name: carrier-up-count 879 type: u32 880 - 881 name: carrier-down-count 882 type: u32 883 - 884 name: new-ifindex 885 type: s32 886 - 887 name: min-mtu 888 type: u32 889 - 890 name: max-mtu 891 type: u32 892 - 893 name: prop-list 894 type: nest 895 nested-attributes: link-attrs 896 - 897 name: alt-ifname 898 type: string 899 multi-attr: true 900 - 901 name: perm-address 902 type: binary 903 display-hint: mac 904 - 905 name: proto-down-reason 906 type: string 907 - 908 name: parent-dev-name 909 type: string 910 - 911 name: parent-dev-bus-name 912 type: string 913 - 914 name: gro-max-size 915 type: u32 916 - 917 name: tso-max-size 918 type: u32 919 - 920 name: tso-max-segs 921 type: u32 922 - 923 name: allmulti 924 type: u32 925 - 926 name: devlink-port 927 type: binary 928 - 929 name: gso-ipv4-max-size 930 type: u32 931 - 932 name: gro-ipv4-max-size 933 type: u32 934 - 935 name: af-spec-attrs 936 attributes: 937 - 938 name: "inet" 939 type: nest 940 value: 2 941 nested-attributes: ifla-attrs 942 - 943 name: "inet6" 944 type: nest 945 value: 10 946 nested-attributes: ifla6-attrs 947 - 948 name: "mctp" 949 type: nest 950 value: 45 951 nested-attributes: mctp-attrs 952 - 953 name: vfinfo-attrs 954 attributes: [] 955 - 956 name: vf-ports-attrs 957 attributes: [] 958 - 959 name: port-self-attrs 960 attributes: [] 961 - 962 name: linkinfo-attrs 963 attributes: 964 - 965 name: kind 966 type: string 967 - 968 name: data 969 type: binary 970 # kind specific nest, e.g. linkinfo-bridge-attrs 971 - 972 name: xstats 973 type: binary 974 - 975 name: slave-kind 976 type: string 977 - 978 name: slave-data 979 type: binary 980 # kind specific nest 981 - 982 name: linkinfo-bridge-attrs 983 attributes: 984 - 985 name: forward-delay 986 type: u32 987 - 988 name: hello-time 989 type: u32 990 - 991 name: max-age 992 type: u32 993 - 994 name: ageing-time 995 type: u32 996 - 997 name: stp-state 998 type: u32 999 - 1000 name: priority 1001 type: u16 1002 - 1003 name: vlan-filtering 1004 type: u8 1005 - 1006 name: vlan-protocol 1007 type: u16 1008 - 1009 name: group-fwd-mask 1010 type: u16 1011 - 1012 name: root-id 1013 type: binary 1014 - 1015 name: bridge-id 1016 type: binary 1017 - 1018 name: root-port 1019 type: u16 1020 - 1021 name: root-path-cost 1022 type: u32 1023 - 1024 name: topology-change 1025 type: u8 1026 - 1027 name: topology-change-detected 1028 type: u8 1029 - 1030 name: hello-timer 1031 type: u64 1032 - 1033 name: tcn-timer 1034 type: u64 1035 - 1036 name: topology-change-timer 1037 type: u64 1038 - 1039 name: gc-timer 1040 type: u64 1041 - 1042 name: group-addr 1043 type: binary 1044 - 1045 name: fdb-flush 1046 type: binary 1047 - 1048 name: mcast-router 1049 type: u8 1050 - 1051 name: mcast-snooping 1052 type: u8 1053 - 1054 name: mcast-query-use-ifaddr 1055 type: u8 1056 - 1057 name: mcast-querier 1058 type: u8 1059 - 1060 name: mcast-hash-elasticity 1061 type: u32 1062 - 1063 name: mcast-hash-max 1064 type: u32 1065 - 1066 name: mcast-last-member-cnt 1067 type: u32 1068 - 1069 name: mcast-startup-query-cnt 1070 type: u32 1071 - 1072 name: mcast-last-member-intvl 1073 type: u64 1074 - 1075 name: mcast-membership-intvl 1076 type: u64 1077 - 1078 name: mcast-querier-intvl 1079 type: u64 1080 - 1081 name: mcast-query-intvl 1082 type: u64 1083 - 1084 name: mcast-query-response-intvl 1085 type: u64 1086 - 1087 name: mcast-startup-query-intvl 1088 type: u64 1089 - 1090 name: nf-call-iptables 1091 type: u8 1092 - 1093 name: nf-call-ip6-tables 1094 type: u8 1095 - 1096 name: nf-call-arptables 1097 type: u8 1098 - 1099 name: vlan-default-pvid 1100 type: u16 1101 - 1102 name: pad 1103 type: pad 1104 - 1105 name: vlan-stats-enabled 1106 type: u8 1107 - 1108 name: mcast-stats-enabled 1109 type: u8 1110 - 1111 name: mcast-igmp-version 1112 type: u8 1113 - 1114 name: mcast-mld-version 1115 type: u8 1116 - 1117 name: vlan-stats-per-port 1118 type: u8 1119 - 1120 name: multi-boolopt 1121 type: binary 1122 struct: br-boolopt-multi 1123 - 1124 name: mcast-querier-state 1125 type: binary 1126 - 1127 name: xdp-attrs 1128 attributes: 1129 - 1130 name: fd 1131 type: s32 1132 - 1133 name: attached 1134 type: u8 1135 - 1136 name: flags 1137 type: u32 1138 - 1139 name: prog-id 1140 type: u32 1141 - 1142 name: drv-prog-id 1143 type: u32 1144 - 1145 name: skb-prog-id 1146 type: u32 1147 - 1148 name: hw-prog-id 1149 type: u32 1150 - 1151 name: expected-fd 1152 type: s32 1153 - 1154 name: ifla-attrs 1155 attributes: 1156 - 1157 name: conf 1158 type: binary 1159 struct: ipv4-devconf 1160 - 1161 name: ifla6-attrs 1162 attributes: 1163 - 1164 name: flags 1165 type: u32 1166 - 1167 name: conf 1168 type: binary 1169 struct: ipv6-devconf 1170 - 1171 name: stats 1172 type: binary 1173 struct: ifla-inet6-stats 1174 - 1175 name: mcast 1176 type: binary 1177 - 1178 name: cacheinfo 1179 type: binary 1180 struct: ifla-cacheinfo 1181 - 1182 name: icmp6-stats 1183 type: binary 1184 struct: ifla-icmp6-stats 1185 - 1186 name: token 1187 type: binary 1188 - 1189 name: addr-gen-mode 1190 type: u8 1191 - 1192 name: ra-mtu 1193 type: u32 1194 - 1195 name: mctp-attrs 1196 attributes: 1197 - 1198 name: mctp-net 1199 type: u32 1200 - 1201 name: stats-attrs 1202 name-prefix: ifla-stats- 1203 attributes: 1204 - 1205 name: link-64 1206 type: binary 1207 struct: rtnl-link-stats64 1208 - 1209 name: link-xstats 1210 type: binary 1211 - 1212 name: link-xstats-slave 1213 type: binary 1214 - 1215 name: link-offload-xstats 1216 type: nest 1217 nested-attributes: link-offload-xstats 1218 - 1219 name: af-spec 1220 type: binary 1221 - 1222 name: link-offload-xstats 1223 attributes: 1224 - 1225 name: cpu-hit 1226 type: binary 1227 - 1228 name: hw-s-info 1229 type: array-nest 1230 nested-attributes: hw-s-info-one 1231 - 1232 name: l3-stats 1233 type: binary 1234 - 1235 name: hw-s-info-one 1236 attributes: 1237 - 1238 name: request 1239 type: u8 1240 - 1241 name: used 1242 type: u8 1243 1244operations: 1245 enum-model: directional 1246 list: 1247 - 1248 name: newlink 1249 doc: Create a new link. 1250 attribute-set: link-attrs 1251 fixed-header: ifinfomsg 1252 do: 1253 request: 1254 value: 16 1255 attributes: &link-new-attrs 1256 - ifi-index 1257 - ifname 1258 - net-ns-pid 1259 - net-ns-fd 1260 - target-netnsid 1261 - link-netnsid 1262 - linkinfo 1263 - group 1264 - num-tx-queues 1265 - num-rx-queues 1266 - address 1267 - broadcast 1268 - mtu 1269 - txqlen 1270 - operstate 1271 - linkmode 1272 - group 1273 - gso-max-size 1274 - gso-max-segs 1275 - gro-max-size 1276 - gso-ipv4-max-size 1277 - gro-ipv4-max-size 1278 - af-spec 1279 - 1280 name: dellink 1281 doc: Delete an existing link. 1282 attribute-set: link-attrs 1283 fixed-header: ifinfomsg 1284 do: 1285 request: 1286 value: 17 1287 attributes: 1288 - ifi-index 1289 - ifname 1290 - 1291 name: getlink 1292 doc: Get / dump information about a link. 1293 attribute-set: link-attrs 1294 fixed-header: ifinfomsg 1295 do: 1296 request: 1297 value: 18 1298 attributes: 1299 - ifi-index 1300 - ifname 1301 - alt-ifname 1302 - ext-mask 1303 - target-netnsid 1304 reply: 1305 value: 16 1306 attributes: &link-all-attrs 1307 - ifi-family 1308 - ifi-type 1309 - ifi-index 1310 - ifi-flags 1311 - ifi-change 1312 - address 1313 - broadcast 1314 - ifname 1315 - mtu 1316 - link 1317 - qdisc 1318 - stats 1319 - cost 1320 - priority 1321 - master 1322 - wireless 1323 - protinfo 1324 - txqlen 1325 - map 1326 - weight 1327 - operstate 1328 - linkmode 1329 - linkinfo 1330 - net-ns-pid 1331 - ifalias 1332 - num-vf 1333 - vfinfo-list 1334 - stats64 1335 - vf-ports 1336 - port-self 1337 - af-spec 1338 - group 1339 - net-ns-fd 1340 - ext-mask 1341 - promiscuity 1342 - num-tx-queues 1343 - num-rx-queues 1344 - carrier 1345 - phys-port-id 1346 - carrier-changes 1347 - phys-switch-id 1348 - link-netnsid 1349 - phys-port-name 1350 - proto-down 1351 - gso-max-segs 1352 - gso-max-size 1353 - pad 1354 - xdp 1355 - event 1356 - new-netnsid 1357 - if-netnsid 1358 - target-netnsid 1359 - carrier-up-count 1360 - carrier-down-count 1361 - new-ifindex 1362 - min-mtu 1363 - max-mtu 1364 - prop-list 1365 - alt-ifname 1366 - perm-address 1367 - proto-down-reason 1368 - parent-dev-name 1369 - parent-dev-bus-name 1370 - gro-max-size 1371 - tso-max-size 1372 - tso-max-segs 1373 - allmulti 1374 - devlink-port 1375 - gso-ipv4-max-size 1376 - gro-ipv4-max-size 1377 dump: 1378 request: 1379 value: 18 1380 attributes: 1381 - target-netnsid 1382 - ext-mask 1383 - master 1384 - linkinfo 1385 reply: 1386 value: 16 1387 attributes: *link-all-attrs 1388 - 1389 name: setlink 1390 doc: Set information about a link. 1391 attribute-set: link-attrs 1392 fixed-header: ifinfomsg 1393 do: 1394 request: 1395 value: 19 1396 attributes: *link-all-attrs 1397 - 1398 name: getstats 1399 doc: Get / dump link stats. 1400 attribute-set: stats-attrs 1401 fixed-header: if_stats_msg 1402 do: 1403 request: 1404 value: 94 1405 attributes: 1406 - ifindex 1407 reply: 1408 value: 92 1409 attributes: &link-stats-attrs 1410 - family 1411 - ifindex 1412 - filter-mask 1413 - link-64 1414 - link-xstats 1415 - link-xstats-slave 1416 - link-offload-xstats 1417 - af-spec 1418 dump: 1419 request: 1420 value: 94 1421 reply: 1422 value: 92 1423 attributes: *link-stats-attrs 1424 1425mcast-groups: 1426 list: 1427 - 1428 name: rtnlgrp-link 1429 value: 1 1430 - 1431 name: rtnlgrp-stats 1432 value: 36 1433