vxworks_official_code's Introduction
xxInit ChapInit(unit) ether_ifattach net driver entry: void ether_attach (ifp, unit, name, initRtn, ioctlRtn, outputRtn, resetRtn) -> ether_attach - 将新的网络接口附加到网络层。 填写 ifnet 结构并将其传递给 if_attach () 例程,该例程将该结构中描述的网络接口附加到网络层软件,以供将来在路由、数据包接收和传输中使用 if_attach (ifp) s = splnet () -> 设置网络处理器级别, splnet 可用于确保共享公共网络数据结构的进程之间的互斥。 在 UNIXland 中,这是通过设置处理器中断级别来完成的。 然而,在 VxWorksLand 中,我们使用简单的信号量机制。 splx 应在关键部分完成后调用。 我们必须首先检查是否已经处于网络级别 while (*p) splx (s) m2IfTableUpdate splnet ether_ifattach -> 附加到接口列表时执行公共程序
vxworks_official_code's People
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.