Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of libMiMic by
NyLPC_cIPv4Config.h File Reference
このファイルは、NyLPC_cIPv4Configクラスを定義します。 More...
Go to the source code of this file.
Data Structures | |
| struct | NyLPC_TcIPv4Config |
| NyLPC_TcIPv4Configクラスの構造体です。 More... | |
Typedefs | |
| typedef struct NyLPC_TcIPv4Config | NyLPC_TcIPv4Config_t |
| クラス型を定義します。 NyLPC_cIPv4Configクラスは、IPと、下位のネットワーク層の設定を保持します。 関連するオブジェクトが、ネットワーク設定を問い合わせる為に使います。 | |
Functions | |
| void | NyLPC_cIPv4Config_initialzeForEthernet (NyLPC_TcIPv4Config_t *i_inst, const struct NyLPC_TEthAddr *i_ether_addr, NyLPC_TUInt16 i_ether_frame_len) |
| コンストラクタです。 イーサネット用にコンフィギュレーションを初期化します。 | |
| void | NyLPC_cIPv4Config_initialzeCopy (NyLPC_TcIPv4Config_t *i_inst, const NyLPC_TcIPv4Config_t *i_src) |
| コピーコンストラクタ | |
| void | NyLPC_cIPv4Config_setDefaultRoute (NyLPC_TcIPv4Config_t *i_inst, const struct NyLPC_TIPv4Addr *i_dr_addr) |
| この関数は、IPのデフォルトゲートウェイを設定します。dr_addrの値を更新します。 | |
| void | NyLPC_cIPv4Config_setIp (NyLPC_TcIPv4Config_t *i_inst, const struct NyLPC_TIPv4Addr *i_ipaddr, const struct NyLPC_TIPv4Addr *i_netmask) |
| この関数は、ローカルIPアドレスとネットマスクを設定します。 | |
| NyLPC_TBool | NyLPC_cIPv4Config_isLocalIP (const NyLPC_TcIPv4Config_t *i_inst, const struct NyLPC_TIPv4Addr *i_target_ip) |
| この関数は、i_target_ipが、現在のIPアドレスに対するローカルアドレスであるかを返します。 | |
Detailed Description
このファイルは、NyLPC_cIPv4Configクラスを定義します。
Definition in file NyLPC_cIPv4Config.h.
Typedef Documentation
| typedef struct NyLPC_TcIPv4Config NyLPC_TcIPv4Config_t |
クラス型を定義します。 NyLPC_cIPv4Configクラスは、IPと、下位のネットワーク層の設定を保持します。 関連するオブジェクトが、ネットワーク設定を問い合わせる為に使います。
Definition at line 41 of file NyLPC_cIPv4Config.h.
Function Documentation
| void NyLPC_cIPv4Config_initialzeCopy | ( | NyLPC_TcIPv4Config_t * | i_inst, |
| const NyLPC_TcIPv4Config_t * | i_src | ||
| ) |
コピーコンストラクタ
Definition at line 42 of file NyLPC_cIPv4Config.c.
| void NyLPC_cIPv4Config_initialzeForEthernet | ( | NyLPC_TcIPv4Config_t * | i_inst, |
| const struct NyLPC_TEthAddr * | i_ether_addr, | ||
| NyLPC_TUInt16 | i_ether_frame_len | ||
| ) |
コンストラクタです。 イーサネット用にコンフィギュレーションを初期化します。
- Parameters:
-
i_inst 初期化するインスタンスです。 i_ether_frame_len イーサネットフレームのサイズ。この数値から、MSSのデフォルト値を計算します。
Definition at line 34 of file NyLPC_cIPv4Config.c.
| NyLPC_TBool NyLPC_cIPv4Config_isLocalIP | ( | const NyLPC_TcIPv4Config_t * | i_inst, |
| const struct NyLPC_TIPv4Addr * | i_target_ip | ||
| ) |
この関数は、i_target_ipが、現在のIPアドレスに対するローカルアドレスであるかを返します。
- Parameters:
-
i_inst 操作するインスタンスです。 i_target_ip 確認するIPアドレスです。
- Returns:
- i_target_ipがローカルIPアドレスなら、TRUEを返します。
Definition at line 68 of file NyLPC_cIPv4Config.c.
| void NyLPC_cIPv4Config_setDefaultRoute | ( | NyLPC_TcIPv4Config_t * | i_inst, |
| const struct NyLPC_TIPv4Addr * | i_dr_addr | ||
| ) |
この関数は、IPのデフォルトゲートウェイを設定します。dr_addrの値を更新します。
- Parameters:
-
i_inst 操作するインスタンスです。 i_dr_addr 設定するIPアドレスを格納したアドレスです。
Definition at line 49 of file NyLPC_cIPv4Config.c.
| void NyLPC_cIPv4Config_setIp | ( | NyLPC_TcIPv4Config_t * | i_inst, |
| const struct NyLPC_TIPv4Addr * | i_ipaddr, | ||
| const struct NyLPC_TIPv4Addr * | i_netmask | ||
| ) |
この関数は、ローカルIPアドレスとネットマスクを設定します。
- Parameters:
-
i_inst 操作するインスタンスです。 i_ipaddr 設定するIPアドレスを格納したアドレスです。 i_netmask 設定するネットマスクを格納したアドレスです。
Definition at line 58 of file NyLPC_cIPv4Config.c.
Generated on Tue Jul 12 2022 16:22:59 by
1.7.2
