Hi, I am trying to read / write on raw ethernet medium from my vxworks. I understand that that there exists few etheroutput/ether hooks API to get my task accomplished. I have problem using them. I did the following. 1. I tried getting the etheroutput and etheroutputhook work. I got the etheroutput working. I am able to send a test packet from vxWorks to a host on windows platform, I captured using ethreal and verified. For this to be done I gave the interface (eg, gei0) and my destination mac ID. Then I moved to get the etherOutputHook work. I have problem over here. Though I am able to hook successfully (atleast thats what it says, it returns no error), I am unable to capture the packets I send out. Another doubt I have in using etherOutputHook is "how do u specify which interface this hook should be listening/looking to, so that it gets invoked when a packet gets passed thru that interface it will get invoked. Is there a initialize function. Another stuff I am not clear about is, what is etherOutputHookRtn, Should I call this explicitly to make sure I capture all the packets going in an interface or just establishing a hook will so (in that case what's this function pointer's use)? My code (for EtherOutputHook): BOOL OutputHandle(struct ifnet *pIf, char *buffer, int length) { int i; printf("hooked_packet "); for(i =0;i<length;i++) printf("%c ",buffer[i]); printf("\n\n"); return (TRUE); } STATUS EtherOutputHook() { if (etherOutputHookAdd(OutputHandle) == OK) { printf("etherOutputHookAdd successful\n"); return(OK); } else { printf("etherOutputHook failed\n"); return(ERROR); } } When I spawn a task for EtherOutputHook, it says "etherOutputHookAdd successful", in my vxWorks terminal, however I wonder where do we specify the interface. In the OutputHandle, it just has a pIf, but no where did I populate with my interface gei0, if I should, where should I do it. Also again as a reminder, should I use etherOutputHookRtn anywhere, or just hooking up a etherhook will do for me to get all packets going in an interface. Thanks for the help. Regards, Karthik