阅读:2233回复:3
vxworks:muxDevStart根据什么找到dev的Start函数?LOCAL NET_FUNCS rtlFuncTable = { (FUNCPTR)rtl81x9Start, /* start func. */ (FUNCPTR)rtl81x9Stop, /* stop func. */ (FUNCPTR)rtl81x9Unload,/* unload func. */ (FUNCPTR)rtl81x9Ioctl, /* ioctl func. */ (FUNCPTR)rtl81x9Send, /* send func. */ (FUNCPTR)rtl81x9MCastAddrAdd,/*multicast add nc*/ (FUNCPTR)rtl81x9MCastAddrDel, /* multicast delete func. */ (FUNCPTR)rtl81x9MCastAddrGet, /* multicast get fun. */ (FUNCPTR)rtl81x9PollSend,/* polling send func. */ (FUNCPTR)rtl81x9PollReceive, /* polling receive func. */ endEtherAddressForm,/* put address info into a NET_BUFFER */ endEtherPacketDataGet,/* get pointer to data in NET_BUFFER */ endEtherPacketAddrGet/* Get packet addresses. */ }; vxworks:muxDevStart根据什么找到dev的Start函数? 是以Start结尾还是指第一个函数是Start ...?? |
|
|
沙发#
发布于:2002-12-02 16:26
当然是按顺序
|
|
|
板凳#
发布于:2002-12-10 14:17
先获取END_OBJ对象指针,再通过这个指针结构的元素
|
|
地板#
发布于:2002-12-10 14:18
先获取END_OBJ对象指针,再通过这个指针结构的元素 :)
|
|