~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/netlink/specs/rt_link.yaml

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /Documentation/netlink/specs/rt_link.yaml (Version linux-6.12-rc7) and /Documentation/netlink/specs/rt_link.yaml (Version linux-4.9.337)


  1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linu    
  2                                                   
  3 name: rt-link                                     
  4 protocol: netlink-raw                             
  5 protonum: 0                                       
  6                                                   
  7 doc:                                              
  8   Link configuration over rtnetlink.              
  9                                                   
 10 definitions:                                      
 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     name: vlan-protocols                          
 55     type: enum                                    
 56     entries:                                      
 57       -                                           
 58         name: 8021q                               
 59         value: 33024                              
 60       -                                           
 61         name: 8021ad                              
 62         value: 34984                              
 63   -                                               
 64     name: rtgenmsg                                
 65     type: struct                                  
 66     members:                                      
 67       -                                           
 68         name: family                              
 69         type: u8                                  
 70   -                                               
 71     name: ifinfomsg                               
 72     type: struct                                  
 73     members:                                      
 74       -                                           
 75         name: ifi-family                          
 76         type: u8                                  
 77       -                                           
 78         name: pad                                 
 79         type: pad                                 
 80         len: 1                                    
 81       -                                           
 82         name: ifi-type                            
 83         type: u16                                 
 84       -                                           
 85         name: ifi-index                           
 86         type: s32                                 
 87       -                                           
 88         name: ifi-flags                           
 89         type: u32                                 
 90         enum: ifinfo-flags                        
 91         enum-as-flags: true                       
 92       -                                           
 93         name: ifi-change                          
 94         type: u32                                 
 95   -                                               
 96     name: ifla-bridge-id                          
 97     type: struct                                  
 98     members:                                      
 99       -                                           
