]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - include/linux/packet_diag.h
packet: Diag core and basic socket info dumping
[mirror_ubuntu-bionic-kernel.git] / include / linux / packet_diag.h
CommitLineData
96ec6327
PE
1#ifndef __PACKET_DIAG_H__
2#define __PACKET_DIAG_H__
3
4#include <linux/types.h>
5
6struct packet_diag_req {
7 __u8 sdiag_family;
8 __u8 sdiag_protocol;
9 __u16 pad;
10 __u32 pdiag_ino;
11 __u32 pdiag_show;
12 __u32 pdiag_cookie[2];
13};
14
15struct packet_diag_msg {
16 __u8 pdiag_family;
17 __u8 pdiag_type;
18 __u16 pdiag_num;
19
20 __u32 pdiag_ino;
21 __u32 pdiag_cookie[2];
22};
23
24#endif