ReactOS 0.4.16-dev-1040-g85afe48
|
Go to the source code of this file.
Macros | |
#define | NDEBUG |
#define | IPV4_ADDR_STRING_MAX_LEN 16 |
#define | IPV4_PORT_STRING_MAX_LEN 7 /* with the leading ':' */ |
#define | RTLIPV6A2S_MAX_LEN 46 |
#define | RTLIPV6A2SEX_MAX_LEN 65 |
#define | WN2H(w) (((w & 0xFF00) >> 8) | ((w & 0x00FF) << 8)) |
Variables | |
static const int | hex_table [] |
#define IPV4_PORT_STRING_MAX_LEN 7 /* with the leading ':' */ |
|
static |
Definition at line 860 of file network.c.
Referenced by RtlIpv6StringToAddressExW(), and RtlIpv6StringToAddressW().
Definition at line 804 of file network.c.
Referenced by ipv6_string_to_address().
Definition at line 849 of file network.c.
Referenced by ipv6_string_to_address().
PSTR NTAPI RtlIpv4AddressToStringA | ( | _In_ const struct in_addr * | Addr, |
_Out_writes_(IPV4_ADDR_STRING_MAX_LEN) PCHAR | S | ||
) |
Definition at line 154 of file network.c.
NTSTATUS NTAPI RtlIpv4AddressToStringExA | ( | _In_ const struct in_addr * | Address, |
_In_ USHORT | Port, | ||
_Out_writes_to_ *, *AddressStringLength PCHAR | AddressString, | ||
_Inout_ PULONG | AddressStringLength | ||
) |
Definition at line 186 of file network.c.
Referenced by inet_ntop().
NTSTATUS NTAPI RtlIpv4AddressToStringExW | ( | _In_ const struct in_addr * | Address, |
_In_ USHORT | Port, | ||
_Out_writes_to_ *, *AddressStringLength PWCHAR | AddressString, | ||
_Inout_ PULONG | AddressStringLength | ||
) |
Definition at line 268 of file network.c.
Referenced by InetNtopW().
PWSTR NTAPI RtlIpv4AddressToStringW | ( | _In_ const struct in_addr * | Addr, |
_Out_writes_(IPV4_ADDR_STRING_MAX_LEN) PWCHAR | S | ||
) |
NTSTATUS NTAPI RtlIpv4StringToAddressA | ( | _In_ PCSTR | String, |
_In_ BOOLEAN | Strict, | ||
_Out_ PCSTR * | Terminator, | ||
_Out_ struct in_addr * | Addr | ||
) |
Definition at line 318 of file network.c.
Referenced by inet_pton(), ParseIpv4Address(), and TestUM().
NTSTATUS NTAPI RtlIpv4StringToAddressExA | ( | _In_ PCSTR | AddressString, |
_In_ BOOLEAN | Strict, | ||
_Out_ struct in_addr * | Address, | ||
_Out_ PUSHORT | Port | ||
) |
Definition at line 355 of file network.c.
NTSTATUS NTAPI RtlIpv4StringToAddressExW | ( | _In_ PCWSTR | AddressString, |
_In_ BOOLEAN | Strict, | ||
_Out_ struct in_addr * | Address, | ||
_Out_ PUSHORT | Port | ||
) |
Definition at line 430 of file network.c.
Referenced by RtlIpv4StringToAddressExA().
NTSTATUS NTAPI RtlIpv4StringToAddressW | ( | _In_ PCWSTR | String, |
_In_ BOOLEAN | Strict, | ||
_Out_ PCWSTR * | Terminator, | ||
_Out_ struct in_addr * | Addr | ||
) |
Definition at line 385 of file network.c.
Referenced by InetPtonW(), ParseIpv4Address(), RtlIpv4StringToAddressA(), RtlIpv4StringToAddressExW(), and TestTcpConnect().
PSTR NTAPI RtlIpv6AddressToStringA | ( | _In_ const struct in6_addr * | Addr, |
_Out_writes_(RTLIPV6A2S_MAX_LEN) PSTR | S | ||
) |
Definition at line 479 of file network.c.
NTSTATUS NTAPI RtlIpv6AddressToStringExA | ( | _In_ const struct in6_addr * | Address, |
_In_ ULONG | ScopeId, | ||
_In_ USHORT | Port, | ||
_Out_writes_to_ *, *AddressStringLength PSTR | AddressString, | ||
_Inout_ PULONG | AddressStringLength | ||
) |
Definition at line 510 of file network.c.
Referenced by inet_ntop().
NTSTATUS NTAPI RtlIpv6AddressToStringExW | ( | _In_ const struct in6_addr * | Address, |
_In_ ULONG | ScopeId, | ||
_In_ USHORT | Port, | ||
_Out_writes_to_ *, *AddressStringLength PWCHAR | AddressString, | ||
_Inout_ PULONG | AddressStringLength | ||
) |
Definition at line 649 of file network.c.
Referenced by InetNtopW(), and RtlIpv6AddressToStringExA().
PWSTR NTAPI RtlIpv6AddressToStringW | ( | _In_ const struct in6_addr * | Addr, |
_Out_writes_(RTLIPV6A2S_MAX_LEN) PWSTR | S | ||
) |
Definition at line 539 of file network.c.
Referenced by RtlIpv6AddressToStringA(), and RtlIpv6AddressToStringExW().
NTSTATUS NTAPI RtlIpv6StringToAddressA | ( | _In_ PCSTR | String, |
_Out_ PCSTR * | Terminator, | ||
_Out_ struct in6_addr * | Addr | ||
) |
Definition at line 725 of file network.c.
Referenced by Dns_Ip6StringToAddress_A(), inet_pton(), and ParseIpv6Address().
NTSTATUS NTAPI RtlIpv6StringToAddressExA | ( | _In_ PCSTR | AddressString, |
_Out_ struct in6_addr * | Address, | ||
_Out_ PULONG | ScopeId, | ||
_Out_ PUSHORT | Port | ||
) |
Definition at line 757 of file network.c.
Referenced by Dns_StringToDnsAddrEx().
NTSTATUS NTAPI RtlIpv6StringToAddressExW | ( | _In_ PCWSTR | AddressString, |
_Out_ struct in6_addr * | Address, | ||
_Out_ PULONG | ScopeId, | ||
_Out_ PUSHORT | Port | ||
) |
Definition at line 1021 of file network.c.
Referenced by Dns_StringToDnsAddrEx(), and RtlIpv6StringToAddressExA().
NTSTATUS NTAPI RtlIpv6StringToAddressW | ( | _In_ PCWSTR | String, |
_Out_ PCWSTR * | Terminator, | ||
_Out_ struct in6_addr * | Addr | ||
) |
Definition at line 1005 of file network.c.
Referenced by Dns_Ip6StringToAddress_W(), InetPtonW(), ParseIpv6Address(), and RtlIpv6StringToAddressA().
NTSTATUS NTAPI RtlpIpv4StringToAddressParserW | ( | _In_ PCWSTR | String, |
_In_ BOOLEAN | Strict, | ||
_Out_ PCWSTR * | Terminator, | ||
_Out_writes_(4) ULONG * | Values, | ||
_Out_ INT * | Parts | ||
) |
Definition at line 116 of file network.c.
Referenced by RtlIpv4StringToAddressW().
|
static |
Definition at line 80 of file network.c.
Referenced by RtlIpv4StringToAddressExW(), and RtlpIpv4StringToAddressParserW().
|
static |
Definition at line 794 of file network.c.
Referenced by parse_ipv4_component(), and parse_ipv6_component().