ioctl cmd arg is u_long
[unix-history] / usr / src / sys / netinet / ip_var.h
index 892fb83..62f28cd 100644 (file)
@@ -1,10 +1,10 @@
 /*
 /*
- * Copyright (c) 1982, 1986, 1993 Regents of the University of California.
- * All rights reserved.
+ * Copyright (c) 1982, 1986, 1993
+ *     The Regents of the University of California.  All rights reserved.
  *
  * %sccs.include.redist.c%
  *
  *
  * %sccs.include.redist.c%
  *
- *     @(#)ip_var.h    7.11 (Berkeley) %G%
+ *     @(#)ip_var.h    8.2 (Berkeley) %G%
  */
 
 /*
  */
 
 /*
@@ -126,5 +126,37 @@ struct     ipq     ipq;                    /* ip reass. queue */
 u_short        ip_id;                          /* ip packet ctr, for ids */
 int    ip_defttl;                      /* default IP ttl */
 
 u_short        ip_id;                          /* ip packet ctr, for ids */
 int    ip_defttl;                      /* default IP ttl */
 
-struct mbuf *ip_srcroute();
+int     in_control __P((struct socket *, u_long, caddr_t, struct ifnet *));
+int     ip_ctloutput __P((int, struct socket *, int, int, struct mbuf **));
+void    ip_deq __P((struct ipasfrag *));
+int     ip_dooptions __P((struct mbuf *));
+void    ip_drain __P((void));
+void    ip_enq __P((struct ipasfrag *, struct ipasfrag *));
+void    ip_forward __P((struct mbuf *, int));
+void    ip_freef __P((struct ipq *));
+void    ip_freemoptions __P((struct ip_moptions *));
+int     ip_getmoptions __P((int, struct ip_moptions *, struct mbuf **));
+void    ip_init __P((void));
+int     ip_mforward __P((struct mbuf *, struct ifnet *));
+int     ip_optcopy __P((struct ip *, struct ip *));
+int     ip_output __P((struct mbuf *,
+           struct mbuf *, struct route *, int, struct ip_moptions *));
+int     ip_pcbopts __P((struct mbuf **, struct mbuf *));
+struct ip *
+        ip_reass __P((struct ipasfrag *, struct ipq *));
+struct in_ifaddr *
+        ip_rtaddr __P((struct in_addr));
+int     ip_setmoptions __P((int, struct ip_moptions **, struct mbuf *));
+void    ip_slowtimo __P((void));
+struct mbuf *
+        ip_srcroute __P((void));
+void    ip_stripoptions __P((struct mbuf *, struct mbuf *));
+int     ip_sysctl __P((int *, u_int, void *, size_t *, void *, size_t));
+void    ipintr __P((void));
+int     rip_ctloutput __P((int, struct socket *, int, int, struct mbuf **));
+void    rip_init __P((void));
+void    rip_input __P((struct mbuf *));
+int     rip_output __P((struct mbuf *, struct socket *, u_long));
+int     rip_usrreq __P((struct socket *,
+           int, struct mbuf *, struct mbuf *, struct mbuf *));
 #endif
 #endif