ICode9

精准搜索请尝试: 精确搜索
  • dpdk发送RST报文(一)—— 构建RST包2022-02-25 11:00:09

    suricata中阻断报文函数“RejectSendLibnet11IPv4TCP”使用libnet11构造阻断报文。今天试一下自己手动构建RST报文,然后通过dpdk发送出去。 dpdk-response-reject.h #ifndef __DPDK_RESPONSE_REJECT_H__ #define __DPDK_RESPONSE_REJECT_H__ #include "rte_mbuf.h" enum Reject

  • linux网络编程-进程间通信——消息队列2022-02-19 22:02:51

    1 #include<stdio.h> 2 #include<string.h> 3 #include<sys/types.h> 4 #include<sys/ipc.h> 5 #include<sys/msg.h> 6 int main() 7 { 8 int ret = -1; 9 key_t key; 10 char *msgpath = "./ipc/"; 11 int

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有