| 1 |
probe netfilter.bridge.* { |
| 2 |
if (protocol == llcproto_stp) { |
| 3 |
printf("%s, ", tz_ctime(gettimeofday_s())) |
| 4 |
printf("STP Protocol ID %x, ", br_prid) |
| 5 |
printf("Version ID %x, ", br_vid) |
| 6 |
printf("Flags %d, ", br_flags) |
| 7 |
printf("bridge-id %s\n", br_mac) |
| 8 |
printf("Message Age %ds, ", br_msg/256) |
| 9 |
printf("Max-Age %ds, ", br_max/256) |
| 10 |
printf("Hello-time %ds, ", br_htime/256) |
| 11 |
printf("Forward-delay %ds\n", br_fd/256) |
| 12 |
printf("Root-id %s, ", br_rmac) |
| 13 |
printf("Root-pathcost %d\n", br_cost) |
| 14 |
} |
| 15 |
} |