Annotation of embedaddon/pimd/rsrr_var.h, revision 1.1.1.1

1.1       misho       1: /*
                      2:  * Copyright (c) 1993, 1998 by the University of Southern California
                      3:  * All rights reserved.
                      4:  *
                      5:  * Permission to use, copy, modify, and distribute this software and its
                      6:  * documentation in source and binary forms for lawful purposes
                      7:  * and without fee is hereby granted, provided that the above copyright
                      8:  * notice appear in all copies and that both the copyright notice and
                      9:  * this permission notice appear in supporting documentation. and that
                     10:  * any documentation, advertising materials, and other materials related
                     11:  * to such distribution and use acknowledge that the software was
                     12:  * developed by the University of Southern California, Information
                     13:  * Sciences Institute.  The name of the University may not be used to
                     14:  * endorse or promote products derived from this software without
                     15:  * specific prior written permission.
                     16:  *
                     17:  * THE UNIVERSITY OF SOUTHERN CALIFORNIA makes no representations about
                     18:  * the suitability of this software for any purpose.  THIS SOFTWARE IS
                     19:  * PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES,
                     20:  * INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
                     21:  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
                     22:  *
                     23:  * Other copyrights might apply to parts of this software and are so
                     24:  * noted when applicable.
                     25:  */
                     26: 
                     27: #ifndef __RSRR_VAR_H__
                     28: #define __RSRR_VAR_H__
                     29: 
                     30: /* RSRR things that are only needed by mrouted. */
                     31: 
                     32: /* Cache of Route Query messages, distinguished by source,
                     33:  * destination, and client addresses.  Cache is flushed by RSRR client
                     34:  * -- it sends notification when an unwanted Route Reply is received.
                     35:  * Since this only happens during route changes, it is more likely
                     36:  * that the cache will be flushed when the kernel table entry is
                     37:  * deleted.  */
                     38: struct rsrr_cache {
                     39:     struct rsrr_rq route_query;                /* Cached Route Query */
                     40:     struct sockaddr_un client_addr;    /* Client address     */
                     41:     int client_length;                 /* Length of client   */
                     42:     struct rsrr_cache *next;           /* next cache item    */
                     43: };
                     44: 
                     45: #endif  /* __RSRR_VAR_H__ */
                     46: 

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>