嵌入式C语言中常用类型前缀
数据类型 | 前缀 |
---|---|
uint8_t | uc |
int8_t | c |
uint16_t | ui |
int16_t | i |
uint32_t | ul |
int32_t | l |
普通指针 | p |
函数指针 | fn |
数据类型 | 前缀 |
---|---|
uint8_t | uc |
int8_t | c |
uint16_t | ui |
int16_t | i |
uint32_t | ul |
int32_t | l |
普通指针 | p |
函数指针 | fn |
dnf install epel-release
dnf config-manager --set-enabled crb
dnf install cmake automake autoconf g++ libtool flex
dnf install openssl-devel libdnet-devel hwloc-devel luajit-devel libpcap-devel pcre-devel xz-devel zlib-devel
git clone https://github.com/snort3/libdaq.git
./bootstrap
./configure
make install
ldconfig
git clone https://github.com/snort3/snort3.git
./configure_cmake.sh
cd build
make -j $(nproc)
make install