1 /**************************************************************************** 2 **************************************************************************** 3 *** 4 *** This header was automatically generated from a Linux kernel header 5 *** of the same name, to make information necessary for userspace to 6 *** call into the kernel available to libc. It contains only constants, 7 *** structures, and macros generated from the original header, and thus, 8 *** contains no copyrightable information. 9 *** 10 *** To edit the content of this header, modify the corresponding 11 *** source file (e.g. under external/kernel-headers/original/) then 12 *** run bionic/libc/kernel/tools/update_all.py 13 *** 14 *** Any manual change here will be lost the next time this script will 15 *** be run. You've been warned! 16 *** 17 **************************************************************************** 18 ****************************************************************************/ 19 #ifndef _UAPI__SOCK_DIAG_H__ 20 #define _UAPI__SOCK_DIAG_H__ 21 #include <linux/types.h> 22 #define SOCK_DIAG_BY_FAMILY 20 23 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 24 struct sock_diag_req { 25 __u8 sdiag_family; 26 __u8 sdiag_protocol; 27 }; 28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 29 enum { 30 SK_MEMINFO_RMEM_ALLOC, 31 SK_MEMINFO_RCVBUF, 32 SK_MEMINFO_WMEM_ALLOC, 33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 34 SK_MEMINFO_SNDBUF, 35 SK_MEMINFO_FWD_ALLOC, 36 SK_MEMINFO_WMEM_QUEUED, 37 SK_MEMINFO_OPTMEM, 38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 39 SK_MEMINFO_BACKLOG, 40 SK_MEMINFO_VARS, 41 }; 42 enum sknetlink_groups { 43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 44 SKNLGRP_NONE, 45 SKNLGRP_INET_TCP_DESTROY, 46 SKNLGRP_INET_UDP_DESTROY, 47 SKNLGRP_INET6_TCP_DESTROY, 48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 49 SKNLGRP_INET6_UDP_DESTROY, 50 __SKNLGRP_MAX, 51 }; 52 #define SKNLGRP_MAX (__SKNLGRP_MAX - 1) 53 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 54 #endif 55