I'm cross posting my question from comp.lang.lisp as I'm working with sbcl and seeking an sbcl-specific solution:

How does one best call Linux system calls in sbcl? Specifically I want to send and receive raw Ethernet frames, using socket(AF_PACKET, ...) and send/receive. 

I read the part of the sbcl manual about sb-alien and that concludes with a call to (load-shared-object "test.so"). But I can hardly load the Linux kernel that way? Any advice?