hi all,

I am customizing a linux driver code of WLAN card as Access Point on Linux kernel 2.6.12 to work with.

We know struct net_device has a member pointer to a method called
hard_start_xmit that initiates the transmission through the device. Data should contain sk_buff structure.

For that particular device, the whole driver code is consists of some modules. Among those one module already assigned a function to this pointer "hard_start_xmit". I already tested its working well to transmit outgoing data frame from AP. My question is, how can I assign another function in different module. I need to call this function when transmit data frame, but in practice, this function will not send any data frame, e.g. won’t use dev_queue_xmit. You can assume, when something to transmit it will call two functions in two modules of same driver

Any suggestions to do that please ?



regards,
/ Frank

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to