-
linuxNFQueue 回调函数
iptables的示例代码*data)
{
struct nfqnl_msg_packet_hdr *ph = NULL;
struct nlattr *attr[NFQA_MAX+1];
uint32_t id = 0;
struct nfgenmsg *nfg;
if (nfq_nlmsg_parse(nlh, attr) < 0) {
perror("problems parsing");
return MNL_CB_ERROR;
}
- 2023-08-07 23:05:03下载
- 积分:1
-
gcdemo for linux
CGrp 20“dtiB9”1 SIUA
- 2022-12-18 19:25:04下载
- 积分:1
-
netlink内核与用户空间通信 完整例子
用户空间发送一个消息到内核,“this message is from eric"s space",消息长33字节,因为 printf("message sendto kernel are:%s, len:%d
", (char *)NLMSG_DATA(message), message->nlmsg_len); message->nlmsg_len = NLMSG_SPACE(strlen(data)); 中的NLMSG——SPACE,四字节对齐,所以消息长为36,加上消息头长为16,len为52。 内核将收到的netlink消息打印,并返回用户空间一条自己的消息,长39,四字节对齐为40,加上消息头为56。
- 2023-06-06 23:55:04下载
- 积分:1
-
QT界面编程,用于学习之用
QT界面编程,用于学习之用,学习用到了信号,界面跳转等内容
- 2022-06-14 14:57:26下载
- 积分:1
-
php 多线程通信
应用背景php自带的多线程函数,处理效果不尽人意。因此在网上下载了一个专门的工具,来解决php的这个问题关键技术Posix Threads Synchronization Worker Threads Complete Support for OO - ie. traits, interfaces, inheritance
- 2022-11-29 04:55:04下载
- 积分:1
-
万年历
万年历表来计算周的某一天条件是因为它写 ;一段时间循环减慢末尾没有分号请输入一个缺少平局的天报价"* /有没有"&"应指定 T 的地址 * /请输入每月 n") ;月是 int 以及 wareine 执行制定浮动 * /请说明年 (4 位数字)
- 2022-03-20 02:07:12下载
- 积分:1
-
VS1003 網路VOIP
VS1003 網路VOIP 錄音,可放MP3 WVA,MIDI格式音乐文件,及錄音成adpcm格式,放MP3 WVA,MIDI格式音乐文件
- 2023-09-03 21:20:04下载
- 积分:1
-
5370 linux dirver
===========
RT2870 Wireless Lan Linux Driver
=======================================================================
Driver lName:
===========
rt2870.o/rt2870.ko
=======================================================================
Supporting Kernel:
===================
linux kernel 2.4 and 2.6 series.
Tested in Redhat 7.3 or later.
=======================================================================
Ralink Hardware:
===================
Ralink 802.11n Wireless LAN Card.
=======================================================================
Description:
=============
This is a linux device driver for Ralink RT2870 USB ABGN WLAN Card.
=======================================================================
Contents:
=============
Makefile
- 2023-07-28 02:15:04下载
- 积分:1
-
dsplib and dsplink examples from TI
this is an example from ti linux dsplink and dsplib.
The exmaple contains kernel and code using dsplib.
it also need cmem module to go with the examples.
it is very useful if someone is not familiar with dsplink and linux kernel programming
- 2023-03-04 02:05:03下载
- 积分:1
-
FTP服务器开发
这个是FTP服务器开发的源代码。欢迎大家下载、试用。谢谢大家的支持!
- 2022-03-21 02:17:53下载
- 积分:1