Author: kevlo
Date: Mon Nov  5 09:45:37 2012
New Revision: 242605
URL: http://svnweb.freebsd.org/changeset/base/242605

Log:
  Sync with domain and protosw data structures.
  
  Reviewed by:  glebius

Modified:
  head/share/man/man9/domain.9

Modified: head/share/man/man9/domain.9
==============================================================================
--- head/share/man/man9/domain.9        Mon Nov  5 09:27:47 2012        
(r242604)
+++ head/share/man/man9/domain.9        Mon Nov  5 09:45:37 2012        
(r242605)
@@ -26,7 +26,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd February 23, 2012
+.Dd November 5, 2012
 .Dt DOMAIN 9
 .Os
 .Sh NAME
@@ -67,6 +67,8 @@ struct domain {
        char    *dom_name;
        void    (*dom_init)             /* initialize domain data structures */
                (void);
+       void    (*dom_destroy)          /* cleanup structures / state */
+               (void);
        int     (*dom_externalize)      /* externalize access rights */
                (struct mbuf *, struct mbuf **);
        void    (*dom_dispose)          /* dispose of internalized rights */
@@ -75,8 +77,13 @@ struct domain {
        struct  domain *dom_next;
        int     (*dom_rtattach)         /* initialize routing table */
                (void **, int);
+       int     (*dom_rtdetach)         /* clean up routing table */
+               (void **, int);
        int     dom_rtoffset;           /* an arg to rtattach, in bits */
        int     dom_maxrtkey;           /* for routing layer */
+       void    *(*dom_ifattach)(struct ifnet *);
+       void    (*dom_ifdetach)(struct ifnet *, void *);
+                                       /* af-dependent data on ifnet */
 };
 .Ed
 .Pp
@@ -96,6 +103,7 @@ struct protosw {
        pr_ctloutput_t *pr_ctloutput;   /* control output (from above) */
 /* utility hooks */
        pr_init_t *pr_init;
+       pr_destroy_t *pr_destroy;
        pr_fasttimo_t *pr_fasttimo;     /* fast timeout (200ms) */
        pr_slowtimo_t *pr_slowtimo;     /* slow timeout (500ms) */
        pr_drain_t *pr_drain;           /* flush any excess space possible */
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to