It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center
                            
                        
                    
                
                                6年前关闭。
            
                    
我下载了libnl3源代码,但是没有找到在哪里定义struct nl_sock。

最佳答案

在库中随附的netlink包含文件中查找。从netlink / socket.h,netlink / netlink.h等开始

关于c - 如何在libnl中定义nl_sock? ,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/15355484/

10-14 03:10