摘要: 1、介绍 NCSI就是带外管理系统和网卡交互的一种协议。 2、术语 2.1 外部网络接口 网络控制器的接口,提供与外部网络基础设施的连接;也称为端口。 2.2 内部网络接口 网络控制器的接口,提供与平台上运行的主机操作系统的连接。 2.3 Channel 通过单个网络接口(端口)支持NC-SI Pa 阅读全文
posted @ 2024-07-22 21:57 NotReferenced 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 需要先更新数据库 sudo apt-get update 阅读全文
posted @ 2024-07-22 07:23 NotReferenced 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 修改root密码 sudo passwd root 切换root用户 su root 阅读全文
posted @ 2024-07-22 07:15 NotReferenced 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 头文件: #include <algorithm> 1、最大最小操作 1.1 min 1.2 max 阅读全文
posted @ 2024-07-21 20:39 NotReferenced 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 低地址存低位就是小端 低地址存高位就是大端 网络字节序就是大端(TCP/IP) 阅读全文
posted @ 2024-07-20 11:56 NotReferenced 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 1、inet_pton #include <arpa/inet.h> int inet_pton(int af, const char *restrict src, void *restrict dst); 将IPv4和IPv6地址从文本转为二进制。(网络字节序) af参数有以下取值: AF_INE 阅读全文
posted @ 2024-07-20 11:38 NotReferenced 阅读(1) 评论(0) 推荐(0) 编辑
摘要: ![](https://img2024.cnblogs.com/blog/2414603/202407/2414603-20240718070243998-1540747474.png) 阅读全文
posted @ 2024-07-18 07:02 NotReferenced 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 1、定义 2、成员函数 2.1 容量 2.1.1 size 2.2 查找 2.2.1 count 2.2.2 find 2.3 修改器 2.3.1 insert 2.3.2 erase 阅读全文
posted @ 2024-07-17 21:42 NotReferenced 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 1、容量 1.1 size/length 2、元素访问 1.2 operator[] 阅读全文
posted @ 2024-07-17 07:08 NotReferenced 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 1、申请内存 在C++中,结构体不仅可以使用malloc关键字申请内存,也可以使用new关键字申请内存。 struct_a *a = (struct_a *)malloc(sizeof(struct_a)); struct_a *a = new struct_a(); 阅读全文
posted @ 2024-07-16 18:27 NotReferenced 阅读(1) 评论(0) 推荐(0) 编辑