brintos

brintos / linux-shallow public Read only

0
0
Text · 3.2 KiB · cbee1ce Raw
180 lines · yaml
1# SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)2 3name: rt-addr4protocol: netlink-raw5protonum: 06 7doc:8  Address configuration over rtnetlink.9 10definitions:11  -12    name: ifaddrmsg13    type: struct14    members:15      -16        name: ifa-family17        type: u818      -19        name: ifa-prefixlen20        type: u821      -22        name: ifa-flags23        type: u824        enum: ifa-flags25        enum-as-flags: true26      -27        name: ifa-scope28        type: u829      -30        name: ifa-index31        type: u3232  -33    name: ifa-cacheinfo34    type: struct35    members:36      -37        name: ifa-prefered38        type: u3239      -40        name: ifa-valid41        type: u3242      -43        name: cstamp44        type: u3245      -46        name: tstamp47        type: u3248 49  -50    name: ifa-flags51    type: flags52    entries:53      -54        name: secondary55      -56        name: nodad57      -58        name: optimistic59      -60        name: dadfailed61      -62        name: homeaddress63      -64        name: deprecated65      -66        name: tentative67      -68        name: permanent69      -70        name: managetempaddr71      -72        name: noprefixroute73      -74        name: mcautojoin75      -76        name: stable-privacy77 78attribute-sets:79  -80    name: addr-attrs81    attributes:82      -83        name: ifa-address84        type: binary85        display-hint: ipv486      -87        name: ifa-local88        type: binary89        display-hint: ipv490      -91        name: ifa-label92        type: string93      -94        name: ifa-broadcast95        type: binary96        display-hint: ipv497      -98        name: ifa-anycast99        type: binary100      -101        name: ifa-cacheinfo102        type: binary103        struct: ifa-cacheinfo104      -105        name: ifa-multicast106        type: binary107      -108        name: ifa-flags109        type: u32110        enum: ifa-flags111        enum-as-flags: true112      -113        name: ifa-rt-priority114        type: u32115      -116        name: ifa-target-netnsid117        type: binary118      -119        name: ifa-proto120        type: u8121 122 123operations:124  fixed-header: ifaddrmsg125  enum-model: directional126  list:127    -128      name: newaddr129      doc: Add new address130      attribute-set: addr-attrs131      do:132        request:133          value: 20134          attributes: &ifaddr-all135            - ifa-family136            - ifa-flags137            - ifa-prefixlen138            - ifa-scope139            - ifa-index140            - ifa-address141            - ifa-label142            - ifa-local143            - ifa-cacheinfo144    -145      name: deladdr146      doc: Remove address147      attribute-set: addr-attrs148      do:149        request:150          value: 21151          attributes:152            - ifa-family153            - ifa-flags154            - ifa-prefixlen155            - ifa-scope156            - ifa-index157            - ifa-address158            - ifa-local159    -160      name: getaddr161      doc: Dump address information.162      attribute-set: addr-attrs163      dump:164        request:165          value: 22166          attributes:167            - ifa-index168        reply:169          value: 20170          attributes: *ifaddr-all171 172mcast-groups:173  list:174    -175      name: rtnlgrp-ipv4-ifaddr176      value: 5177    -178      name: rtnlgrp-ipv6-ifaddr179      value: 9180