1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linu 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 2 2 3 name: rt-addr 3 name: rt-addr 4 protocol: netlink-raw 4 protocol: netlink-raw 5 protonum: 0 5 protonum: 0 6 6 7 doc: 7 doc: 8 Address configuration over rtnetlink. 8 Address configuration over rtnetlink. 9 9 10 definitions: 10 definitions: 11 - 11 - 12 name: ifaddrmsg 12 name: ifaddrmsg 13 type: struct 13 type: struct 14 members: 14 members: 15 - 15 - 16 name: ifa-family 16 name: ifa-family 17 type: u8 17 type: u8 18 - 18 - 19 name: ifa-prefixlen 19 name: ifa-prefixlen 20 type: u8 20 type: u8 21 - 21 - 22 name: ifa-flags 22 name: ifa-flags 23 type: u8 23 type: u8 24 enum: ifa-flags 24 enum: ifa-flags 25 enum-as-flags: true 25 enum-as-flags: true 26 - 26 - 27 name: ifa-scope 27 name: ifa-scope 28 type: u8 28 type: u8 29 - 29 - 30 name: ifa-index 30 name: ifa-index 31 type: u32 31 type: u32 32 - 32 - 33 name: ifa-cacheinfo 33 name: ifa-cacheinfo 34 type: struct 34 type: struct 35 members: 35 members: 36 - 36 - 37 name: ifa-prefered 37 name: ifa-prefered 38 type: u32 38 type: u32 39 - 39 - 40 name: ifa-valid 40 name: ifa-valid 41 type: u32 41 type: u32 42 - 42 - 43 name: cstamp 43 name: cstamp 44 type: u32 44 type: u32 45 - 45 - 46 name: tstamp 46 name: tstamp 47 type: u32 47 type: u32 48 48 49 - 49 - 50 name: ifa-flags 50 name: ifa-flags 51 type: flags 51 type: flags 52 entries: 52 entries: 53 - 53 - 54 name: secondary 54 name: secondary 55 - 55 - 56 name: nodad 56 name: nodad 57 - 57 - 58 name: optimistic 58 name: optimistic 59 - 59 - 60 name: dadfailed 60 name: dadfailed 61 - 61 - 62 name: homeaddress 62 name: homeaddress 63 - 63 - 64 name: deprecated 64 name: deprecated 65 - 65 - 66 name: tentative 66 name: tentative 67 - 67 - 68 name: permanent 68 name: permanent 69 - 69 - 70 name: managetempaddr 70 name: managetempaddr 71 - 71 - 72 name: noprefixroute 72 name: noprefixroute 73 - 73 - 74 name: mcautojoin 74 name: mcautojoin 75 - 75 - 76 name: stable-privacy 76 name: stable-privacy 77 77 78 attribute-sets: 78 attribute-sets: 79 - 79 - 80 name: addr-attrs 80 name: addr-attrs 81 attributes: 81 attributes: 82 - 82 - 83 name: ifa-address 83 name: ifa-address 84 type: binary 84 type: binary 85 display-hint: ipv4 85 display-hint: ipv4 86 - 86 - 87 name: ifa-local 87 name: ifa-local 88 type: binary 88 type: binary 89 display-hint: ipv4 89 display-hint: ipv4 90 - 90 - 91 name: ifa-label 91 name: ifa-label 92 type: string 92 type: string 93 - 93 - 94 name: ifa-broadcast 94 name: ifa-broadcast 95 type: binary 95 type: binary 96 display-hint: ipv4 96 display-hint: ipv4 97 - 97 - 98 name: ifa-anycast 98 name: ifa-anycast 99 type: binary 99 type: binary 100 - 100 - 101 name: ifa-cacheinfo 101 name: ifa-cacheinfo 102 type: binary 102 type: binary 103 struct: ifa-cacheinfo 103 struct: ifa-cacheinfo 104 - 104 - 105 name: ifa-multicast 105 name: ifa-multicast 106 type: binary 106 type: binary 107 - 107 - 108 name: ifa-flags 108 name: ifa-flags 109 type: u32 109 type: u32 110 enum: ifa-flags 110 enum: ifa-flags 111 enum-as-flags: true 111 enum-as-flags: true 112 - 112 - 113 name: ifa-rt-priority 113 name: ifa-rt-priority 114 type: u32 114 type: u32 115 - 115 - 116 name: ifa-target-netnsid 116 name: ifa-target-netnsid 117 type: binary 117 type: binary 118 - 118 - 119 name: ifa-proto 119 name: ifa-proto 120 type: u8 120 type: u8 121 121 122 122 123 operations: 123 operations: 124 fixed-header: ifaddrmsg 124 fixed-header: ifaddrmsg 125 enum-model: directional 125 enum-model: directional 126 list: 126 list: 127 - 127 - 128 name: newaddr 128 name: newaddr 129 doc: Add new address 129 doc: Add new address 130 attribute-set: addr-attrs 130 attribute-set: addr-attrs 131 do: 131 do: 132 request: 132 request: 133 value: 20 133 value: 20 134 attributes: &ifaddr-all 134 attributes: &ifaddr-all 135 - ifa-family 135 - ifa-family 136 - ifa-flags 136 - ifa-flags 137 - ifa-prefixlen 137 - ifa-prefixlen 138 - ifa-scope 138 - ifa-scope 139 - ifa-index 139 - ifa-index 140 - ifa-address 140 - ifa-address 141 - ifa-label 141 - ifa-label 142 - ifa-local 142 - ifa-local 143 - ifa-cacheinfo 143 - ifa-cacheinfo 144 - 144 - 145 name: deladdr 145 name: deladdr 146 doc: Remove address 146 doc: Remove address 147 attribute-set: addr-attrs 147 attribute-set: addr-attrs 148 do: 148 do: 149 request: 149 request: 150 value: 21 150 value: 21 151 attributes: 151 attributes: 152 - ifa-family 152 - ifa-family 153 - ifa-flags 153 - ifa-flags 154 - ifa-prefixlen 154 - ifa-prefixlen 155 - ifa-scope 155 - ifa-scope 156 - ifa-index 156 - ifa-index 157 - ifa-address 157 - ifa-address 158 - ifa-local 158 - ifa-local 159 - 159 - 160 name: getaddr 160 name: getaddr 161 doc: Dump address information. 161 doc: Dump address information. 162 attribute-set: addr-attrs 162 attribute-set: addr-attrs 163 dump: 163 dump: 164 request: 164 request: 165 value: 22 165 value: 22 166 attributes: 166 attributes: 167 - ifa-index 167 - ifa-index 168 reply: 168 reply: 169 value: 20 169 value: 20 170 attributes: *ifaddr-all 170 attributes: *ifaddr-all 171 171 172 mcast-groups: 172 mcast-groups: 173 list: 173 list: 174 - 174 - 175 name: rtnlgrp-ipv4-ifaddr 175 name: rtnlgrp-ipv4-ifaddr 176 value: 5 176 value: 5 177 - 177 - 178 name: rtnlgrp-ipv6-ifaddr 178 name: rtnlgrp-ipv6-ifaddr 179 value: 9 179 value: 9
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.