+#ifdef sotorawcb
+/*
+ * Common structure pcb for raw clnp protocol access.
+ * Here are clnp specific extensions to the raw control block,
+ * and space is allocated to the necessary sockaddrs.
+ */
+struct rawisopcb {
+ struct rawcb risop_rcb; /* common control block prefix */
+ int risop_flags; /* flags, e.g. raw sockopts */
+ struct isopcb risop_isop; /* space for bound addresses, routes etc.*/
+};
+#endif
+
+#define sotoisopcb(so) ((struct isopcb *)(so)->so_pcb)
+#define sotorawisopcb(so) ((struct rawisopcb *)(so)->so_pcb)