@@ -158,6 +158,11 @@ pub enum SockProtocol {
158
158
#[ cfg( any( target_os = "android" , target_os = "linux" ) ) ]
159
159
#[ cfg_attr( docsrs, doc( cfg( all( ) ) ) ) ]
160
160
NetlinkSockDiag = libc:: NETLINK_SOCK_DIAG ,
161
+ /// Netfilter/iptables ULOG.
162
+ /// ([ref](https://www.man7.org/linux/man-pages/man7/netlink.7.html))
163
+ #[ cfg( any( target_os = "android" , target_os = "linux" ) ) ]
164
+ #[ cfg_attr( docsrs, doc( cfg( all( ) ) ) ) ]
165
+ NetlinkNFLOG = libc:: NETLINK_NFLOG ,
161
166
/// SELinux event notifications.
162
167
/// ([ref](https://www.man7.org/linux/man-pages/man7/netlink.7.html))
163
168
#[ cfg( any( target_os = "android" , target_os = "linux" ) ) ]
@@ -208,6 +213,11 @@ pub enum SockProtocol {
208
213
#[ cfg( any( target_os = "android" , target_os = "linux" ) ) ]
209
214
#[ cfg_attr( docsrs, doc( cfg( all( ) ) ) ) ]
210
215
NetlinkKObjectUEvent = libc:: NETLINK_KOBJECT_UEVENT ,
216
+ /// Generic netlink family for simplified netlink usage.
217
+ /// ([ref](https://www.man7.org/linux/man-pages/man7/netlink.7.html))
218
+ #[ cfg( any( target_os = "android" , target_os = "linux" ) ) ]
219
+ #[ cfg_attr( docsrs, doc( cfg( all( ) ) ) ) ]
220
+ NetlinkGeneric = libc:: NETLINK_GENERIC ,
211
221
/// Netlink interface to request information about ciphers registered with the kernel crypto API as well as allow
212
222
/// configuration of the kernel crypto API.
213
223
/// ([ref](https://www.man7.org/linux/man-pages/man7/netlink.7.html))
0 commit comments