BSD 4_4_Lite2 release
[unix-history] / usr / src / sys / hp / hpux / hpux_net.c
index bbaac6c..9b6e5df 100644 (file)
@@ -37,7 +37,7 @@
  *
  * from: Utah $Hdr: hpux_net.c 1.8 93/08/02$
  *
  *
  * from: Utah $Hdr: hpux_net.c 1.8 93/08/02$
  *
- *     @(#)hpux_net.c  8.2 (Berkeley) 9/9/93
+ *     @(#)hpux_net.c  8.3 (Berkeley) 2/19/95
  */
 
 /*
  */
 
 /*
  * HPUX netioctl() to BSD syscall map.
  * Indexed by callno - MINBSDIPCCODE
  */
  * HPUX netioctl() to BSD syscall map.
  * Indexed by callno - MINBSDIPCCODE
  */
-extern int socket(), listen(), bind(), oaccept(), connect(), orecv();
-extern int osend(), shutdown(), ogetsockname(), sendto();
-extern int orecvfrom(), ogetpeername();
+extern int socket(), listen(), bind(), compat_43_accept(), connect();
+extern int compat_43_recv(), compat_43_send(), shutdown();
+extern int compat_43_getsockname(), sendto(), compat_43_recvfrom();
+extern int compat_43_getpeername();
 int hpuxgetsockopt(), hpuxsetsockopt();
 
 struct hpuxtobsdipc {
        int (*rout)();
        int nargs;
 } hpuxtobsdipc[NUMBSDIPC] = {
 int hpuxgetsockopt(), hpuxsetsockopt();
 
 struct hpuxtobsdipc {
        int (*rout)();
        int nargs;
 } hpuxtobsdipc[NUMBSDIPC] = {
-       socket,         3, /* 3ee */    listen,         2, /* 3ef */
-       bind,           3, /* 3f0 */    oaccept,        3, /* 3f1 */
-       connect,        3, /* 3f2 */    orecv,          4, /* 3f3 */
-       osend,          4, /* 3f4 */    shutdown,       2, /* 3f5 */
-       ogetsockname,   3, /* 3f6 */    hpuxsetsockopt, 5, /* 3f7 */
-       sendto,         6, /* 3f8 */    orecvfrom,      6, /* 3f9 */
-       ogetpeername,   3, /* 3fa */    NULL,           0, /* 3fb */
-       NULL,           0, /* 3fc */    NULL,           0, /* 3fd */
-       NULL,           0, /* 3fe */    NULL,           0, /* 3ff */
-       NULL,           0, /* 400 */    NULL,           0, /* 401 */
-       NULL,           0, /* 402 */    NULL,           0, /* 403 */
-       NULL,           0, /* 404 */    NULL,           0, /* 405 */
-       NULL,           0, /* 406 */    NULL,           0, /* 407 */
-       NULL,           0, /* 408 */    NULL,           0, /* 409 */
-       NULL,           0, /* 40a */    hpuxgetsockopt, 5, /* 40b */
-       NULL,           0, /* 40c */    NULL,           0, /* 40d */
+       socket,         3, /* 3ee */            listen,         2, /* 3ef */
+       bind,           3, /* 3f0 */    compat_43_accept,       3, /* 3f1 */
+       connect,        3, /* 3f2 */    compat_43_recv,         4, /* 3f3 */
+       compat_43_send,         4, /* 3f4 */    shutdown,       2, /* 3f5 */
+       compat_43_getsockname,  3, /* 3f6 */    hpuxsetsockopt, 5, /* 3f7 */
+       sendto,         6, /* 3f8 */    compat_43_recvfrom,     6, /* 3f9 */
+       compat_43_getpeername,  3, /* 3fa */    NULL,           0, /* 3fb */
+       NULL,           0, /* 3fc */            NULL,           0, /* 3fd */
+       NULL,           0, /* 3fe */            NULL,           0, /* 3ff */
+       NULL,           0, /* 400 */            NULL,           0, /* 401 */
+       NULL,           0, /* 402 */            NULL,           0, /* 403 */
+       NULL,           0, /* 404 */            NULL,           0, /* 405 */
+       NULL,           0, /* 406 */            NULL,           0, /* 407 */
+       NULL,           0, /* 408 */            NULL,           0, /* 409 */
+       NULL,           0, /* 40a */            hpuxgetsockopt, 5, /* 40b */
+       NULL,           0, /* 40c */            NULL,           0, /* 40d */
 };
 
 /*
 };
 
 /*