┌────────┬───────┬───────┬──────────────┬──────────────┬───────┬────────┐ ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ │ gre │ 4 │ 4 │ inherit 0xcc │ inherit 1 │ false │ OK │ │ gre │ 4 │ 4 │ inherit 0x20 │ inherit 41 │ true │ OK │ │ gre │ 4 │ 4 │ fixed 0x48 │ fixed 86 │ false │ OK │ │ gre │ 4 │ 4 │ fixed 0xa8 │ fixed 182 │ true │ OK │ ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ │ gre │ 4 │ 6 │ inherit 0x50 │ inherit 209 │ false │ OK │ │ gre │ 4 │ 6 │ inherit 0xd8 │ inherit 121 │ true │ OK │ │ gre │ 4 │ 6 │ fixed 0x8c │ fixed 67 │ false │ OK │ │ gre │ 4 │ 6 │ fixed 0x78 │ fixed 238 │ true │ OK │ ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ │ gre │ 4 │ other │ inherit 0xa0 │ inherit 100 │ false │ OK │ │ gre │ 4 │ other │ inherit 0xf0 │ inherit 23 │ true │ OK │ │ gre │ 4 │ other │ fixed 0x6c │ fixed 159 │ false │ OK │ │ gre │ 4 │ other │ fixed 0xb4 │ fixed 142 │ true │ OK │ ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ │ gre │ 6 │ 4 │ inherit 0xac │ inherit 116 │ false │ OK │ │ gre │ 6 │ 4 │ inherit 0xdc │ inherit 242 │ true │ OK │ │ gre │ 6 │ 4 │ fixed 0xd0 │ fixed 27 │ false │ OK │ │ gre │ 6 │ 4 │ fixed 0x40 │ fixed 162 │ true │ OK │ ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ │ gre │ 6 │ 6 │ inherit 0xc8 │ inherit 23 │ false │ OK │ │ gre │ 6 │ 6 │ inherit 0x74 │ inherit 123 │ true │ OK │ │ gre │ 6 │ 6 │ fixed 0x98 │ fixed 76 │ false │ OK │ │ gre │ 6 │ 6 │ fixed 0x08 │ fixed 74 │ true │ OK │ ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ │ gre │ 6 │ other │ inherit 0x70 │ inherit 106 │ false │ OK │ │ gre │ 6 │ other │ inherit 0x68 │ inherit 148 │ true │ OK │ │ gre │ 6 │ other │ fixed 0x68 │ fixed 39 │ false │ OK │ │ gre │ 6 │ other │ fixed 0x04 │ fixed 117 │ true │ OK │ ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ │ vxlan │ 4 │ 4 │ inherit 0xbc │ inherit 98 │ false │ OK │ │ vxlan │ 4 │ 4 │ inherit 0xc4 │ inherit 224 │ true │ OK │ │ vxlan │ 4 │ 4 │ fixed 0x90 │ fixed 190 │ false │ OK │ │ vxlan │ 4 │ 4 │ fixed 0xf0 │ fixed 127 │ true │ OK │ ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ │ vxlan │ 4 │ 6 │ inherit 0x18 │ inherit 107 │ false │ OK │ │ vxlan │ 4 │ 6 │ inherit 0xc8 │ inherit 205 │ true │ OK │ │ vxlan │ 4 │ 6 │ fixed 0xd0 │ fixed 94 │ false │ OK │ │ vxlan │ 4 │ 6 │ fixed 0xdc │ fixed 11 │ true │ OK │ ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ │ vxlan │ 4 │ other │ inherit 0x68 │ inherit 44 │ false │ OK │ │ vxlan │ 4 │ other │ inherit 0xe8 │ inherit 33 │ true │ OK │ │ vxlan │ 4 │ other │ fixed 0x50 │ fixed 140 │ false │ OK │ │ vxlan │ 4 │ other │ fixed 0xd4 │ fixed 29 │ true │ OK │ ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ │ vxlan │ 6 │ 4 │ inherit 0xa8 │ inherit 2 │ false │ OK │ │ vxlan │ 6 │ 4 │ inherit 0x08 │ inherit 188 │ true │ OK │ │ vxlan │ 6 │ 4 │ fixed 0x8c │ fixed 3 │ false │ OK │ │ vxlan │ 6 │ 4 │ fixed 0xb4 │ fixed 21 │ true │ OK │ ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ │ vxlan │ 6 │ 6 │ inherit 0x84 │ inherit 73 │ false │ OK │ │ vxlan │ 6 │ 6 │ inherit 0x80 │ inherit 88 │ true │ OK │ │ vxlan │ 6 │ 6 │ fixed 0xcc │ fixed 112 │ false │ OK │ │ vxlan │ 6 │ 6 │ fixed 0x58 │ fixed 92 │ true │ OK │ ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ │ vxlan │ 6 │ other │ inherit 0xd0 │ inherit 135 │ false │ OK │ │ vxlan │ 6 │ other │ inherit 0xd4 │ inherit 4 │ true │ OK │ │ vxlan │ 6 │ other │ fixed 0x50 │ fixed 146 │ false │ OK │ │ vxlan │ 6 │ other │ fixed 0x10 │ fixed 203 │ true │ OK │ ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ │ geneve │ 4 │ 4 │ inherit 0xa0 │ inherit 26 │ false │ OK │ │ geneve │ 4 │ 4 │ inherit 0x64 │ inherit 122 │ true │ OK │ │ geneve │ 4 │ 4 │ fixed 0xe0 │ fixed 114 │ false │ OK │ │ geneve │ 4 │ 4 │ fixed 0x10 │ fixed 117 │ true │ OK │ ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ │ geneve │ 4 │ 6 │ inherit 0x84 │ inherit 182 │ false │ OK │ │ geneve │ 4 │ 6 │ inherit 0x8c │ inherit 123 │ true │ OK │ │ geneve │ 4 │ 6 │ fixed 0x38 │ fixed 240 │ false │ OK │ │ geneve │ 4 │ 6 │ fixed 0x80 │ fixed 42 │ true │ OK │ ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ │ geneve │ 4 │ other │ inherit 0x70 │ inherit 160 │ false │ OK │ │ geneve │ 4 │ other │ inherit 0x48 │ inherit 50 │ true │ OK │ │ geneve │ 4 │ other │ fixed 0x58 │ fixed 228 │ false │ OK │ │ geneve │ 4 │ other │ fixed 0x1c │ fixed 70 │ true │ OK │ ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ │ geneve │ 6 │ 4 │ inherit 0xfc │ inherit 249 │ false │ OK │ │ geneve │ 6 │ 4 │ inherit 0xc0 │ inherit 242 │ true │ OK │ │ geneve │ 6 │ 4 │ fixed 0xc8 │ fixed 75 │ false │ OK │ │ geneve │ 6 │ 4 │ fixed 0x9c │ fixed 215 │ true │ OK │ ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ │ geneve │ 6 │ 6 │ inherit 0xd4 │ inherit 210 │ false │ OK │ │ geneve │ 6 │ 6 │ inherit 0xfc │ inherit 217 │ true │ OK │ │ geneve │ 6 │ 6 │ fixed 0xb0 │ fixed 219 │ false │ OK │ │ geneve │ 6 │ 6 │ fixed 0xa4 │ fixed 35 │ true │ OK │ ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ │ geneve │ 6 │ other │ inherit 0x50 │ inherit 67 │ false │ OK │ │ geneve │ 6 │ other │ inherit 0xc0 │ inherit 59 │ true │ OK │ │ geneve │ 6 │ other │ fixed 0xe4 │ fixed 173 │ false │ OK │ │ geneve │ 6 │ other │ fixed 0x5c │ fixed 222 │ true │ OK │ └────────┴───────┴───────┴──────────────┴──────────────┴───────┴────────┘ :: [ PASS ] :: Test '79..84 selftests: net:l2_tos_ttl_inherit.sh [PASS]'