raw_attach
int raw_attach(struct socket *, int, struct rawcbhead *);
if ((error = raw_attach(so, proto, &rt_rawcb)) == 0) {
error = raw_attach(so, proto, &key_rawcb);