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: pad 70 type: pad 71 len: 1 72 - 73 name: ifi-type 74 type: u16 75 - 76 name: ifi-index 77 type: s32 78 - 79 name: ifi-flags 80 type: u32 81 enum: ifinfo-flags 82 enum-as-flags: true 83 - 84 name: ifi-change 85 type: u32 86 - 87 name: ifla-bridge-id 88 type: struct 89 members: 90 - 91 name: prio 92 type: u16 93 - 94 name: addr 95 type: binary 96 len: 6 97 display-hint: mac 98 - 99 name: ifla-cacheinfo 100 type: struct 101 members: 102 - 103 name: max-reasm-len 104 type: u32 105 - 106 name: tstamp 107 type: u32 108 - 109 name: reachable-time 110 type: s32 111 - 112 name: retrans-time 113 type: u32 114 - 115 name: rtnl-link-stats 116 type: struct 117 members: 118 - 119 name: rx-packets 120 type: u32 121 - 122 name: tx-packets 123 type: u32 124 - 125 name: rx-bytes 126 type: u32 127 - 128 name: tx-bytes 129 type: u32 130 - 131 name: rx-errors 132 type: u32 133 - 134 name: tx-errors 135 type: u32 136 - 137 name: rx-dropped 138 type: u32 139 - 140 name: tx-dropped 141 type: u32 142 - 143 name: multicast 144 type: u32 145 - 146 name: collisions 147 type: u32 148 - 149 name: rx-length-errors 150 type: u32 151 - 152 name: rx-over-errors 153 type: u32 154 - 155 name: rx-crc-errors 156 type: u32 157 - 158 name: rx-frame-errors 159 type: u32 160 - 161 name: rx-fifo-errors 162 type: u32 163 - 164 name: rx-missed-errors 165 type: u32 166 - 167 name: tx-aborted-errors 168 type: u32 169 - 170 name: tx-carrier-errors 171 type: u32 172 - 173 name: tx-fifo-errors 174 type: u32 175 - 176 name: tx-heartbeat-errors 177 type: u32 178 - 179 name: tx-window-errors 180 type: u32 181 - 182 name: rx-compressed 183 type: u32 184 - 185 name: tx-compressed 186 type: u32 187 - 188 name: rx-nohandler 189 type: u32 190 - 191 name: rtnl-link-stats64 192 type: struct 193 members: 194 - 195 name: rx-packets 196 type: u64 197 - 198 name: tx-packets 199 type: u64 200 - 201 name: rx-bytes 202 type: u64 203 - 204 name: tx-bytes 205 type: u64 206 - 207 name: rx-errors 208 type: u64 209 - 210 name: tx-errors 211 type: u64 212 - 213 name: rx-dropped 214 type: u64 215 - 216 name: tx-dropped 217 type: u64 218 - 219 name: multicast 220 type: u64 221 - 222 name: collisions 223 type: u64 224 - 225 name: rx-length-errors 226 type: u64 227 - 228 name: rx-over-errors 229 type: u64 230 - 231 name: rx-crc-errors 232 type: u64 233 - 234 name: rx-frame-errors 235 type: u64 236 - 237 name: rx-fifo-errors 238 type: u64 239 - 240 name: rx-missed-errors 241 type: u64 242 - 243 name: tx-aborted-errors 244 type: u64 245 - 246 name: tx-carrier-errors 247 type: u64 248 - 249 name: tx-fifo-errors 250 type: u64 251 - 252 name: tx-heartbeat-errors 253 type: u64 254 - 255 name: tx-window-errors 256 type: u64 257 - 258 name: rx-compressed 259 type: u64 260 - 261 name: tx-compressed 262 type: u64 263 - 264 name: rx-nohandler 265 type: u64 266 - 267 name: rx-otherhost-dropped 268 type: u64 269 - 270 name: rtnl-link-ifmap 271 type: struct 272 members: 273 - 274 name: mem-start 275 type: u64 276 - 277 name: mem-end 278 type: u64 279 - 280 name: base-addr 281 type: u64 282 - 283 name: irq 284 type: u16 285 - 286 name: dma 287 type: u8 288 - 289 name: port 290 type: u8 291 - 292 name: ipv4-devconf 293 type: struct 294 members: 295 - 296 name: forwarding 297 type: u32 298 - 299 name: mc-forwarding 300 type: u32 301 - 302 name: proxy-arp 303 type: u32 304 - 305 name: accept-redirects 306 type: u32 307 - 308 name: secure-redirects 309 type: u32 310 - 311 name: send-redirects 312 type: u32 313 - 314 name: shared-media 315 type: u32 316 - 317 name: rp-filter 318 type: u32 319 - 320 name: accept-source-route 321 type: u32 322 - 323 name: bootp-relay 324 type: u32 325 - 326 name: log-martians 327 type: u32 328 - 329 name: tag 330 type: u32 331 - 332 name: arpfilter 333 type: u32 334 - 335 name: medium-id 336 type: u32 337 - 338 name: noxfrm 339 type: u32 340 - 341 name: nopolicy 342 type: u32 343 - 344 name: force-igmp-version 345 type: u32 346 - 347 name: arp-announce 348 type: u32 349 - 350 name: arp-ignore 351 type: u32 352 - 353 name: promote-secondaries 354 type: u32 355 - 356 name: arp-accept 357 type: u32 358 - 359 name: arp-notify 360 type: u32 361 - 362 name: accept-local 363 type: u32 364 - 365 name: src-vmark 366 type: u32 367 - 368 name: proxy-arp-pvlan 369 type: u32 370 - 371 name: route-localnet 372 type: u32 373 - 374 name: igmpv2-unsolicited-report-interval 375 type: u32 376 - 377 name: igmpv3-unsolicited-report-interval 378 type: u32 379 - 380 name: ignore-routes-with-linkdown 381 type: u32 382 - 383 name: drop-unicast-in-l2-multicast 384 type: u32 385 - 386 name: drop-gratuitous-arp 387 type: u32 388 - 389 name: bc-forwarding 390 type: u32 391 - 392 name: arp-evict-nocarrier 393 type: u32 394 - 395 name: ipv6-devconf 396 type: struct 397 members: 398 - 399 name: forwarding 400 type: u32 401 - 402 name: hoplimit 403 type: u32 404 - 405 name: mtu6 406 type: u32 407 - 408 name: accept-ra 409 type: u32 410 - 411 name: accept-redirects 412 type: u32 413 - 414 name: autoconf 415 type: u32 416 - 417 name: dad-transmits 418 type: u32 419 - 420 name: rtr-solicits 421 type: u32 422 - 423 name: rtr-solicit-interval 424 type: u32 425 - 426 name: rtr-solicit-delay 427 type: u32 428 - 429 name: use-tempaddr 430 type: u32 431 - 432 name: temp-valid-lft 433 type: u32 434 - 435 name: temp-prefered-lft 436 type: u32 437 - 438 name: regen-max-retry 439 type: u32 440 - 441 name: max-desync-factor 442 type: u32 443 - 444 name: max-addresses 445 type: u32 446 - 447 name: force-mld-version 448 type: u32 449 - 450 name: accept-ra-defrtr 451 type: u32 452 - 453 name: accept-ra-pinfo 454 type: u32 455 - 456 name: accept-ra-rtr-pref 457 type: u32 458 - 459 name: rtr-probe-interval 460 type: u32 461 - 462 name: accept-ra-rt-info-max-plen 463 type: u32 464 - 465 name: proxy-ndp 466 type: u32 467 - 468 name: optimistic-dad 469 type: u32 470 - 471 name: accept-source-route 472 type: u32 473 - 474 name: mc-forwarding 475 type: u32 476 - 477 name: disable-ipv6 478 type: u32 479 - 480 name: accept-dad 481 type: u32 482 - 483 name: force-tllao 484 type: u32 485 - 486 name: ndisc-notify 487 type: u32 488 - 489 name: mldv1-unsolicited-report-interval 490 type: u32 491 - 492 name: mldv2-unsolicited-report-interval 493 type: u32 494 - 495 name: suppress-frag-ndisc 496 type: u32 497 - 498 name: accept-ra-from-local 499 type: u32 500 - 501 name: use-optimistic 502 type: u32 503 - 504 name: accept-ra-mtu 505 type: u32 506 - 507 name: stable-secret 508 type: u32 509 - 510 name: use-oif-addrs-only 511 type: u32 512 - 513 name: accept-ra-min-hop-limit 514 type: u32 515 - 516 name: ignore-routes-with-linkdown 517 type: u32 518 - 519 name: drop-unicast-in-l2-multicast 520 type: u32 521 - 522 name: drop-unsolicited-na 523 type: u32 524 - 525 name: keep-addr-on-down 526 type: u32 527 - 528 name: rtr-solicit-max-interval 529 type: u32 530 - 531 name: seg6-enabled 532 type: u32 533 - 534 name: seg6-require-hmac 535 type: u32 536 - 537 name: enhanced-dad 538 type: u32 539 - 540 name: addr-gen-mode 541 type: u8 542 - 543 name: disable-policy 544 type: u32 545 - 546 name: accept-ra-rt-info-min-plen 547 type: u32 548 - 549 name: ndisc-tclass 550 type: u32 551 - 552 name: rpl-seg-enabled 553 type: u32 554 - 555 name: ra-defrtr-metric 556 type: u32 557 - 558 name: ioam6-enabled 559 type: u32 560 - 561 name: ioam6-id 562 type: u32 563 - 564 name: ioam6-id-wide 565 type: u32 566 - 567 name: ndisc-evict-nocarrier 568 type: u32 569 - 570 name: accept-untracked-na 571 type: u32 572 - 573 name: ifla-icmp6-stats 574 type: struct 575 members: 576 - 577 name: inmsgs 578 type: u64 579 - 580 name: inerrors 581 type: u64 582 - 583 name: outmsgs 584 type: u64 585 - 586 name: outerrors 587 type: u64 588 - 589 name: csumerrors 590 type: u64 591 - 592 name: ratelimithost 593 type: u64 594 - 595 name: ifla-inet6-stats 596 type: struct 597 members: 598 - 599 name: inpkts 600 type: u64 601 - 602 name: inoctets 603 type: u64 604 - 605 name: indelivers 606 type: u64 607 - 608 name: outforwdatagrams 609 type: u64 610 - 611 name: outpkts 612 type: u64 613 - 614 name: outoctets 615 type: u64 616 - 617 name: inhdrerrors 618 type: u64 619 - 620 name: intoobigerrors 621 type: u64 622 - 623 name: innoroutes 624 type: u64 625 - 626 name: inaddrerrors 627 type: u64 628 - 629 name: inunknownprotos 630 type: u64 631 - 632 name: intruncatedpkts 633 type: u64 634 - 635 name: indiscards 636 type: u64 637 - 638 name: outdiscards 639 type: u64 640 - 641 name: outnoroutes 642 type: u64 643 - 644 name: reasmtimeout 645 type: u64 646 - 647 name: reasmreqds 648 type: u64 649 - 650 name: reasmoks 651 type: u64 652 - 653 name: reasmfails 654 type: u64 655 - 656 name: fragoks 657 type: u64 658 - 659 name: fragfails 660 type: u64 661 - 662 name: fragcreates 663 type: u64 664 - 665 name: inmcastpkts 666 type: u64 667 - 668 name: outmcastpkts 669 type: u64 670 - 671 name: inbcastpkts 672 type: u64 673 - 674 name: outbcastpkts 675 type: u64 676 - 677 name: inmcastoctets 678 type: u64 679 - 680 name: outmcastoctets 681 type: u64 682 - 683 name: inbcastoctets 684 type: u64 685 - 686 name: outbcastoctets 687 type: u64 688 - 689 name: csumerrors 690 type: u64 691 - 692 name: noectpkts 693 type: u64 694 - 695 name: ect1-pkts 696 type: u64 697 - 698 name: ect0-pkts 699 type: u64 700 - 701 name: cepkts 702 type: u64 703 - 704 name: reasm-overlaps 705 type: u64 706 - name: br-boolopt-multi 707 type: struct 708 members: 709 - 710 name: optval 711 type: u32 712 - 713 name: optmask 714 type: u32 715 - 716 name: if_stats_msg 717 type: struct 718 members: 719 - 720 name: family 721 type: u8 722 - 723 name: pad 724 type: pad 725 len: 3 726 - 727 name: ifindex 728 type: u32 729 - 730 name: filter-mask 731 type: u32 732 733 734attribute-sets: 735 - 736 name: link-attrs 737 name-prefix: ifla- 738 attributes: 739 - 740 name: address 741 type: binary 742 display-hint: mac 743 - 744 name: broadcast 745 type: binary 746 display-hint: mac 747 - 748 name: ifname 749 type: string 750 - 751 name: mtu 752 type: u32 753 - 754 name: link 755 type: u32 756 - 757 name: qdisc 758 type: string 759 - 760 name: stats 761 type: binary 762 struct: rtnl-link-stats 763 - 764 name: cost 765 type: string 766 - 767 name: priority 768 type: string 769 - 770 name: master 771 type: u32 772 - 773 name: wireless 774 type: string 775 - 776 name: protinfo 777 type: string 778 - 779 name: txqlen 780 type: u32 781 - 782 name: map 783 type: binary 784 struct: rtnl-link-ifmap 785 - 786 name: weight 787 type: u32 788 - 789 name: operstate 790 type: u8 791 - 792 name: linkmode 793 type: u8 794 - 795 name: linkinfo 796 type: nest 797 nested-attributes: linkinfo-attrs 798 - 799 name: net-ns-pid 800 type: u32 801 - 802 name: ifalias 803 type: string 804 - 805 name: num-vf 806 type: u32 807 - 808 name: vfinfo-list 809 type: nest 810 nested-attributes: vfinfo-attrs 811 - 812 name: stats64 813 type: binary 814 struct: rtnl-link-stats64 815 - 816 name: vf-ports 817 type: nest 818 nested-attributes: vf-ports-attrs 819 - 820 name: port-self 821 type: nest 822 nested-attributes: port-self-attrs 823 - 824 name: af-spec 825 type: nest 826 nested-attributes: af-spec-attrs 827 - 828 name: group 829 type: u32 830 - 831 name: net-ns-fd 832 type: u32 833 - 834 name: ext-mask 835 type: u32 836 - 837 name: promiscuity 838 type: u32 839 - 840 name: num-tx-queues 841 type: u32 842 - 843 name: num-rx-queues 844 type: u32 845 - 846 name: carrier 847 type: u8 848 - 849 name: phys-port-id 850 type: binary 851 - 852 name: carrier-changes 853 type: u32 854 - 855 name: phys-switch-id 856 type: binary 857 - 858 name: link-netnsid 859 type: s32 860 - 861 name: phys-port-name 862 type: string 863 - 864 name: proto-down 865 type: u8 866 - 867 name: gso-max-segs 868 type: u32 869 - 870 name: gso-max-size 871 type: u32 872 - 873 name: pad 874 type: pad 875 - 876 name: xdp 877 type: nest 878 nested-attributes: xdp-attrs 879 - 880 name: event 881 type: u32 882 - 883 name: new-netnsid 884 type: s32 885 - 886 name: target-netnsid 887 type: s32 888 - 889 name: carrier-up-count 890 type: u32 891 - 892 name: carrier-down-count 893 type: u32 894 - 895 name: new-ifindex 896 type: s32 897 - 898 name: min-mtu 899 type: u32 900 - 901 name: max-mtu 902 type: u32 903 - 904 name: prop-list 905 type: nest 906 nested-attributes: link-attrs 907 - 908 name: alt-ifname 909 type: string 910 multi-attr: true 911 - 912 name: perm-address 913 type: binary 914 display-hint: mac 915 - 916 name: proto-down-reason 917 type: string 918 - 919 name: parent-dev-name 920 type: string 921 - 922 name: parent-dev-bus-name 923 type: string 924 - 925 name: gro-max-size 926 type: u32 927 - 928 name: tso-max-size 929 type: u32 930 - 931 name: tso-max-segs 932 type: u32 933 - 934 name: allmulti 935 type: u32 936 - 937 name: devlink-port 938 type: binary 939 - 940 name: gso-ipv4-max-size 941 type: u32 942 - 943 name: gro-ipv4-max-size 944 type: u32 945 - 946 name: dpll-pin 947 type: nest 948 nested-attributes: link-dpll-pin-attrs 949 - 950 name: af-spec-attrs 951 attributes: 952 - 953 name: "inet" 954 type: nest 955 value: 2 956 nested-attributes: ifla-attrs 957 - 958 name: "inet6" 959 type: nest 960 value: 10 961 nested-attributes: ifla6-attrs 962 - 963 name: "mctp" 964 type: nest 965 value: 45 966 nested-attributes: mctp-attrs 967 - 968 name: vfinfo-attrs 969 attributes: [] 970 - 971 name: vf-ports-attrs 972 attributes: [] 973 - 974 name: port-self-attrs 975 attributes: [] 976 - 977 name: linkinfo-attrs 978 attributes: 979 - 980 name: kind 981 type: string 982 - 983 name: data 984 type: sub-message 985 sub-message: linkinfo-data-msg 986 selector: kind 987 - 988 name: xstats 989 type: binary 990 - 991 name: slave-kind 992 type: string 993 - 994 name: slave-data 995 type: sub-message 996 sub-message: linkinfo-member-data-msg 997 selector: slave-kind 998 - 999 name: linkinfo-bridge-attrs 1000 name-prefix: ifla-br- 1001 attributes: 1002 - 1003 name: forward-delay 1004 type: u32 1005 - 1006 name: hello-time 1007 type: u32 1008 - 1009 name: max-age 1010 type: u32 1011 - 1012 name: ageing-time 1013 type: u32 1014 - 1015 name: stp-state 1016 type: u32 1017 - 1018 name: priority 1019 type: u16 1020 - 1021 name: vlan-filtering 1022 type: u8 1023 - 1024 name: vlan-protocol 1025 type: u16 1026 - 1027 name: group-fwd-mask 1028 type: u16 1029 - 1030 name: root-id 1031 type: binary 1032 struct: ifla-bridge-id 1033 - 1034 name: bridge-id 1035 type: binary 1036 struct: ifla-bridge-id 1037 - 1038 name: root-port 1039 type: u16 1040 - 1041 name: root-path-cost 1042 type: u32 1043 - 1044 name: topology-change 1045 type: u8 1046 - 1047 name: topology-change-detected 1048 type: u8 1049 - 1050 name: hello-timer 1051 type: u64 1052 - 1053 name: tcn-timer 1054 type: u64 1055 - 1056 name: topology-change-timer 1057 type: u64 1058 - 1059 name: gc-timer 1060 type: u64 1061 - 1062 name: group-addr 1063 type: binary 1064 display-hint: mac 1065 - 1066 name: fdb-flush 1067 type: binary 1068 - 1069 name: mcast-router 1070 type: u8 1071 - 1072 name: mcast-snooping 1073 type: u8 1074 - 1075 name: mcast-query-use-ifaddr 1076 type: u8 1077 - 1078 name: mcast-querier 1079 type: u8 1080 - 1081 name: mcast-hash-elasticity 1082 type: u32 1083 - 1084 name: mcast-hash-max 1085 type: u32 1086 - 1087 name: mcast-last-member-cnt 1088 type: u32 1089 - 1090 name: mcast-startup-query-cnt 1091 type: u32 1092 - 1093 name: mcast-last-member-intvl 1094 type: u64 1095 - 1096 name: mcast-membership-intvl 1097 type: u64 1098 - 1099 name: mcast-querier-intvl 1100 type: u64 1101 - 1102 name: mcast-query-intvl 1103 type: u64 1104 - 1105 name: mcast-query-response-intvl 1106 type: u64 1107 - 1108 name: mcast-startup-query-intvl 1109 type: u64 1110 - 1111 name: nf-call-iptables 1112 type: u8 1113 - 1114 name: nf-call-ip6-tables 1115 type: u8 1116 - 1117 name: nf-call-arptables 1118 type: u8 1119 - 1120 name: vlan-default-pvid 1121 type: u16 1122 - 1123 name: pad 1124 type: pad 1125 - 1126 name: vlan-stats-enabled 1127 type: u8 1128 - 1129 name: mcast-stats-enabled 1130 type: u8 1131 - 1132 name: mcast-igmp-version 1133 type: u8 1134 - 1135 name: mcast-mld-version 1136 type: u8 1137 - 1138 name: vlan-stats-per-port 1139 type: u8 1140 - 1141 name: multi-boolopt 1142 type: binary 1143 struct: br-boolopt-multi 1144 - 1145 name: mcast-querier-state 1146 type: binary 1147 - 1148 name: linkinfo-brport-attrs 1149 name-prefix: ifla-brport- 1150 attributes: 1151 - 1152 name: state 1153 type: u8 1154 - 1155 name: priority 1156 type: u16 1157 - 1158 name: cost 1159 type: u32 1160 - 1161 name: mode 1162 type: flag 1163 - 1164 name: guard 1165 type: flag 1166 - 1167 name: protect 1168 type: flag 1169 - 1170 name: fast-leave 1171 type: flag 1172 - 1173 name: learning 1174 type: flag 1175 - 1176 name: unicast-flood 1177 type: flag 1178 - 1179 name: proxyarp 1180 type: flag 1181 - 1182 name: learning-sync 1183 type: flag 1184 - 1185 name: proxyarp-wifi 1186 type: flag 1187 - 1188 name: root-id 1189 type: binary 1190 struct: ifla-bridge-id 1191 - 1192 name: bridge-id 1193 type: binary 1194 struct: ifla-bridge-id 1195 - 1196 name: designated-port 1197 type: u16 1198 - 1199 name: designated-cost 1200 type: u16 1201 - 1202 name: id 1203 type: u16 1204 - 1205 name: "no" 1206 type: u16 1207 - 1208 name: topology-change-ack 1209 type: u8 1210 - 1211 name: config-pending 1212 type: u8 1213 - 1214 name: message-age-timer 1215 type: u64 1216 - 1217 name: forward-delay-timer 1218 type: u64 1219 - 1220 name: hold-timer 1221 type: u64 1222 - 1223 name: flush 1224 type: flag 1225 - 1226 name: multicast-router 1227 type: u8 1228 - 1229 name: pad 1230 type: pad 1231 - 1232 name: mcast-flood 1233 type: flag 1234 - 1235 name: mcast-to-ucast 1236 type: flag 1237 - 1238 name: vlan-tunnel 1239 type: flag 1240 - 1241 name: bcast-flood 1242 type: flag 1243 - 1244 name: group-fwd-mask 1245 type: u16 1246 - 1247 name: neigh-suppress 1248 type: flag 1249 - 1250 name: isolated 1251 type: flag 1252 - 1253 name: backup-port 1254 type: u32 1255 - 1256 name: mrp-ring-open 1257 type: flag 1258 - 1259 name: mrp-in-open 1260 type: flag 1261 - 1262 name: mcast-eht-hosts-limit 1263 type: u32 1264 - 1265 name: mcast-eht-hosts-cnt 1266 type: u32 1267 - 1268 name: locked 1269 type: flag 1270 - 1271 name: mab 1272 type: flag 1273 - 1274 name: mcast-n-groups 1275 type: u32 1276 - 1277 name: mcast-max-groups 1278 type: u32 1279 - 1280 name: neigh-vlan-suppress 1281 type: flag 1282 - 1283 name: backup-nhid 1284 type: u32 1285 - 1286 name: linkinfo-gre-attrs 1287 name-prefix: ifla-gre- 1288 attributes: 1289 - 1290 name: link 1291 type: u32 1292 - 1293 name: iflags 1294 type: u16 1295 - 1296 name: oflags 1297 type: u16 1298 - 1299 name: ikey 1300 type: u32 1301 - 1302 name: okey 1303 type: u32 1304 - 1305 name: local 1306 type: binary 1307 display-hint: ipv4 1308 - 1309 name: remote 1310 type: binary 1311 display-hint: ipv4 1312 - 1313 name: ttl 1314 type: u8 1315 - 1316 name: tos 1317 type: u8 1318 - 1319 name: pmtudisc 1320 type: u8 1321 - 1322 name: encap-limit 1323 type: u32 1324 - 1325 name: flowinfo 1326 type: u32 1327 - 1328 name: flags 1329 type: u32 1330 - 1331 name: encap-type 1332 type: u16 1333 - 1334 name: encap-flags 1335 type: u16 1336 - 1337 name: encap-sport 1338 type: u16 1339 - 1340 name: encap-dport 1341 type: u16 1342 - 1343 name: collect-metadata 1344 type: flag 1345 - 1346 name: ignore-df 1347 type: u8 1348 - 1349 name: fwmark 1350 type: u32 1351 - 1352 name: erspan-index 1353 type: u32 1354 - 1355 name: erspan-ver 1356 type: u8 1357 - 1358 name: erspan-dir 1359 type: u8 1360 - 1361 name: erspan-hwid 1362 type: u16 1363 - 1364 name: linkinfo-geneve-attrs 1365 name-prefix: ifla-geneve- 1366 attributes: 1367 - 1368 name: id 1369 type: u32 1370 - 1371 name: remote 1372 type: binary 1373 display-hint: ipv4 1374 - 1375 name: ttl 1376 type: u8 1377 - 1378 name: tos 1379 type: u8 1380 - 1381 name: port 1382 type: u16 1383 - 1384 name: collect-metadata 1385 type: flag 1386 - 1387 name: remote6 1388 type: binary 1389 display-hint: ipv6 1390 - 1391 name: udp-csum 1392 type: u8 1393 - 1394 name: udp-zero-csum6-tx 1395 type: u8 1396 - 1397 name: udp-zero-csum6-rx 1398 type: u8 1399 - 1400 name: label 1401 type: u32 1402 - 1403 name: ttl-inherit 1404 type: u8 1405 - 1406 name: df 1407 type: u8 1408 - 1409 name: inner-proto-inherit 1410 type: flag 1411 - 1412 name: linkinfo-iptun-attrs 1413 name-prefix: ifla-iptun- 1414 attributes: 1415 - 1416 name: link 1417 type: u32 1418 - 1419 name: local 1420 type: binary 1421 display-hint: ipv4 1422 - 1423 name: remote 1424 type: binary 1425 display-hint: ipv4 1426 - 1427 name: ttl 1428 type: u8 1429 - 1430 name: tos 1431 type: u8 1432 - 1433 name: encap-limit 1434 type: u8 1435 - 1436 name: flowinfo 1437 type: u32 1438 - 1439 name: flags 1440 type: u16 1441 - 1442 name: proto 1443 type: u8 1444 - 1445 name: pmtudisc 1446 type: u8 1447 - 1448 name: 6rd-prefix 1449 type: binary 1450 display-hint: ipv6 1451 - 1452 name: 6rd-relay-prefix 1453 type: binary 1454 display-hint: ipv4 1455 - 1456 name: 6rd-prefixlen 1457 type: u16 1458 - 1459 name: 6rd-relay-prefixlen 1460 type: u16 1461 - 1462 name: encap-type 1463 type: u16 1464 - 1465 name: encap-flags 1466 type: u16 1467 - 1468 name: encap-sport 1469 type: u16 1470 - 1471 name: encap-dport 1472 type: u16 1473 - 1474 name: collect-metadata 1475 type: flag 1476 - 1477 name: fwmark 1478 type: u32 1479 - 1480 name: linkinfo-tun-attrs 1481 name-prefix: ifla-tun- 1482 attributes: 1483 - 1484 name: owner 1485 type: u32 1486 - 1487 name: group 1488 type: u32 1489 - 1490 name: type 1491 type: u8 1492 - 1493 name: pi 1494 type: u8 1495 - 1496 name: vnet-hdr 1497 type: u8 1498 - 1499 name: persist 1500 type: u8 1501 - 1502 name: multi-queue 1503 type: u8 1504 - 1505 name: num-queues 1506 type: u32 1507 - 1508 name: num-disabled-queues 1509 type: u32 1510 - 1511 name: linkinfo-vrf-attrs 1512 name-prefix: ifla-vrf- 1513 attributes: 1514 - 1515 name: table 1516 type: u32 1517 - 1518 name: xdp-attrs 1519 attributes: 1520 - 1521 name: fd 1522 type: s32 1523 - 1524 name: attached 1525 type: u8 1526 - 1527 name: flags 1528 type: u32 1529 - 1530 name: prog-id 1531 type: u32 1532 - 1533 name: drv-prog-id 1534 type: u32 1535 - 1536 name: skb-prog-id 1537 type: u32 1538 - 1539 name: hw-prog-id 1540 type: u32 1541 - 1542 name: expected-fd 1543 type: s32 1544 - 1545 name: ifla-attrs 1546 attributes: 1547 - 1548 name: conf 1549 type: binary 1550 struct: ipv4-devconf 1551 - 1552 name: ifla6-attrs 1553 attributes: 1554 - 1555 name: flags 1556 type: u32 1557 - 1558 name: conf 1559 type: binary 1560 struct: ipv6-devconf 1561 - 1562 name: stats 1563 type: binary 1564 struct: ifla-inet6-stats 1565 - 1566 name: mcast 1567 type: binary 1568 - 1569 name: cacheinfo 1570 type: binary 1571 struct: ifla-cacheinfo 1572 - 1573 name: icmp6-stats 1574 type: binary 1575 struct: ifla-icmp6-stats 1576 - 1577 name: token 1578 type: binary 1579 - 1580 name: addr-gen-mode 1581 type: u8 1582 - 1583 name: ra-mtu 1584 type: u32 1585 - 1586 name: mctp-attrs 1587 attributes: 1588 - 1589 name: mctp-net 1590 type: u32 1591 - 1592 name: stats-attrs 1593 name-prefix: ifla-stats- 1594 attributes: 1595 - 1596 name: link-64 1597 type: binary 1598 struct: rtnl-link-stats64 1599 - 1600 name: link-xstats 1601 type: binary 1602 - 1603 name: link-xstats-slave 1604 type: binary 1605 - 1606 name: link-offload-xstats 1607 type: nest 1608 nested-attributes: link-offload-xstats 1609 - 1610 name: af-spec 1611 type: binary 1612 - 1613 name: link-offload-xstats 1614 attributes: 1615 - 1616 name: cpu-hit 1617 type: binary 1618 - 1619 name: hw-s-info 1620 type: array-nest 1621 nested-attributes: hw-s-info-one 1622 - 1623 name: l3-stats 1624 type: binary 1625 - 1626 name: hw-s-info-one 1627 attributes: 1628 - 1629 name: request 1630 type: u8 1631 - 1632 name: used 1633 type: u8 1634 - 1635 name: link-dpll-pin-attrs 1636 attributes: 1637 - 1638 name: id 1639 type: u32 1640 1641sub-messages: 1642 - 1643 name: linkinfo-data-msg 1644 formats: 1645 - 1646 value: bridge 1647 attribute-set: linkinfo-bridge-attrs 1648 - 1649 value: erspan 1650 attribute-set: linkinfo-gre-attrs 1651 - 1652 value: gre 1653 attribute-set: linkinfo-gre-attrs 1654 - 1655 value: gretap 1656 attribute-set: linkinfo-gre-attrs 1657 - 1658 value: geneve 1659 attribute-set: linkinfo-geneve-attrs 1660 - 1661 value: ipip 1662 attribute-set: linkinfo-iptun-attrs 1663 - 1664 value: sit 1665 attribute-set: linkinfo-iptun-attrs 1666 - 1667 value: tun 1668 attribute-set: linkinfo-tun-attrs 1669 - 1670 value: vrf 1671 attribute-set: linkinfo-vrf-attrs 1672 - 1673 name: linkinfo-member-data-msg 1674 formats: 1675 - 1676 value: bridge 1677 attribute-set: linkinfo-brport-attrs 1678 - 1679 value: bond 1680 1681operations: 1682 enum-model: directional 1683 list: 1684 - 1685 name: newlink 1686 doc: Create a new link. 1687 attribute-set: link-attrs 1688 fixed-header: ifinfomsg 1689 do: 1690 request: 1691 value: 16 1692 attributes: &link-new-attrs 1693 - ifi-index 1694 - ifname 1695 - net-ns-pid 1696 - net-ns-fd 1697 - target-netnsid 1698 - link-netnsid 1699 - linkinfo 1700 - group 1701 - num-tx-queues 1702 - num-rx-queues 1703 - address 1704 - broadcast 1705 - mtu 1706 - txqlen 1707 - operstate 1708 - linkmode 1709 - group 1710 - gso-max-size 1711 - gso-max-segs 1712 - gro-max-size 1713 - gso-ipv4-max-size 1714 - gro-ipv4-max-size 1715 - af-spec 1716 - 1717 name: dellink 1718 doc: Delete an existing link. 1719 attribute-set: link-attrs 1720 fixed-header: ifinfomsg 1721 do: 1722 request: 1723 value: 17 1724 attributes: 1725 - ifi-index 1726 - ifname 1727 - 1728 name: getlink 1729 doc: Get / dump information about a link. 1730 attribute-set: link-attrs 1731 fixed-header: ifinfomsg 1732 do: 1733 request: 1734 value: 18 1735 attributes: 1736 - ifi-index 1737 - ifname 1738 - alt-ifname 1739 - ext-mask 1740 - target-netnsid 1741 reply: 1742 value: 16 1743 attributes: &link-all-attrs 1744 - ifi-family 1745 - ifi-type 1746 - ifi-index 1747 - ifi-flags 1748 - ifi-change 1749 - address 1750 - broadcast 1751 - ifname 1752 - mtu 1753 - link 1754 - qdisc 1755 - stats 1756 - cost 1757 - priority 1758 - master 1759 - wireless 1760 - protinfo 1761 - txqlen 1762 - map 1763 - weight 1764 - operstate 1765 - linkmode 1766 - linkinfo 1767 - net-ns-pid 1768 - ifalias 1769 - num-vf 1770 - vfinfo-list 1771 - stats64 1772 - vf-ports 1773 - port-self 1774 - af-spec 1775 - group 1776 - net-ns-fd 1777 - ext-mask 1778 - promiscuity 1779 - num-tx-queues 1780 - num-rx-queues 1781 - carrier 1782 - phys-port-id 1783 - carrier-changes 1784 - phys-switch-id 1785 - link-netnsid 1786 - phys-port-name 1787 - proto-down 1788 - gso-max-segs 1789 - gso-max-size 1790 - pad 1791 - xdp 1792 - event 1793 - new-netnsid 1794 - if-netnsid 1795 - target-netnsid 1796 - carrier-up-count 1797 - carrier-down-count 1798 - new-ifindex 1799 - min-mtu 1800 - max-mtu 1801 - prop-list 1802 - alt-ifname 1803 - perm-address 1804 - proto-down-reason 1805 - parent-dev-name 1806 - parent-dev-bus-name 1807 - gro-max-size 1808 - tso-max-size 1809 - tso-max-segs 1810 - allmulti 1811 - devlink-port 1812 - gso-ipv4-max-size 1813 - gro-ipv4-max-size 1814 dump: 1815 request: 1816 value: 18 1817 attributes: 1818 - target-netnsid 1819 - ext-mask 1820 - master 1821 - linkinfo 1822 reply: 1823 value: 16 1824 attributes: *link-all-attrs 1825 - 1826 name: setlink 1827 doc: Set information about a link. 1828 attribute-set: link-attrs 1829 fixed-header: ifinfomsg 1830 do: 1831 request: 1832 value: 19 1833 attributes: *link-all-attrs 1834 - 1835 name: getstats 1836 doc: Get / dump link stats. 1837 attribute-set: stats-attrs 1838 fixed-header: if_stats_msg 1839 do: 1840 request: 1841 value: 94 1842 attributes: 1843 - ifindex 1844 reply: 1845 value: 92 1846 attributes: &link-stats-attrs 1847 - family 1848 - ifindex 1849 - filter-mask 1850 - link-64 1851 - link-xstats 1852 - link-xstats-slave 1853 - link-offload-xstats 1854 - af-spec 1855 dump: 1856 request: 1857 value: 94 1858 reply: 1859 value: 92 1860 attributes: *link-stats-attrs 1861 1862mcast-groups: 1863 list: 1864 - 1865 name: rtnlgrp-link 1866 value: 1 1867 - 1868 name: rtnlgrp-stats 1869 value: 36 1870