1 /*********************************************************************************
\r
3 * --------------------------------------------------------------------------------
\r
5 * This file is part of MiMic
\r
6 * Copyright (C)2011-2013 Ryo Iizuka
\r
8 * MiMic is free software: you can redistribute it and/or modify
\r
9 * it under the terms of the GNU Lesser General Public License as published
\r
10 * by the Free Software Foundation, either version 3 of the License, or
\r
11 * (at your option) any later version.
\r
13 * This program is distributed in the hope that it will be useful,
\r
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
\r
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
\r
16 * GNU General Public License for more details.
\r
18 * You should have received a copy of the GNU Lesser General Public License
\r
19 * along with this program. If not, see <http://www.gnu.org/licenses/>.
\r
21 * For further information please contact.
\r
23 * <airmail(at)ebony.plala.or.jp> or <nyatla(at)nyatla.jp>
\r
25 *********************************************************************************/
\r
26 #ifndef NYLPC_CAPIPA_H_
\r
27 #define NYLPC_CAPIPA_H_
\r
31 #endif /* __cplusplus */
\r
33 #include "NyLPC_stdlib.h"
\r
34 #include "NyLPC_net.h"
\r
36 typedef struct NyLPC_cApipa NyLPC_TcApipa_t;
\r
40 NyLPC_TUInt32 _seed;
\r
42 void NyLPC_cApipa_initialize(NyLPC_TcApipa_t* i_inst);
\r
44 #define NyLPC_cApipa_finalize(i_inst)
\r
48 * i_cfgにAutoIPのアドレスを取得します。
\r
49 * この関数はuipを操作します。uipServiceは停止中である必要があります。
\r
51 NyLPC_TBool NyLPC_cApipa_requestAddr(NyLPC_TcApipa_t* i_inst,NyLPC_TcIPv4Config_t* i_cfg,NyLPC_TInt16 i_repeat);
\r
55 #endif /* __cplusplus */
\r
56 #endif /* NYLPC_CAPIPA_H_ */
\r