100         name: prio                                
101         type: u16                                 
102       -                                           
103         name: addr                                
104         type: binary                              
105         len: 6                                    
106         display-hint: mac                         
107   -                                               
108     name: ifla-cacheinfo                          
109     type: struct                                  
110     members:                                      
111       -                                           
112         name: max-reasm-len                       
113         type: u32                                 
114       -                                           
115         name: tstamp                              
116         type: u32                                 
117       -                                           
118         name: reachable-time                      
119         type: s32                                 
120       -                                           
121         name: retrans-time                        
122         type: u32                                 
123   -                                               
124     name: rtnl-link-stats                         
125     type: struct                                  
126     members:                                      
127       -                                           
128         name: rx-packets                          
129         type: u32                                 
130       -                                           
131         name: tx-packets                          
132         type: u32                                 
133       -                                           
134         name: rx-bytes                            
135         type: u32                                 
136       -                                           
137         name: tx-bytes                            
138         type: u32                                 
139       -                                           
140         name: rx-errors                           
141         type: u32                                 
142       -                                           
143         name: tx-errors                           
144         type: u32                                 
145       -                                           
146         name: rx-dropped                          
147         type: u32                                 
148       -                                           
149         name: tx-dropped                          
150         type: u32                                 
151       -                                           
152         name: multicast                           
153         type: u32                                 
154       -                                           
155         name: collisions                          
156         type: u32                                 
157       -                                           
158         name: rx-length-errors                    
159         type: u32                                 
160       -                                           
161         name: rx-over-errors                      
162         type: u32                                 
163       -                                           
164         name: rx-crc-errors                       
165         type: u32                                 
166       -                                           
167         name: rx-frame-errors                     
168         type: u32                                 
169       -                                           
170         name: rx-fifo-errors                      
171         type: u32                                 
172       -                                           
173         name: rx-missed-errors                    
174         type: u32                                 
175       -                                           
176         name: tx-aborted-errors                   
177         type: u32                                 
178       -                                           
179         name: tx-carrier-errors                   
180         type: u32                                 
181       -                                           
182         name: tx-fifo-errors                      
183         type: u32                                 
184       -                                           
185         name: tx-heartbeat-errors                 
186         type: u32                                 
187       -                                           
188         name: tx-window-errors                    
189         type: u32                                 
190       -                                           
191         name: rx-compressed                       
192         type: u32                                 
193       -                                           
194         name: tx-compressed                       
195         type: u32                                 
196       -                                           
197         name: rx-nohandler                        
198         type: u32                                 
199   -                                               
200     name: rtnl-link-stats64                       
201     type: struct                                  
202     members:                                      
203       -                                           
204         name: rx-packets                          
205         type: u64                                 
206       -                                           
207         name: tx-packets                          
208         type: u64                                 
209       -                                           
210         name: rx-bytes                            
211         type: u64                                 
212       -                                           
213         name: tx-bytes                            
214         type: u64                                 
215       -                                           
216         name: rx-errors                           
217         type: u64                                 
218       -                                           
219         name: tx-errors                           
220         type: u64                                 
221       -                                           
222         name: rx-dropped                          
223         type: u64                                 
224       -                                           
225         name: tx-dropped                          
226         type: u64                                 
227       -                                           
228         name: multicast                           
229         type: u64                                 
230       -                                           
231         name: collisions                          
232         type: u64                                 
233       -                                           
234         name: rx-length-errors                    
235         type: u64                                 
236       -                                           
237         name: rx-over-errors                      
238         type: u64                                 
239       -                                           
240         name: rx-crc-errors                       
241         type: u64                                 
242       -                                           
243         name: rx-frame-errors                     
244         type: u64                                 
245       -                                           
246         name: rx-fifo-errors                      
247         type: u64                                 
248       -                                           
249         name: rx-missed-errors                    
250         type: u64                                 
251       -                                           
252         name: tx-aborted-errors                   
253         type: u64                                 
254       -                                           
255         name: tx-carrier-errors                   
256         type: u64                                 
257       -                                           
258         name: tx-fifo-errors                      
259         type: u64                                 
260       -                                           
261         name: tx-heartbeat-errors                 
262         type: u64                                 
263       -                                           
264         name: tx-window-errors                    
265         type: u64                                 
266       -                                           
267         name: rx-compressed                       
268         type: u64                                 
269       -                                           
270         name: tx-compressed                       
271         type: u64                                 
272       -                                           
273         name: rx-nohandler                        
274         type: u64                                 
275       -                                           
276         name: rx-otherhost-dropped                
277         type: u64                                 
278   -                                               
279     name: rtnl-link-ifmap                         
280     type: struct                                  
281     members:                                      
282       -                                           
283         name: mem-start                           
284         type: u64                                 
285       -                                           
286         name: mem-end                             
287         type: u64                                 
288       -                                           
289         name: base-addr                           
290         type: u64                                 
291       -                                           
292         name: irq                                 
293         type: u16                                 
294       -                                           
295         name: dma                                 
296         type: u8                                  
297       -                                           
298         name: port                                
299         type: u8                                  
300   -                                               
301     name: ipv4-devconf                            
302     type: struct                                  
303     members:                                      
304       -                                           
305         name: forwarding                          
306         type: u32                                 
307       -                                           
308         name: mc-forwarding                       
309         type: u32                                 
310       -                                           
311         name: proxy-arp                           
312         type: u32                                 
313       -                                           
314         name: accept-redirects                    
315         type: u32                                 
316       -                                           
317         name: secure-redirects                    
318         type: u32                                 
319       -                                           
320         name: send-redirects                      
321         type: u32                                 
322       -                                           
323         name: shared-media                        
324         type: u32                                 
325       -                                           
326         name: rp-filter                           
327         type: u32                                 
328       -                                           
329         name: accept-source-route                 
330         type: u32                                 
331       -                                           
332         name: bootp-relay                         
333         type: u32                                 
334       -                                           
335         name: log-martians                        
336         type: u32                                 
337       -                                           
338         name: tag                                 
339         type: u32                                 
340       -                                           
341         name: arpfilter                           
342         type: u32                                 
343       -                                           
344         name: medium-id                           
345         type: u32                                 
346       -                                           
347         name: noxfrm                              
348         type: u32                                 
349       -                                           
350         name: nopolicy                            
351         type: u32                                 
352       -                                           
353         name: force-igmp-version                  
354         type: u32                                 
355       -                                           
356         name: arp-announce                        
357         type: u32                                 
358       -                                           
359         name: arp-ignore                          
360         type: u32                                 
361       -                                           
362         name: promote-secondaries                 
363         type: u32                                 
364       -                                           
365         name: arp-accept                          
366         type: u32                                 
367       -                                           
368         name: arp-notify                          
369         type: u32                                 
370       -                                           
371         name: accept-local                        
372         type: u32                                 
373       -                                           
374         name: src-vmark                           
375         type: u32                                 
376       -                                           
377         name: proxy-arp-pvlan                     
378         type: u32                                 
379       -                                           
380         name: route-localnet                      
381         type: u32                                 
382       -                                           
383         name: igmpv2-unsolicited-report-interv    
384         type: u32                                 
385       -                                           
386         name: igmpv3-unsolicited-report-interv    
387         type: u32                                 
388       -                                           
389         name: ignore-routes-with-linkdown         
390         type: u32                                 
391       -                                           
392         name: drop-unicast-in-l2-multicast        
393         type: u32                                 
394       -                                           
395         name: drop-gratuitous-arp                 
396         type: u32                                 
397       -                                           
398         name: bc-forwarding                       
399         type: u32                                 
400       -                                           
401         name: arp-evict-nocarrier                 
402         type: u32                                 
403   -                                               
404     name: ipv6-devconf                            
405     type: struct                                  
406     members:                                      
407       -                                           
408         name: forwarding                          
409         type: u32                                 
410       -                                           
411         name: hoplimit                            
412         type: u32                                 
413       -                                           
414         name: mtu6                                
415         type: u32                                 
416       -                                           
417         name: accept-ra                           
418         type: u32                                 
419       -                                           
420         name: accept-redirects                    
421         type: u32                                 
422       -                                           
423         name: autoconf                            
424         type: u32                                 
425       -                                           
426         name: dad-transmits                       
427         type: u32                                 
428       -                                           
429         name: rtr-solicits                        
430         type: u32                                 
431       -                                           
432         name: rtr-solicit-interval                
433         type: u32                                 
434       -                                           
435         name: rtr-solicit-delay                   
436         type: u32                                 
437       -                                           
438         name: use-tempaddr                        
439         type: u32                                 
440       -                                           
441         name: temp-valid-lft                      
442         type: u32                                 
443       -                                           
444         name: temp-prefered-lft                   
445         type: u32                                 
446       -                                           
447         name: regen-max-retry                     
448         type: u32                                 
449       -                                           
450         name: max-desync-factor                   
451         type: u32                                 
452       -                                           
453         name: max-addresses                       
454         type: u32                                 
455       -                                           
456         name: force-mld-version                   
457         type: u32                                 
458       -                                           
459         name: accept-ra-defrtr                    
460         type: u32                                 
461       -                                           
462         name: accept-ra-pinfo                     
463         type: u32                                 
464       -                                           
465         name: accept-ra-rtr-pref                  
466         type: u32                                 
467       -                                           
468         name: rtr-probe-interval                  
469         type: u32                                 
470       -                                           
471         name: accept-ra-rt-info-max-plen          
472         type: u32                                 
473       -                                           
474         name: proxy-ndp                           
475         type: u32                                 
476       -                                           
477         name: optimistic-dad                      
478         type: u32                                 
479       -                                           
480         name: accept-source-route                 
481         type: u32                                 
482       -                                           
483         name: mc-forwarding                       
484         type: u32                                 
485       -                                           
486         name: disable-ipv6                        
487         type: u32                                 
488       -                                           
489         name: accept-dad                          
490         type: u32                                 
491       -                                           
492         name: force-tllao                         
493         type: u32                                 
494       -                                           
495         name: ndisc-notify                        
496         type: u32                                 
497       -                                           
498         name: mldv1-unsolicited-report-interva    
499         type: u32                                 
500       -                                           
501         name: mldv2-unsolicited-report-interva    
502         type: u32                                 
503       -                                           
504         name: suppress-frag-ndisc                 
505         type: u32                                 
506       -                                           
507         name: accept-ra-from-local                
508         type: u32                                 
509       -                                           
510         name: use-optimistic                      
511         type: u32                                 
512       -                                           
513         name: accept-ra-mtu                       
514         type: u32                                 
515       -                                           
516         name: stable-secret                       
517         type: u32                                 
518       -                                           
519         name: use-oif-addrs-only                  
520         type: u32                                 
521       -                                           
522         name: accept-ra-min-hop-limit             
523         type: u32                                 
524       -                                           
525         name: ignore-routes-with-linkdown         
526         type: u32                                 
527       -                                           
528         name: drop-unicast-in-l2-multicast        
529         type: u32                                 
530       -                                           
531         name: drop-unsolicited-na                 
532         type: u32                                 
533       -                                           
534         name: keep-addr-on-down                   
535         type: u32                                 
536       -                                           
537         name: rtr-solicit-max-interval            
538         type: u32                                 
539       -                                           
540         name: seg6-enabled                        
541         type: u32                                 
542       -                                           
543         name: seg6-require-hmac                   
544         type: u32                                 
545       -                                           
546         name: enhanced-dad                        
547         type: u32                                 
548       -                                           
549         name: addr-gen-mode                       
550         type: u8                                  
551       -                                           
552         name: disable-policy                      
553         type: u32                                 
554       -                                           
555         name: accept-ra-rt-info-min-plen          
556         type: u32                                 
557       -                                           
558         name: ndisc-tclass                        
559         type: u32                                 
560       -                                           
561         name: rpl-seg-enabled                     
562         type: u32                                 
563       -                                           
564         name: ra-defrtr-metric                    
565         type: u32                                 
566       -                                           
567         name: ioam6-enabled                       
568         type: u32                                 
569       -                                           
570         name: ioam6-id                            
571         type: u32                                 
572       -                                           
573         name: ioam6-id-wide                       
574         type: u32                                 
575       -                                           
576         name: ndisc-evict-nocarrier               
577         type: u32                                 
578       -                                           
579         name: accept-untracked-na                 
580         type: u32                                 
581   -                                               
582     name: ifla-icmp6-stats                        
583     type: struct                                  
584     members:                                      
585       -                                           
586         name: inmsgs                              
587         type: u64                                 
588       -                                           
589         name: inerrors                            
590         type: u64                                 
591       -                                           
592         name: outmsgs                             
593         type: u64                                 
594       -                                           
595         name: outerrors                           
596         type: u64                                 
597       -                                           
598         name: csumerrors                          
599         type: u64                                 
600       -                                           
601         name: ratelimithost                       
602         type: u64                                 
603   -                                               
604     name: ifla-inet6-stats                        
605     type: struct                                  
606     members:                                      
607       -                                           
608         name: inpkts                              
609         type: u64                                 
610       -                                           
611         name: inoctets                            
612         type: u64                                 
613       -                                           
614         name: indelivers                          
615         type: u64                                 
616       -                                           
617         name: outforwdatagrams                    
618         type: u64                                 
619       -                                           
620         name: outpkts                             
621         type: u64                                 
622       -                                           
623         name: outoctets                           
624         type: u64                                 
625       -                                           
626         name: inhdrerrors                         
627         type: u64                                 
628       -                                           
629         name: intoobigerrors                      
630         type: u64                                 
631       -                                           
632         name: innoroutes                          
633         type: u64                                 
634       -                                           
635         name: inaddrerrors                        
636         type: u64                                 
637       -                                           
638         name: inunknownprotos                     
639         type: u64                                 
640       -                                           
641         name: intruncatedpkts                     
642         type: u64                                 
643       -                                           
644         name: indiscards                          
645         type: u64                                 
646       -                                           
647         name: outdiscards                         
648         type: u64                                 
649       -                                           
650         name: outnoroutes                         
651         type: u64                                 
652       -                                           
653         name: reasmtimeout                        
654         type: u64                                 
655       -                                           
656         name: reasmreqds                          
657         type: u64                                 
658       -                                           
659         name: reasmoks                            
660         type: u64                                 
661       -                                           
662         name: reasmfails                          
663         type: u64                                 
664       -                                           
665         name: fragoks                             
666         type: u64                                 
667       -                                           
668         name: fragfails                           
669         type: u64                                 
670       -                                           
671         name: fragcreates                         
672         type: u64                                 
673       -                                           
674         name: inmcastpkts                         
675         type: u64                                 
676       -                                           
677         name: outmcastpkts                        
678         type: u64                                 
679       -                                           
680         name: inbcastpkts                         
681         type: u64                                 
682       -                                           
683         name: outbcastpkts                        
684         type: u64                                 
685       -                                           
686         name: inmcastoctets                       
687         type: u64                                 
688       -                                           
689         name: outmcastoctets                      
690         type: u64                                 
691       -                                           
692         name: inbcastoctets                       
693         type: u64                                 
694       -                                           
695         name: outbcastoctets                      
696         type: u64                                 
697       -                                           
698         name: csumerrors                          
699         type: u64                                 
700       -                                           
701         name: noectpkts                           
702         type: u64                                 
703       -                                           
704         name: ect1-pkts                           
705         type: u64                                 
706       -                                           
707         name: ect0-pkts                           
708         type: u64                                 
709       -                                           
710         name: cepkts                              
711         type: u64                                 
712       -                                           
713         name: reasm-overlaps                      
714         type: u64                                 
715   - name: br-boolopt-multi                        
716     type: struct                                  
717     members:                                      
718       -                                           
719         name: optval                              
720         type: u32                                 
721       -                                           
722         name: optmask                             
723         type: u32                                 
724   -                                               
725     name: if_stats_msg                            
726     type: struct                                  
727     members:                                      
728       -                                           
729         name: family                              
730         type: u8                                  
731       -                                           
732         name: pad                                 
733         type: pad                                 
734         len: 3                                    
735       -                                           
736         name: ifindex                             
737         type: u32                                 
738       -                                           
739         name: filter-mask                         
740         type: u32                                 
741   -                                               
742     name: ifla-vlan-flags                         
743     type: struct                                  
744     members:                                      
745       -                                           
746         name: flags                               
747         type: u32                                 
748         enum: vlan-flags                          
749         enum-as-flags: true                       
750       -                                           
751         name: mask                                
752         type: u32                                 
753         display-hint: hex                         
754   -                                               
755     name: vlan-flags                              
756     type: flags                                   
757     entries:                                      
758       - reorder-hdr                               
759       - gvrp                                      
760       - loose-binding                             
761       - mvrp                                      
762       - bridge-binding                            
763   -                                               
764     name: ifla-vlan-qos-mapping                   
765     type: struct                                  
766     members:                                      
767       -                                           
768         name: from                                
769         type: u32                                 
770       -                                           
771         name: to                                  
772         type: u32                                 
773   -                                               
774     name: ifla-vf-mac                             
775     type: struct                                  
776     members:                                      
777       -                                           
778         name: vf                                  
779         type: u32                                 
780       -                                           
781         name: mac                                 
782         type: binary                              
783         len: 32                                   
784   -                                               
785     name: ifla-vf-vlan                            
786     type: struct                                  
787     members:                                      
788       -                                           
789         name: vf                                  
790         type: u32                                 
791       -                                           
792         name: vlan                                
793         type: u32                                 
794       -                                           
795         name: qos                                 
796         type: u32                                 
797   -                                               
798     name: ifla-vf-tx-rate                         
799     type: struct                                  
800     members:                                      
801       -                                           
802         name: vf                                  
803         type: u32                                 
804       -                                           
805         name: rate                                
806         type: u32                                 
807   -                                               
808     name: ifla-vf-spoofchk                        
809     type: struct                                  
810     members:                                      
811       -                                           
812         name: vf                                  
813         type: u32                                 
814       -                                           
815         name: setting                             
816         type: u32                                 
817   -                                               
818     name: ifla-vf-link-state                      
819     type: struct                                  
820     members:                                      
821       -                                           
822         name: vf                                  
823         type: u32                                 
824       -                                           
825         name: link-state                          
826         type: u32                                 
827         enum: ifla-vf-link-state-enum             
828   -                                               
829     name: ifla-vf-link-state-enum                 
830     type: enum                                    
831     entries:                                      
832       - auto                                      
833       - enable                                    
834       - disable                                   
835   -                                               
836     name: ifla-vf-rate                            
837     type: struct                                  
838     members:                                      
839       -                                           
840         name: vf                                  
841         type: u32                                 
842       -                                           
843         name: min-tx-rate                         
844         type: u32                                 
845       -                                           
846         name: max-tx-rate                         
847         type: u32                                 
848   -                                               
849     name: ifla-vf-rss-query-en                    
850     type: struct                                  
851     members:                                      
852       -                                           
853         name: vf                                  
854         type: u32                                 
855       -                                           
856         name: setting                             
857         type: u32                                 
858   -                                               
859     name: ifla-vf-trust                           
860     type: struct                                  
861     members:                                      
862       -                                           
863         name: vf                                  
864         type: u32                                 
865       -                                           
866         name: setting                             
867         type: u32                                 
868   -                                               
869     name: ifla-vf-guid                            
870     type: struct                                  
871     members:                                      
872       -                                           
873         name: vf                                  
874         type: u32                                 
875       -                                           
876         name: guid                                
877         type: u64                                 
878   -                                               
879     name: ifla-vf-vlan-info                       
880     type: struct                                  
881     members:                                      
882       -                                           
883         name: vf                                  
884         type: u32                                 
885       -                                           
886         name: vlan                                
887         type: u32                                 
888       -                                           
889         name: qos                                 
890         type: u32                                 
891       -                                           
892         name: vlan-proto                          
893         type: u32                                 
894   -                                               
895     name: rtext-filter                            
896     type: flags                                   
897     entries:                                      
898       - vf                                        
899       - brvlan                                    
900       - brvlan-compressed                         
901       - skip-stats                                
902       - mrp                                       
903       - cfm-config                                
904       - cfm-status                                
905       - mst                                       
906   -                                               
907     name: netkit-policy                           
908     type: enum                                    
909     entries:                                      
910       -                                           
911         name: forward                             
912         value: 0                                  
913       -                                           
914         name: blackhole                           
915         value: 2                                  
916   -                                               
917     name: netkit-mode                             
918     type: enum                                    
919     entries:                                      
920       - name: l2                                  
921       - name: l3                                  
922                                                   
923 attribute-sets:                                   
924   -                                               
925     name: link-attrs                              
926     name-prefix: ifla-                            
927     attributes:                                   
928       -                                           
929         name: address                             
930         type: binary                              
931         display-hint: mac                         
932       -                                           
933         name: broadcast                           
934         type: binary                              
935         display-hint: mac                         
936       -                                           
937         name: ifname                              
938         type: string                              
939       -                                           
940         name: mtu                                 
941         type: u32                                 
942       -                                           
943         name: link                                
944         type: u32                                 
945       -                                           
946         name: qdisc                               
947         type: string                              
948       -                                           
949         name: stats                               
950         type: binary                              
951         struct: rtnl-link-stats                   
952       -                                           
953         name: cost                                
954         type: string                              
955       -                                           
956         name: priority                            
957         type: string                              
958       -                                           
959         name: master                              
960         type: u32                                 
961       -                                           
962         name: wireless                            
963         type: string                              
964       -                                           
965         name: protinfo                            
966         type: string                              
967       -                                           
968         name: txqlen                              
969         type: u32                                 
970       -                                           
971         name: map                                 
972         type: binary                              
973         struct: rtnl-link-ifmap                   
974       -                                           
975         name: weight                              
976         type: u32                                 
977       -                                           
978         name: operstate                           
979         type: u8                                  
980       -                                           
981         name: linkmode                            
982         type: u8                                  
983       -                                           
984         name: linkinfo                            
985         type: nest                                
986         nested-attributes: linkinfo-attrs         
987       -                                           
988         name: net-ns-pid                          
989         type: u32                                 
990       -                                           
991         name: ifalias                             
992         type: string                              
993       -                                           
994         name: num-vf                              
995         type: u32                                 
996       -                                           
997         name: vfinfo-list                         
998         type: nest                                
999         nested-attributes: vfinfo-list-attrs      
1000       -                                          
1001         name: stats64                            
1002         type: binary                             
1003         struct: rtnl-link-stats64                
1004       -                                          
1005         name: vf-ports                           
1006         type: nest                               
1007         nested-attributes: vf-ports-attrs        
1008       -                                          
1009         name: port-self                          
1010         type: nest                               
1011         nested-attributes: port-self-attrs       
1012       -                                          
1013         name: af-spec                            
1014         type: nest                               
1015         nested-attributes: af-spec-attrs         
1016       -                                          
1017         name: group                              
1018         type: u32                                
1019       -                                          
1020         name: net-ns-fd                          
1021         type: u32                                
1022       -                                          
1023         name: ext-mask                           
1024         type: u32                                
1025         enum: rtext-filter                       
1026         enum-as-flags: true                      
1027       -                                          
1028         name: promiscuity                        
1029         type: u32                                
1030       -                                          
1031         name: num-tx-queues                      
1032         type: u32                                
1033       -                                          
1034         name: num-rx-queues                      
1035         type: u32                                
1036       -                                          
1037         name: carrier                            
1038         type: u8                                 
1039       -                                          
1040         name: phys-port-id                       
1041         type: binary                             
1042       -                                          
1043         name: carrier-changes                    
1044         type: u32                                
1045       -                                          
1046         name: phys-switch-id                     
1047         type: binary                             
1048       -                                          
1049         name: link-netnsid                       
1050         type: s32                                
1051       -                                          
1052         name: phys-port-name                     
1053         type: string                             
1054       -                                          
1055         name: proto-down                         
1056         type: u8                                 
1057       -                                          
1058         name: gso-max-segs                       
1059         type: u32                                
1060       -                                          
1061         name: gso-max-size                       
1062         type: u32                                
1063       -                                          
1064         name: pad                                
1065         type: pad                                
1066       -                                          
1067         name: xdp                                
1068         type: nest                               
1069         nested-attributes: xdp-attrs             
1070       -                                          
1071         name: event                              
1072         type: u32                                
1073       -                                          
1074         name: new-netnsid                        
1075         type: s32                                
1076       -                                          
1077         name: target-netnsid                     
1078         type: s32                                
1079       -                                          
1080         name: carrier-up-count                   
1081         type: u32                                
1082       -                                          
1083         name: carrier-down-count                 
1084         type: u32                                
1085       -                                          
1086         name: new-ifindex                        
1087         type: s32                                
1088       -                                          
1089         name: min-mtu                            
1090         type: u32                                
1091       -                                          
1092         name: max-mtu                            
1093         type: u32                                
1094       -                                          
1095         name: prop-list                          
1096         type: nest                               
1097         nested-attributes: link-attrs            
1098       -                                          
1099         name: alt-ifname                         
1100         type: string                             
1101         multi-attr: true                         
1102       -                                          
1103         name: perm-address                       
1104         type: binary                             
1105         display-hint: mac                        
1106       -                                          
1107         name: proto-down-reason                  
1108         type: string                             
1109       -                                          
1110         name: parent-dev-name                    
1111         type: string                             
1112       -                                          
1113         name: parent-dev-bus-name                
1114         type: string                             
1115       -                                          
1116         name: gro-max-size                       
1117         type: u32                                
1118       -                                          
1119         name: tso-max-size                       
1120         type: u32                                
1121       -                                          
1122         name: tso-max-segs                       
1123         type: u32                                
1124       -                                          
1125         name: allmulti                           
1126         type: u32                                
1127       -                                          
1128         name: devlink-port                       
1129         type: binary                             
1130       -                                          
1131         name: gso-ipv4-max-size                  
1132         type: u32                                
1133       -                                          
1134         name: gro-ipv4-max-size                  
1135         type: u32                                
1136       -                                          
1137         name: dpll-pin                           
1138         type: nest                               
1139         nested-attributes: link-dpll-pin-attr    
1140   -                                              
1141     name: af-spec-attrs                          
1142     attributes:                                  
1143       -                                          
1144         name: "inet"                             
1145         type: nest                               
1146         value: 2                                 
1147         nested-attributes: ifla-attrs            
1148       -                                          
1149         name: "inet6"                            
1150         type: nest                               
1151         value: 10                                
1152         nested-attributes: ifla6-attrs           
1153       -                                          
1154         name: "mctp"                             
1155         type: nest                               
1156         value: 45                                
1157         nested-attributes: mctp-attrs            
1158   -                                              
1159     name: vfinfo-list-attrs                      
1160     attributes:                                  
1161       -                                          
1162         name: info                               
1163         type: nest                               
1164         nested-attributes: vfinfo-attrs          
1165         multi-attr: true                         
1166   -                                              
1167     name: vfinfo-attrs                           
1168     attributes:                                  
1169       -                                          
1170         name: mac                                
1171         type: binary                             
1172         struct: ifla-vf-mac                      
1173       -                                          
1174         name: vlan                               
1175         type: binary                             
1176         struct: ifla-vf-vlan                     
1177       -                                          
1178         name: tx-rate                            
1179         type: binary                             
1180         struct: ifla-vf-tx-rate                  
1181       -                                          
1182         name: spoofchk                           
1183         type: binary                             
1184         struct: ifla-vf-spoofchk                 
1185       -                                          
1186         name: link-state                         
1187         type: binary                             
1188         struct: ifla-vf-link-state               
1189       -                                          
1190         name: rate                               
1191         type: binary                             
1192         struct: ifla-vf-rate                     
1193       -                                          
1194         name: rss-query-en                       
1195         type: binary                             
1196         struct: ifla-vf-rss-query-en             
1197       -                                          
1198         name: stats                              
1199         type: nest                               
1200         nested-attributes: vf-stats-attrs        
1201       -                                          
1202         name: trust                              
1203         type: binary                             
1204         struct: ifla-vf-trust                    
1205       -                                          
1206         name: ib-node-guid                       
1207         type: binary                             
1208         struct: ifla-vf-guid                     
1209       -                                          
1210         name: ib-port-guid                       
1211         type: binary                             
1212         struct: ifla-vf-guid                     
1213       -                                          
1214         name: vlan-list                          
1215         type: nest                               
1216         nested-attributes: vf-vlan-attrs         
1217       -                                          
1218         name: broadcast                          
1219         type: binary                             
1220   -                                              
1221     name: vf-stats-attrs                         
1222     attributes:                                  
1223       -                                          
1224         name: rx-packets                         
1225         type: u64                                
1226         value: 0                                 
1227       -                                          
1228         name: tx-packets                         
1229         type: u64                                
1230       -                                          
1231         name: rx-bytes                           
1232         type: u64                                
1233       -                                          
1234         name: tx-bytes                           
1235         type: u64                                
1236       -                                          
1237         name: broadcast                          
1238         type: u64                                
1239       -                                          
1240         name: multicast                          
1241         type: u64                                
1242       -                                          
1243         name: pad                                
1244         type: pad                                
1245       -                                          
1246         name: rx-dropped                         
1247         type: u64                                
1248       -                                          
1249         name: tx-dropped                         
1250         type: u64                                
1251   -                                              
1252     name: vf-vlan-attrs                          
1253     attributes:                                  
1254       -                                          
1255         name: info                               
1256         type: binary                             
1257         struct: ifla-vf-vlan-info                
1258         multi-attr: true                         
1259   -                                              
1260     name: vf-ports-attrs                         
1261     attributes: []                               
1262   -                                              
1263     name: port-self-attrs                        
1264     attributes: []                               
1265   -                                              
1266     name: linkinfo-attrs                         
1267     attributes:                                  
1268       -                                          
1269         name: kind                               
1270         type: string                             
1271       -                                          
1272         name: data                               
1273         type: sub-message                        
1274         sub-message: linkinfo-data-msg           
1275         selector: kind                           
1276       -                                          
1277         name: xstats                             
1278         type: binary                             
1279       -                                          
1280         name: slave-kind                         
1281         type: string                             
1282       -                                          
1283         name: slave-data                         
1284         type: sub-message                        
1285         sub-message: linkinfo-member-data-msg    
1286         selector: slave-kind                     
1287   -                                              
1288     name: linkinfo-bond-attrs                    
1289     name-prefix: ifla-bond-                      
1290     attributes:                                  
1291       -                                          
1292         name: mode                               
1293         type: u8                                 
1294       -                                          
1295         name: active-slave                       
1296         type: u32                                
1297       -                                          
1298         name: miimon                             
1299         type: u32                                
1300       -                                          
1301         name: updelay                            
1302         type: u32                                
1303       -                                          
1304         name: downdelay                          
1305         type: u32                                
1306       -                                          
1307         name: use-carrier                        
1308         type: u8                                 
1309       -                                          
1310         name: arp-interval                       
1311         type: u32                                
1312       -                                          
1313         name: arp-ip-target                      
1314         type: indexed-array                      
1315         sub-type: u32                            
1316         byte-order: big-endian                   
1317         display-hint: ipv4                       
1318       -                                          
1319         name: arp-validate                       
1320         type: u32                                
1321       -                                          
1322         name: arp-all-targets                    
1323         type: u32                                
1324       -                                          
1325         name: primary                            
1326         type: u32                                
1327       -                                          
1328         name: primary-reselect                   
1329         type: u8                                 
1330       -                                          
1331         name: fail-over-mac                      
1332         type: u8                                 
1333       -                                          
1334         name: xmit-hash-policy                   
1335         type: u8                                 
1336       -                                          
1337         name: resend-igmp                        
1338         type: u32                                
1339       -                                          
1340         name: num-peer-notif                     
1341         type: u8                                 
1342       -                                          
1343         name: all-slaves-active                  
1344         type: u8                                 
1345       -                                          
1346         name: min-links                          
1347         type: u32                                
1348       -                                          
1349         name: lp-interval                        
1350         type: u32                                
1351       -                                          
1352         name: packets-per-slave                  
1353         type: u32                                
1354       -                                          
1355         name: ad-lacp-rate                       
1356         type: u8                                 
1357       -                                          
1358         name: ad-select                          
1359         type: u8                                 
1360       -                                          
1361         name: ad-info                            
1362         type: nest                               
1363         nested-attributes: bond-ad-info-attrs    
1364       -                                          
1365         name: ad-actor-sys-prio                  
1366         type: u16                                
1367       -                                          
1368         name: ad-user-port-key                   
1369         type: u16                                
1370       -                                          
1371         name: ad-actor-system                    
1372         type: binary                             
1373         display-hint: mac                        
1374       -                                          
1375         name: tlb-dynamic-lb                     
1376         type: u8                                 
1377       -                                          
1378         name: peer-notif-delay                   
1379         type: u32                                
1380       -                                          
1381         name: ad-lacp-active                     
1382         type: u8                                 
1383       -                                          
1384         name: missed-max                         
1385         type: u8                                 
1386       -                                          
1387         name: ns-ip6-target                      
1388         type: indexed-array                      
1389         sub-type: binary                         
1390         display-hint: ipv6                       
1391       -                                          
1392         name: coupled-control                    
1393         type: u8                                 
1394   -                                              
1395     name: bond-ad-info-attrs                     
1396     name-prefix: ifla-bond-ad-info-              
1397     attributes:                                  
1398       -                                          
1399         name: aggregator                         
1400         type: u16                                
1401       -                                          
1402         name: num-ports                          
1403         type: u16                                
1404       -                                          
1405         name: actor-key                          
1406         type: u16                                
1407       -                                          
1408         name: partner-key                        
1409         type: u16                                
1410       -                                          
1411         name: partner-mac                        
1412         type: binary                             
1413         display-hint: mac                        
1414   -                                              
1415     name: bond-slave-attrs                       
1416     name-prefix: ifla-bond-slave-                
1417     attributes:                                  
1418       -                                          
1419         name: state                              
1420         type: u8                                 
1421       -                                          
1422         name: mii-status                         
1423         type: u8                                 
1424       -                                          
1425         name: link-failure-count                 
1426         type: u32                                
1427       -                                          
1428         name: perm-hwaddr                        
1429         type: binary                             
1430         display-hint: mac                        
1431       -                                          
1432         name: queue-id                           
1433         type: u16                                
1434       -                                          
1435         name: ad-aggregator-id                   
1436         type: u16                                
1437       -                                          
1438         name: ad-actor-oper-port-state           
1439         type: u8                                 
1440       -                                          
1441         name: ad-partner-oper-port-state         
1442         type: u16                                
1443       -                                          
1444         name: prio                               
1445         type: u32                                
1446   -                                              
1447     name: linkinfo-bridge-attrs                  
1448     name-prefix: ifla-br-                        
1449     attributes:                                  
1450       -                                          
1451         name: forward-delay                      
1452         type: u32                                
1453       -                                          
1454         name: hello-time                         
1455         type: u32                                
1456       -                                          
1457         name: max-age                            
1458         type: u32                                
1459       -                                          
1460         name: ageing-time                        
1461         type: u32                                
1462       -                                          
1463         name: stp-state                          
1464         type: u32                                
1465       -                                          
1466         name: priority                           
1467         type: u16                                
1468       -                                          
1469         name: vlan-filtering                     
1470         type: u8                                 
1471       -                                          
1472         name: vlan-protocol                      
1473         type: u16                                
1474       -                                          
1475         name: group-fwd-mask                     
1476         type: u16                                
1477       -                                          
1478         name: root-id                            
1479         type: binary                             
1480         struct: ifla-bridge-id                   
1481       -                                          
1482         name: bridge-id                          
1483         type: binary                             
1484         struct: ifla-bridge-id                   
1485       -                                          
1486         name: root-port                          
1487         type: u16                                
1488       -                                          
1489         name: root-path-cost                     
1490         type: u32                                
1491       -                                          
1492         name: topology-change                    
1493         type: u8                                 
1494       -                                          
1495         name: topology-change-detected           
1496         type: u8                                 
1497       -                                          
1498         name: hello-timer                        
1499         type: u64                                
1500       -                                          
1501         name: tcn-timer                          
1502         type: u64                                
1503       -                                          
1504         name: topology-change-timer              
1505         type: u64                                
1506       -                                          
1507         name: gc-timer                           
1508         type: u64                                
1509       -                                          
1510         name: group-addr                         
1511         type: binary                             
1512         display-hint: mac                        
1513       -                                          
1514         name: fdb-flush                          
1515         type: binary                             
1516       -                                          
1517         name: mcast-router                       
1518         type: u8                                 
1519       -                                          
1520         name: mcast-snooping                     
1521         type: u8                                 
1522       -                                          
1523         name: mcast-query-use-ifaddr             
1524         type: u8                                 
1525       -                                          
1526         name: mcast-querier                      
1527         type: u8                                 
1528       -                                          
1529         name: mcast-hash-elasticity              
1530         type: u32                                
1531       -                                          
1532         name: mcast-hash-max                     
1533         type: u32                                
1534       -                                          
1535         name: mcast-last-member-cnt              
1536         type: u32                                
1537       -                                          
1538         name: mcast-startup-query-cnt            
1539         type: u32                                
1540       -                                          
1541         name: mcast-last-member-intvl            
1542         type: u64                                
1543       -                                          
1544         name: mcast-membership-intvl             
1545         type: u64                                
1546       -                                          
1547         name: mcast-querier-intvl                
1548         type: u64                                
1549       -                                          
1550         name: mcast-query-intvl                  
1551         type: u64                                
1552       -                                          
1553         name: mcast-query-response-intvl         
1554         type: u64                                
1555       -                                          
1556         name: mcast-startup-query-intvl          
1557         type: u64                                
1558       -                                          
1559         name: nf-call-iptables                   
1560         type: u8                                 
1561       -                                          
1562         name: nf-call-ip6-tables                 
1563         type: u8                                 
1564       -                                          
1565         name: nf-call-arptables                  
1566         type: u8                                 
1567       -                                          
1568         name: vlan-default-pvid                  
1569         type: u16                                
1570       -                                          
1571         name: pad                                
1572         type: pad                                
1573       -                                          
1574         name: vlan-stats-enabled                 
1575         type: u8                                 
1576       -                                          
1577         name: mcast-stats-enabled                
1578         type: u8                                 
1579       -                                          
1580         name: mcast-igmp-version                 
1581         type: u8                                 
1582       -                                          
1583         name: mcast-mld-version                  
1584         type: u8                                 
1585       -                                          
1586         name: vlan-stats-per-port                
1587         type: u8                                 
1588       -                                          
1589         name: multi-boolopt                      
1590         type: binary                             
1591         struct: br-boolopt-multi                 
1592       -                                          
1593         name: mcast-querier-state                
1594         type: binary                             
1595       -                                          
1596         name: fdb-n-learned                      
1597         type: u32                                
1598       -                                          
1599         name: fdb-max-learned                    
1600         type: u32                                
1601   -                                              
1602     name: linkinfo-brport-attrs                  
1603     name-prefix: ifla-brport-                    
1604     attributes:                                  
1605       -                                          
1606         name: state                              
1607         type: u8                                 
1608       -                                          
1609         name: priority                           
1610         type: u16                                
1611       -                                          
1612         name: cost                               
1613         type: u32                                
1614       -                                          
1615         name: mode                               
1616         type: flag                               
1617       -                                          
1618         name: guard                              
1619         type: flag                               
1620       -                                          
1621         name: protect                            
1622         type: flag                               
1623       -                                          
1624         name: fast-leave                         
1625         type: flag                               
1626       -                                          
1627         name: learning                           
1628         type: flag                               
1629       -                                          
1630         name: unicast-flood                      
1631         type: flag                               
1632       -                                          
1633         name: proxyarp                           
1634         type: flag                               
1635       -                                          
1636         name: learning-sync                      
1637         type: flag                               
1638       -                                          
1639         name: proxyarp-wifi                      
1640         type: flag                               
1641       -                                          
1642         name: root-id                            
1643         type: binary                             
1644         struct: ifla-bridge-id                   
1645       -                                          
1646         name: bridge-id                          
1647         type: binary                             
1648         struct: ifla-bridge-id                   
1649       -                                          
1650         name: designated-port                    
1651         type: u16                                
1652       -                                          
1653         name: designated-cost                    
1654         type: u16                                
1655       -                                          
1656         name: id                                 
1657         type: u16                                
1658       -                                          
1659         name: "no"                               
1660         type: u16                                
1661       -                                          
1662         name: topology-change-ack                
1663         type: u8                                 
1664       -                                          
1665         name: config-pending                     
1666         type: u8                                 
1667       -                                          
1668         name: message-age-timer                  
1669         type: u64                                
1670       -                                          
1671         name: forward-delay-timer                
1672         type: u64                                
1673       -                                          
1674         name: hold-timer                         
1675         type: u64                                
1676       -                                          
1677         name: flush                              
1678         type: flag                               
1679       -                                          
1680         name: multicast-router                   
1681         type: u8                                 
1682       -                                          
1683         name: pad                                
1684         type: pad                                
1685       -                                          
1686         name: mcast-flood                        
1687         type: flag                               
1688       -                                          
1689         name: mcast-to-ucast                     
1690         type: flag                               
1691       -                                          
1692         name: vlan-tunnel                        
1693         type: flag                               
1694       -                                          
1695         name: bcast-flood                        
1696         type: flag                               
1697       -                                          
1698         name: group-fwd-mask                     
1699         type: u16                                
1700       -                                          
1701         name: neigh-suppress                     
1702         type: flag                               
1703       -                                          
1704         name: isolated                           
1705         type: flag                               
1706       -                                          
1707         name: backup-port                        
1708         type: u32                                
1709       -                                          
1710         name: mrp-ring-open                      
1711         type: flag                               
1712       -                                          
1713         name: mrp-in-open                        
1714         type: flag                               
1715       -                                          
1716         name: mcast-eht-hosts-limit              
1717         type: u32                                
1718       -                                          
1719         name: mcast-eht-hosts-cnt                
1720         type: u32                                
1721       -                                          
1722         name: locked                             
1723         type: flag                               
1724       -                                          
1725         name: mab                                
1726         type: flag                               
1727       -                                          
1728         name: mcast-n-groups                     
1729         type: u32                                
1730       -                                          
1731         name: mcast-max-groups                   
1732         type: u32                                
1733       -                                          
1734         name: neigh-vlan-suppress                
1735         type: flag                               
1736       -                                          
1737         name: backup-nhid                        
1738         type: u32                                
1739   -                                              
1740     name: linkinfo-gre-attrs                     
1741     name-prefix: ifla-gre-                       
1742     attributes:                                  
1743       -                                          
1744         name: link                               
1745         type: u32                                
1746       -                                          
1747         name: iflags                             
1748         type: u16                                
1749       -                                          
1750         name: oflags                             
1751         type: u16                                
1752       -                                          
1753         name: ikey                               
1754         type: u32                                
1755       -                                          
1756         name: okey                               
1757         type: u32                                
1758       -                                          
1759         name: local                              
1760         type: binary                             
1761         display-hint: ipv4                       
1762       -                                          
1763         name: remote                             
1764         type: binary                             
1765         display-hint: ipv4                       
1766       -                                          
1767         name: ttl                                
1768         type: u8                                 
1769       -                                          
1770         name: tos                                
1771         type: u8                                 
1772       -                                          
1773         name: pmtudisc                           
1774         type: u8                                 
1775       -                                          
1776         name: encap-limit                        
1777         type: u32                                
1778       -                                          
1779         name: flowinfo                           
1780         type: u32                                
1781       -                                          
1782         name: flags                              
1783         type: u32                                
1784       -                                          
1785         name: encap-type                         
1786         type: u16                                
1787       -                                          
1788         name: encap-flags                        
1789         type: u16                                
1790       -                                          
1791         name: encap-sport                        
1792         type: u16                                
1793       -                                          
1794         name: encap-dport                        
1795         type: u16                                
1796       -                                          
1797         name: collect-metadata                   
1798         type: flag                               
1799       -                                          
1800         name: ignore-df                          
1801         type: u8                                 
1802       -                                          
1803         name: fwmark                             
1804         type: u32                                
1805       -                                          
1806         name: erspan-index                       
1807         type: u32                                
1808       -                                          
1809         name: erspan-ver                         
1810         type: u8                                 
1811       -                                          
1812         name: erspan-dir                         
1813         type: u8                                 
1814       -                                          
1815         name: erspan-hwid                        
1816         type: u16                                
1817   -                                              
1818     name: linkinfo-geneve-attrs                  
1819     name-prefix: ifla-geneve-                    
1820     attributes:                                  
1821       -                                          
1822         name: id                                 
1823         type: u32                                
1824       -                                          
1825         name: remote                             
1826         type: binary                             
1827         display-hint: ipv4                       
1828       -                                          
1829         name: ttl                                
1830         type: u8                                 
1831       -                                          
1832         name: tos                                
1833         type: u8                                 
1834       -                                          
1835         name: port                               
1836         type: u16                                
1837       -                                          
1838         name: collect-metadata                   
1839         type: flag                               
1840       -                                          
1841         name: remote6                            
1842         type: binary                             
1843         display-hint: ipv6                       
1844       -                                          
1845         name: udp-csum                           
1846         type: u8                                 
1847       -                                          
1848         name: udp-zero-csum6-tx                  
1849         type: u8                                 
1850       -                                          
1851         name: udp-zero-csum6-rx                  
1852         type: u8                                 
1853       -                                          
1854         name: label                              
1855         type: u32                                
1856       -                                          
1857         name: ttl-inherit                        
1858         type: u8                                 
1859       -                                          
1860         name: df                                 
1861         type: u8                                 
1862       -                                          
1863         name: inner-proto-inherit                
1864         type: flag                               
1865   -                                              
1866     name: linkinfo-iptun-attrs                   
1867     name-prefix: ifla-iptun-                     
1868     attributes:                                  
1869       -                                          
1870         name: link                               
1871         type: u32                                
1872       -                                          
1873         name: local                              
1874         type: binary                             
1875         display-hint: ipv4                       
1876       -                                          
1877         name: remote                             
1878         type: binary                             
1879         display-hint: ipv4                       
1880       -                                          
1881         name: ttl                                
1882         type: u8                                 
1883       -                                          
1884         name: tos                                
1885         type: u8                                 
1886       -                                          
1887         name: encap-limit                        
1888         type: u8                                 
1889       -                                          
1890         name: flowinfo                           
1891         type: u32                                
1892       -                                          
1893         name: flags                              
1894         type: u16                                
1895       -                                          
1896         name: proto                              
1897         type: u8                                 
1898       -                                          
1899         name: pmtudisc                           
1900         type: u8                                 
1901       -                                          
1902         name: 6rd-prefix                         
1903         type: binary                             
1904         display-hint: ipv6                       
1905       -                                          
1906         name: 6rd-relay-prefix                   
1907         type: binary                             
1908         display-hint: ipv4                       
1909       -                                          
1910         name: 6rd-prefixlen                      
1911         type: u16                                
1912       -                                          
1913         name: 6rd-relay-prefixlen                
1914         type: u16                                
1915       -                                          
1916         name: encap-type                         
1917         type: u16                                
1918       -                                          
1919         name: encap-flags                        
1920         type: u16                                
1921       -                                          
1922         name: encap-sport                        
1923         type: u16                                
1924       -                                          
1925         name: encap-dport                        
1926         type: u16                                
1927       -                                          
1928         name: collect-metadata                   
1929         type: flag                               
1930       -                                          
1931         name: fwmark                             
1932         type: u32                                
1933   -                                              
1934     name: linkinfo-tun-attrs                     
1935     name-prefix: ifla-tun-                       
1936     attributes:                                  
1937       -                                          
1938         name: owner                              
1939         type: u32                                
1940       -                                          
1941         name: group                              
1942         type: u32                                
1943       -                                          
1944         name: type                               
1945         type: u8                                 
1946       -                                          
1947         name: pi                                 
1948         type: u8                                 
1949       -                                          
1950         name: vnet-hdr                           
1951         type: u8                                 
1952       -                                          
1953         name: persist                            
1954         type: u8                                 
1955       -                                          
1956         name: multi-queue                        
1957         type: u8                                 
1958       -                                          
1959         name: num-queues                         
1960         type: u32                                
1961       -                                          
1962         name: num-disabled-queues                
1963         type: u32                                
1964   -                                              
1965     name: linkinfo-vlan-attrs                    
1966     name-prefix: ifla-vlan-                      
1967     attributes:                                  
1968       -                                          
1969         name: id                                 
1970         type: u16                                
1971       -                                          
1972         name: flag                               
1973         type: binary                             
1974         struct: ifla-vlan-flags                  
1975       -                                          
1976         name: egress-qos                         
1977         type: nest                               
1978         nested-attributes: ifla-vlan-qos         
1979       -                                          
1980         name: ingress-qos                        
1981         type: nest                               
1982         nested-attributes: ifla-vlan-qos         
1983       -                                          
1984         name: protocol                           
1985         type: u16                                
1986         enum: vlan-protocols                     
1987         byte-order: big-endian                   
1988   -                                              
1989     name: ifla-vlan-qos                          
1990     name-prefix: ifla-vlan-qos                   
1991     attributes:                                  
1992       -                                          
1993         name: mapping                            
1994         type: binary                             
1995         multi-attr: true                         
1996         struct: ifla-vlan-qos-mapping            
1997   -                                              
1998     name: linkinfo-vrf-attrs                     
1999     name-prefix: ifla-vrf-                       
2000     attributes:                                  
2001       -                                          
2002         name: table                              
2003         type: u32                                
2004   -                                              
2005     name: xdp-attrs                              
2006     attributes:                                  
2007       -                                          
2008         name: fd                                 
2009         type: s32                                
2010       -                                          
2011         name: attached                           
2012         type: u8                                 
2013       -                                          
2014         name: flags                              
2015         type: u32                                
2016       -                                          
2017         name: prog-id                            
2018         type: u32                                
2019       -                                          
2020         name: drv-prog-id                        
2021         type: u32                                
2022       -                                          
2023         name: skb-prog-id                        
2024         type: u32                                
2025       -                                          
2026         name: hw-prog-id                         
2027         type: u32                                
2028       -                                          
2029         name: expected-fd                        
2030         type: s32                                
2031   -                                              
2032     name: ifla-attrs                             
2033     attributes:                                  
2034       -                                          
2035         name: conf                               
2036         type: binary                             
2037         struct: ipv4-devconf                     
2038   -                                              
2039     name: ifla6-attrs                            
2040     attributes:                                  
2041       -                                          
2042         name: flags                              
2043         type: u32                                
2044       -                                          
2045         name: conf                               
2046         type: binary                             
2047         struct: ipv6-devconf                     
2048       -                                          
2049         name: stats                              
2050         type: binary                             
2051         struct: ifla-inet6-stats                 
2052       -                                          
2053         name: mcast                              
2054         type: binary                             
2055       -                                          
2056         name: cacheinfo                          
2057         type: binary                             
2058         struct: ifla-cacheinfo                   
2059       -                                          
2060         name: icmp6-stats                        
2061         type: binary                             
2062         struct: ifla-icmp6-stats                 
2063       -                                          
2064         name: token                              
2065         type: binary                             
2066       -                                          
2067         name: addr-gen-mode                      
2068         type: u8                                 
2069       -                                          
2070         name: ra-mtu                             
2071         type: u32                                
2072   -                                              
2073     name: mctp-attrs                             
2074     attributes:                                  
2075       -                                          
2076         name: mctp-net                           
2077         type: u32                                
2078   -                                              
2079     name: stats-attrs                            
2080     name-prefix: ifla-stats-                     
2081     attributes:                                  
2082       -                                          
2083         name: link-64                            
2084         type: binary                             
2085         struct: rtnl-link-stats64                
2086       -                                          
2087         name: link-xstats                        
2088         type: binary                             
2089       -                                          
2090         name: link-xstats-slave                  
2091         type: binary                             
2092       -                                          
2093         name: link-offload-xstats                
2094         type: nest                               
2095         nested-attributes: link-offload-xstat    
2096       -                                          
2097         name: af-spec                            
2098         type: binary                             
2099   -                                              
2100     name: link-offload-xstats                    
2101     attributes:                                  
2102       -                                          
2103         name: cpu-hit                            
2104         type: binary                             
2105       -                                          
2106         name: hw-s-info                          
2107         type: indexed-array                      
2108         sub-type: nest                           
2109         nested-attributes: hw-s-info-one         
2110       -                                          
2111         name: l3-stats                           
2112         type: binary                             
2113   -                                              
2114     name: hw-s-info-one                          
2115     attributes:                                  
2116       -                                          
2117         name: request                            
2118         type: u8                                 
2119       -                                          
2120         name: used                               
2121         type: u8                                 
2122   -                                              
2123     name: link-dpll-pin-attrs                    
2124     attributes:                                  
2125       -                                          
2126         name: id                                 
2127         type: u32                                
2128   -                                              
2129     name: linkinfo-netkit-attrs                  
2130     name-prefix: ifla-netkit-                    
2131     attributes:                                  
2132       -                                          
2133         name: peer-info                          
2134         type: binary                             
2135       -                                          
2136         name: primary                            
2137         type: u8                                 
2138       -                                          
2139         name: policy                             
2140         type: u32                                
2141         enum: netkit-policy                      
2142       -                                          
2143         name: peer-policy                        
2144         type: u32                                
2145         enum: netkit-policy                      
2146       -                                          
2147         name: mode                               
2148         type: u32                                
2149         enum: netkit-mode                        
2150                                                  
2151 sub-messages:                                    
2152   -                                              
2153     name: linkinfo-data-msg                      
2154     formats:                                     
2155       -                                          
2156         value: bond                              
2157         attribute-set: linkinfo-bond-attrs       
2158       -                                          
2159         value: bridge                            
2160         attribute-set: linkinfo-bridge-attrs     
2161       -                                          
2162         value: erspan                            
2163         attribute-set: linkinfo-gre-attrs        
2164       -                                          
2165         value: gre                               
2166         attribute-set: linkinfo-gre-attrs        
2167       -                                          
2168         value: gretap                            
2169         attribute-set: linkinfo-gre-attrs        
2170       -                                          
2171         value: geneve                            
2172         attribute-set: linkinfo-geneve-attrs     
2173       -                                          
2174         value: ipip                              
2175         attribute-set: linkinfo-iptun-attrs      
2176       -                                          
2177         value: sit                               
2178         attribute-set: linkinfo-iptun-attrs      
2179       -                                          
2180         value: tun                               
2181         attribute-set: linkinfo-tun-attrs        
2182       -                                          
2183         value: vlan                              
2184         attribute-set: linkinfo-vlan-attrs       
2185       -                                          
2186         value: vrf                               
2187         attribute-set: linkinfo-vrf-attrs        
2188       -                                          
2189         value: netkit                            
2190         attribute-set: linkinfo-netkit-attrs     
2191   -                                              
2192     name: linkinfo-member-data-msg               
2193     formats:                                     
2194       -                                          
2195         value: bridge                            
2196         attribute-set: linkinfo-brport-attrs     
2197       -                                          
2198         value: bond                              
2199         attribute-set: bond-slave-attrs          
2200                                                  
2201 operations:                                      
2202   enum-model: directional                        
2203   list:                                          
2204     -                                            
2205       name: newlink                              
2206       doc: Create a new link.                    
2207       attribute-set: link-attrs                  
2208       fixed-header: ifinfomsg                    
2209       do:                                        
2210         request:                                 
2211           value: 16                              
2212           attributes: &link-new-attrs            
2213             - ifi-index                          
2214             - ifname                             
2215             - net-ns-pid                         
2216             - net-ns-fd                          
2217             - target-netnsid                     
2218             - link-netnsid                       
2219             - linkinfo                           
2220             - group                              
2221             - num-tx-queues                      
2222             - num-rx-queues                      
2223             - address                            
2224             - broadcast                          
2225             - mtu                                
2226             - txqlen                             
2227             - operstate                          
2228             - linkmode                           
2229             - group                              
2230             - gso-max-size                       
2231             - gso-max-segs                       
2232             - gro-max-size                       
2233             - gso-ipv4-max-size                  
2234             - gro-ipv4-max-size                  
2235             - af-spec                            
2236     -                                            
2237       name: dellink                              
2238       doc: Delete an existing link.              
2239       attribute-set: link-attrs                  
2240       fixed-header: ifinfomsg                    
2241       do:                                        
2242         request:                                 
2243           value: 17                              
2244           attributes:                            
2245             - ifi-index                          
2246             - ifname                             
2247     -                                            
2248       name: getlink                              
2249       doc: Get / dump information about a lin    
2250       attribute-set: link-attrs                  
2251       fixed-header: ifinfomsg                    
2252       do:                                        
2253         request:                                 
2254           value: 18                              
2255           attributes:                            
2256             - ifi-index                          
2257             - ifname                             
2258             - alt-ifname                         
2259             - ext-mask                           
2260             - target-netnsid                     
2261         reply:                                   
2262           value: 16                              
2263           attributes: &link-all-attrs            
2264             - ifi-family                         
2265             - ifi-type                           
2266             - ifi-index                          
2267             - ifi-flags                          
2268             - ifi-change                         
2269             - address                            
2270             - broadcast                          
2271             - ifname                             
2272             - mtu                                
2273             - link                               
2274             - qdisc                              
2275             - stats                              
2276             - cost                               
2277             - priority                           
2278             - master                             
2279             - wireless                           
2280             - protinfo                           
2281             - txqlen                             
2282             - map                                
2283             - weight                             
2284             - operstate                          
2285             - linkmode                           
2286             - linkinfo                           
2287             - net-ns-pid                         
2288             - ifalias                            
2289             - num-vf                             
2290             - vfinfo-list                        
2291             - stats64                            
2292             - vf-ports                           
2293             - port-self                          
2294             - af-spec                            
2295             - group                              
2296             - net-ns-fd                          
2297             - ext-mask                           
2298             - promiscuity                        
2299             - num-tx-queues                      
2300             - num-rx-queues                      
2301             - carrier                            
2302             - phys-port-id                       
2303             - carrier-changes                    
2304             - phys-switch-id                     
2305             - link-netnsid                       
2306             - phys-port-name                     
2307             - proto-down                         
2308             - gso-max-segs                       
2309             - gso-max-size                       
2310             - pad                                
2311             - xdp                                
2312             - event                              
2313             - new-netnsid                        
2314             - if-netnsid                         
2315             - target-netnsid                     
2316             - carrier-up-count                   
2317             - carrier-down-count                 
2318             - new-ifindex                        
2319             - min-mtu                            
2320             - max-mtu                            
2321             - prop-list                          
2322             - alt-ifname                         
2323             - perm-address                       
2324             - proto-down-reason                  
2325             - parent-dev-name                    
2326             - parent-dev-bus-name                
2327             - gro-max-size                       
2328             - tso-max-size                       
2329             - tso-max-segs                       
2330             - allmulti                           
2331             - devlink-port                       
2332             - gso-ipv4-max-size                  
2333             - gro-ipv4-max-size                  
2334       dump:                                      
2335         request:                                 
2336           value: 18                              
2337           attributes:                            
2338             - target-netnsid                     
2339             - ext-mask                           
2340             - master                             
2341             - linkinfo                           
2342         reply:                                   
2343           value: 16                              
2344           attributes: *link-all-attrs            
2345     -                                            
2346       name: setlink                              
2347       doc: Set information about a link.         
2348       attribute-set: link-attrs                  
2349       fixed-header: ifinfomsg                    
2350       do:                                        
2351         request:                                 
2352           value: 19                              
2353           attributes: *link-all-attrs            
2354     -                                            
2355       name: getstats                             
2356       doc: Get / dump link stats.                
2357       attribute-set: stats-attrs                 
2358       fixed-header: if_stats_msg                 
2359       do:                                        
2360         request:                                 
2361           value: 94                              
2362           attributes:                            
2363             - ifindex                            
2364         reply:                                   
2365           value: 92                              
2366           attributes: &link-stats-attrs          
2367             - family                             
2368             - ifindex                            
2369             - filter-mask                        
2370             - link-64                            
2371             - link-xstats                        
2372             - link-xstats-slave                  
2373             - link-offload-xstats                
2374             - af-spec                            
2375       dump:                                      
2376         request:                                 
2377           value: 94                              
2378         reply:                                   
2379           value: 92                              
2380           attributes: *link-stats-attrs          
2381                                                  
2382 mcast-groups:                                    
2383   list:                                          
2384     -                                            
2385       name: rtnlgrp-link                         
2386       value: 1                                   
2387     -                                            
2388       name: rtnlgrp-stats                        
2389       value: 36                                  
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php