AVPacket位置:libavcodec/avcodec.h下:AVPacket:
通常通过demuxer导出的data packet作为解码器的input data
或是收到来自编码器的data ...
分类:
其他好文 时间:
2017-04-13 19:32:25
阅读次数:
807
BPF用于很多的抓包程序,在linux中,一般内核自动编译进了af_packet这个驱动,因此只需要在用户态配置一个PACKET的socket,然后将filter配置进内核即可,使用setsockopt的SO_ATTACH_FILTER 命令,这个filter是在用户空间配制的,比如tcpdump应 ...
分类:
系统相关 时间:
2017-04-12 21:47:32
阅读次数:
672
查看可以执行的最大 sql 字符串的长度: show VARIABLES like '%max_allowed_packet%'; 不重启 MySql,修改最大执行sql长度:SET GLOBAL max_allowed_packet=20971520; 修改最大执行sql变量: vi /etc/m ...
分类:
数据库 时间:
2017-04-10 18:10:59
阅读次数:
190
navicat 导入数据报错 1153 - got a packet bigger than 'max_allowed_packet' bytes 今天在用navicat导入sql文件时报错:mysql 错误 err [imp] 1153 - got a packet bigger than 'ma ...
分类:
其他好文 时间:
2017-04-10 14:37:02
阅读次数:
208
1. 问题来源 今天在公司导入sql, 遇到了很多sql导入不成功,于是找到错误提示:MySQL server has gone away 2. 解决 在mysql的my.ini中 添加 max_allowed_packet=10M 然后在运行sql,成功。 3. 详情 max_allowed_pa ...
分类:
数据库 时间:
2017-04-10 11:19:42
阅读次数:
138
FILESYSTEM LS CD PWD MKDIR RMDIR To remove empty directories, use rmdir. So, for example, rmdir oldDir will remove the directory oldDir only if it is ...
分类:
Web程序 时间:
2017-04-04 14:57:28
阅读次数:
601
#include <HttpPacket.h> #include <ArduinoJson.h> #include <ESP8266WiFi.h> HttpPacketHead packet; #define myPeriodic 5 int L = 0; //LED指示灯引脚 int sent = ...
分类:
移动开发 时间:
2017-04-03 14:35:52
阅读次数:
556
If you have a set of computers that can talk to each other directly, you have a network. For computers on your network to talk to computers on another ...
分类:
其他好文 时间:
2017-04-02 16:24:14
阅读次数:
163
https://en.wikipedia.org/wiki/Coupling_(computer_programming) In software engineering, coupling is the degree of interdependence between software modu ...
分类:
其他好文 时间:
2017-04-02 13:51:02
阅读次数:
261
原创翻译,转载请注明出处。 下面是一个支持Qos的复杂报文处理流水线的图;流水线是通过DPDP可重用的软件库构建出来的。在流水线里实现QoS主要是如下模块:policer,dropper,shceduler。下面是这些模块的功能性描述。# 模块 功能描述 1 Packet I/O Rx&Tx 从网卡 ...
分类:
其他好文 时间:
2017-04-01 13:48:30
阅读次数:
464