Commit fce557b
bpf: Make btf_sock_ids global
tcp and udp bpf_iter can reuse some socket ids in
btf_sock_ids, so make it global.
I put the extern definition in btf_ids.h as a central
place so it can be easily discovered by developers.
Signed-off-by: Yonghong Song <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]1 parent 0f12e58 commit fce557b
3 files changed
+62
-28
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
100 | 130 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9421 | 9421 | | |
9422 | 9422 | | |
9423 | 9423 | | |
9424 | | - | |
9425 | | - | |
9426 | | - | |
9427 | | - | |
9428 | | - | |
9429 | | - | |
9430 | | - | |
9431 | | - | |
9432 | | - | |
9433 | | - | |
9434 | | - | |
9435 | | - | |
9436 | | - | |
9437 | | - | |
9438 | | - | |
9439 | | - | |
9440 | | - | |
9441 | | - | |
9442 | | - | |
9443 | | - | |
9444 | | - | |
9445 | | - | |
9446 | | - | |
9447 | | - | |
9448 | | - | |
9449 | | - | |
9450 | 9424 | | |
9451 | | - | |
| 9425 | + | |
9452 | 9426 | | |
9453 | 9427 | | |
9454 | 9428 | | |
9455 | 9429 | | |
9456 | | - | |
| 9430 | + | |
9457 | 9431 | | |
9458 | 9432 | | |
9459 | 9433 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
100 | 130 | | |
0 commit comments