I am trying to use the dev_hard_start_xmit for hard_start_xmit in my driver but insmod says it is undefined. But I could see it in kallsyms. also its prototype is in netdevice.h and says extern.

as
#grep dev_hard_start_xmit /proc/kallsyms
0000000000000000 T dev_hard_start_xmit