core: Inline the protocol definitions of sendp and oneshot

I want to be able to see what is going on