Annotation of embedaddon/libnet/doc/html/ifaddrlist_8h-source.html, revision 1.1.1.1
1.1 misho 1: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2: <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
3: <title>libnet: ifaddrlist.h Source File</title>
4: <link href="doxygen.css" rel="stylesheet" type="text/css">
5: </head><body>
6: <!-- Generated by Doxygen 1.3.4 -->
7: <div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a></div>
8: <h1>ifaddrlist.h</h1><div class="fragment"><pre>00001 <span class="comment">/*</span>
9: 00002 <span class="comment"> * Copyright (c) 1997</span>
10: 00003 <span class="comment"> * The Regents of the University of California. All rights reserved.</span>
11: 00004 <span class="comment"> *</span>
12: 00005 <span class="comment"> * Redistribution and use in source and binary forms, with or without</span>
13: 00006 <span class="comment"> * modification, are permitted provided that: (1) source code distributions</span>
14: 00007 <span class="comment"> * retain the above copyright notice and this paragraph in its entirety, (2)</span>
15: 00008 <span class="comment"> * distributions including binary code include the above copyright notice and</span>
16: 00009 <span class="comment"> * this paragraph in its entirety in the documentation or other materials</span>
17: 00010 <span class="comment"> * provided with the distribution, and (3) all advertising materials mentioning</span>
18: 00011 <span class="comment"> * features or use of this software display the following acknowledgement:</span>
19: 00012 <span class="comment"> * ``This product includes software developed by the University of California,</span>
20: 00013 <span class="comment"> * Lawrence Berkeley Laboratory and its contributors.'' Neither the name of</span>
21: 00014 <span class="comment"> * the University nor the names of its contributors may be used to endorse</span>
22: 00015 <span class="comment"> * or promote products derived from this software without specific prior</span>
23: 00016 <span class="comment"> * written permission.</span>
24: 00017 <span class="comment"> * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED</span>
25: 00018 <span class="comment"> * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF</span>
26: 00019 <span class="comment"> * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.</span>
27: 00020 <span class="comment"> *</span>
28: 00021 <span class="comment"> */</span>
29: 00022
30: 00023 <span class="keyword">struct </span>ifaddrlist
31: 00024 {
32: 00025 <span class="preprocessor">#if (HAVE_SOLARIS || HAVE_HPUX11)</span>
33: 00026 <span class="preprocessor"></span> u_int addr;
34: 00027 <span class="preprocessor">#else</span>
35: 00028 <span class="preprocessor"></span> u_int32_t addr;
36: 00029 <span class="preprocessor">#endif</span>
37: 00030 <span class="preprocessor"></span> int8_t *device;
38: 00031 };
39: 00032
40: 00033 <span class="keyword">struct </span>libnet_ifaddr_list
41: 00034 {
42: 00035 u_int32_t addr;
43: 00036 int8_t *device;
44: 00037 };
45: 00038
46: 00039 <span class="keywordtype">int</span>
47: 00040 ifaddrlist(
48: 00041 <span class="keyword">struct</span> ifaddrlist **,
49: 00042 int8_t *
50: 00043 );
51: 00044
52: 00045
53: 00046 <span class="keywordtype">int</span>
54: 00047 set_up_interface(
55: 00048 <span class="keyword">struct</span> sockaddr_in **,
56: 00049 u_int8_t **
57: 00050 );
58: 00051
59: 00052 <span class="comment">/* EOF */</span>
60: </pre></div><hr size="1"><address style="align: right;"><small>Generated on Wed Mar 10 13:23:37 2004 for libnet by
61: <a href="http://www.doxygen.org/index.html">
62: <img src="doxygen.png" alt="doxygen" align="middle" border=0 >
63: </a>1.3.4 </small></address>
64: </body>
65: </html>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>