SAL组件初始化接口
函数 | |
int | sal_init (void) |
SAL组件初始化 | |
int | sal_proto_family_register (const struct proto_family *pf) |
网络协议簇注册 | |
SAL组件初始化接口
int sal_init | ( | void | ) |
SAL组件初始化
该函数完成对组件中使用的互斥锁等资源的初始化。
int sal_proto_family_register | ( | const struct proto_family * | pf | ) |
网络协议簇注册
该函数用于往SAL组件中注册网络协议簇。
pf | 协议簇结构体指针 |