Hi,

I'm running a mix of 2.2.x and 2.0.x kernels.  My program needs
to run on both of them only one really supports the IP_PKTINFO
socket option.  Right now I'm just using <linux/version.h>
to figure out what there version of the kernel is.  Unfortunately
this doesn't seem like a good solution since the kernel
running doesn't necessarily correspond to might might be in
/usr/src/linux.  What is the best way to figure out which version
is currently running?  Should I use "uname -r" or is there something
better?

Sorry if this is the wrong place for this but it does involve the
IP_PKTINFO socket option.  ;)

Thanks,
Tuan


-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to