tapset/linux/inet.stpm
raw| 1 | // inet tapset macros |
| 2 | // Copyright (C) 2017 Red Hat Inc. |
| 3 | // |
| 4 | // This file is part of systemtap, and is free software. You can |
| 5 | // redistribute it and/or modify it under the terms of the GNU General |
| 6 | // Public License (GPL); either version 2, or (at your option) any |
| 7 | // later version. |
| 8 | |
| 9 | @define inet_sock_cast(ptr) %( |
| 10 | @cast(@ptr, "inet_sock", "kernel<net/ip.h><net/inet_sock.h>") |
| 11 | %) |