┌────────┬───────┬───────┬──────────────┬──────────────┬───────┬────────┐ ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ │ gre │ 4 │ 4 │ inherit 0xf8 │ inherit 119 │ false │ OK │ │ gre │ 4 │ 4 │ inherit 0xd0 │ inherit 162 │ true │ OK │ │ gre │ 4 │ 4 │ fixed 0x70 │ fixed 180 │ false │ OK │ │ gre │ 4 │ 4 │ fixed 0x88 │ fixed 166 │ true │ OK │ ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ │ gre │ 4 │ 6 │ inherit 0xfc │ inherit 39 │ false │ OK │ │ gre │ 4 │ 6 │ inherit 0x74 │ inherit 143 │ true │ OK │ │ gre │ 4 │ 6 │ fixed 0xec │ fixed 211 │ false │ OK │ │ gre │ 4 │ 6 │ fixed 0xe0 │ fixed 212 │ true │ OK │ ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ │ gre │ 4 │ other │ inherit 0xa8 │ inherit 145 │ false │ OK │ │ gre │ 4 │ other │ inherit 0x2c │ inherit 28 │ true │ OK │ │ gre │ 4 │ other │ fixed 0x14 │ fixed 238 │ false │ OK │ │ gre │ 4 │ other │ fixed 0xac │ fixed 239 │ true │ OK │ ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ │ gre │ 6 │ 4 │ inherit 0xe0 │ inherit 252 │ false │ OK │ │ gre │ 6 │ 4 │ inherit 0x0c │ inherit 131 │ true │ OK │ │ gre │ 6 │ 4 │ fixed 0x28 │ fixed 199 │ false │ OK │ │ gre │ 6 │ 4 │ fixed 0x04 │ fixed 63 │ true │ OK │ ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ │ gre │ 6 │ 6 │ inherit 0xf8 │ inherit 41 │ false │ OK │ │ gre │ 6 │ 6 │ inherit 0xf4 │ inherit 36 │ true │ OK │ │ gre │ 6 │ 6 │ fixed 0x40 │ fixed 186 │ false │ OK │ │ gre │ 6 │ 6 │ fixed 0xec │ fixed 175 │ true │ OK │ ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ │ gre │ 6 │ other │ inherit 0x80 │ inherit 226 │ false │ OK │ │ gre │ 6 │ other │ inherit 0x8c │ inherit 14 │ true │ OK │ │ gre │ 6 │ other │ fixed 0xf8 │ fixed 137 │ false │ OK │ │ gre │ 6 │ other │ fixed 0x78 │ fixed 201 │ true │ OK │ ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ │ vxlan │ 4 │ 4 │ inherit 0x58 │ inherit 249 │ false │ OK │ │ vxlan │ 4 │ 4 │ inherit 0x84 │ inherit 105 │ true │ OK │ │ vxlan │ 4 │ 4 │ fixed 0xf8 │ fixed 166 │ false │ OK │ │ vxlan │ 4 │ 4 │ fixed 0x0c │ fixed 65 │ true │ OK │ ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ │ vxlan │ 4 │ 6 │ inherit 0xb0 │ inherit 253 │ false │ OK │ │ vxlan │ 4 │ 6 │ inherit 0xc0 │ inherit 113 │ true │ OK │ │ vxlan │ 4 │ 6 │ fixed 0xec │ fixed 241 │ false │ OK │ │ vxlan │ 4 │ 6 │ fixed 0x98 │ fixed 180 │ true │ OK │ ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ │ vxlan │ 4 │ other │ inherit 0x9c │ inherit 29 │ false │ OK │ │ vxlan │ 4 │ other │ inherit 0xdc │ inherit 43 │ true │ OK │ │ vxlan │ 4 │ other │ fixed 0xac │ fixed 212 │ false │ OK │ │ vxlan │ 4 │ other │ fixed 0x2c │ fixed 81 │ true │ OK │ ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ │ vxlan │ 6 │ 4 │ inherit 0xb4 │ inherit 3 │ false │ OK │ │ vxlan │ 6 │ 4 │ inherit 0x68 │ inherit 6 │ true │ OK │ │ vxlan │ 6 │ 4 │ fixed 0xe4 │ fixed 110 │ false │ OK │ │ vxlan │ 6 │ 4 │ fixed 0x84 │ fixed 249 │ true │ OK │ ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ │ vxlan │ 6 │ 6 │ inherit 0x8c │ inherit 193 │ false │ OK │ │ vxlan │ 6 │ 6 │ inherit 0x08 │ inherit 125 │ true │ OK │ │ vxlan │ 6 │ 6 │ fixed 0xb8 │ fixed 120 │ false │ OK │ │ vxlan │ 6 │ 6 │ fixed 0x40 │ fixed 85 │ true │ OK │ ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ │ vxlan │ 6 │ other │ inherit 0x3c │ inherit 219 │ false │ OK │ │ vxlan │ 6 │ other │ inherit 0x10 │ inherit 38 │ true │ OK │ │ vxlan │ 6 │ other │ fixed 0x14 │ fixed 196 │ false │ OK │ │ vxlan │ 6 │ other │ fixed 0xbc │ fixed 122 │ true │ OK │ ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ │ geneve │ 4 │ 4 │ inherit 0x68 │ inherit 130 │ false │ OK │ │ geneve │ 4 │ 4 │ inherit 0xe4 │ inherit 9 │ true │ OK │ │ geneve │ 4 │ 4 │ fixed 0x6c │ fixed 1 │ false │ OK │ │ geneve │ 4 │ 4 │ fixed 0xfc │ fixed 229 │ true │ OK │ ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ │ geneve │ 4 │ 6 │ inherit 0xb4 │ inherit 25 │ false │ OK │ │ geneve │ 4 │ 6 │ inherit 0xe4 │ inherit 230 │ true │ OK │ │ geneve │ 4 │ 6 │ fixed 0x58 │ fixed 229 │ false │ OK │ │ geneve │ 4 │ 6 │ fixed 0x30 │ fixed 33 │ true │ OK │ ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ │ geneve │ 4 │ other │ inherit 0x78 │ inherit 185 │ false │ OK │ │ geneve │ 4 │ other │ inherit 0xb8 │ inherit 140 │ true │ OK │ │ geneve │ 4 │ other │ fixed 0xc0 │ fixed 33 │ false │ OK │ │ geneve │ 4 │ other │ fixed 0xa0 │ fixed 28 │ true │ OK │ ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ │ geneve │ 6 │ 4 │ inherit 0x6c │ inherit 214 │ false │ OK │ │ geneve │ 6 │ 4 │ inherit 0xcc │ inherit 88 │ true │ OK │ │ geneve │ 6 │ 4 │ fixed 0x7c │ fixed 41 │ false │ OK │ │ geneve │ 6 │ 4 │ fixed 0xf8 │ fixed 197 │ true │ OK │ ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ │ geneve │ 6 │ 6 │ inherit 0xd8 │ inherit 100 │ false │ OK │ │ geneve │ 6 │ 6 │ inherit 0x80 │ inherit 41 │ true │ OK │ │ geneve │ 6 │ 6 │ fixed 0x50 │ fixed 85 │ false │ OK │ │ geneve │ 6 │ 6 │ fixed 0x74 │ fixed 99 │ true │ OK │ ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ │ geneve │ 6 │ other │ inherit 0x30 │ inherit 98 │ false │ OK │ │ geneve │ 6 │ other │ inherit 0x74 │ inherit 61 │ true │ OK │ │ geneve │ 6 │ other │ fixed 0x6c │ fixed 208 │ false │ OK │ │ geneve │ 6 │ other │ fixed 0x68 │ fixed 143 │ true │ OK │ └────────┴───────┴───────┴──────────────┴──────────────┴───────┴────────┘ :: [ PASS ] :: Test '79..84 selftests: net:l2_tos_ttl_inherit.sh [PASS]'