1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2025-06-28 20:05:08 +03:00

spelling: length

This commit is contained in:
Josh Soref 2018-02-28 04:06:43 +00:00
parent 27775a39db
commit 5dbe86aaf6
6 changed files with 7 additions and 7 deletions

View File

@ -306,7 +306,7 @@ struct _PACKET_OID_DATA {
ULONG Oid; ///< OID code. See the Microsoft DDK documentation or the file ntddndis.h ULONG Oid; ///< OID code. See the Microsoft DDK documentation or the file ntddndis.h
///< for a complete list of valid codes. ///< for a complete list of valid codes.
ULONG Length; ///< Length of the data field ULONG Length; ///< Length of the data field
UCHAR Data[1]; ///< variable-lenght field that contains the information passed to or received UCHAR Data[1]; ///< variable-length field that contains the information passed to or received
///< from the adapter. ///< from the adapter.
}; };
typedef struct _PACKET_OID_DATA PACKET_OID_DATA, *PPACKET_OID_DATA; typedef struct _PACKET_OID_DATA PACKET_OID_DATA, *PPACKET_OID_DATA;

View File

@ -371,7 +371,7 @@ struct pcap_samp
//! Maximum lenght of an host name (needed for the RPCAP active mode) //! Maximum length of an host name (needed for the RPCAP active mode)
#define RPCAP_HOSTLIST_SIZE 1024 #define RPCAP_HOSTLIST_SIZE 1024

View File

@ -22144,7 +22144,7 @@ bool PostHttp(SOCK *s, HTTP_HEADER *header, void *post_data, UINT post_size)
return false; return false;
} }
// Check whether the Content-Lentgh exists? // Check whether the Content-Length exists?
if (GetHttpValue(header, "Content-Length") == NULL) if (GetHttpValue(header, "Content-Length") == NULL)
{ {
char tmp[MAX_SIZE]; char tmp[MAX_SIZE];

View File

@ -306,7 +306,7 @@ struct _PACKET_OID_DATA {
ULONG Oid; ///< OID code. See the Microsoft DDK documentation or the file ntddndis.h ULONG Oid; ///< OID code. See the Microsoft DDK documentation or the file ntddndis.h
///< for a complete list of valid codes. ///< for a complete list of valid codes.
ULONG Length; ///< Length of the data field ULONG Length; ///< Length of the data field
UCHAR Data[1]; ///< variable-lenght field that contains the information passed to or received UCHAR Data[1]; ///< variable-length field that contains the information passed to or received
///< from the adapter. ///< from the adapter.
}; };
typedef struct _PACKET_OID_DATA PACKET_OID_DATA, *PPACKET_OID_DATA; typedef struct _PACKET_OID_DATA PACKET_OID_DATA, *PPACKET_OID_DATA;

View File

@ -45,7 +45,7 @@
// //
// emit routine to update the jump table // emit routine to update the jump table
// //
void emit_lenght(binary_stream *stream, ULONG value, UINT len) void emit_length(binary_stream *stream, ULONG value, UINT len)
{ {
(stream->refs)[stream->bpf_pc]+=len; (stream->refs)[stream->bpf_pc]+=len;
stream->cur_ip+=len; stream->cur_ip+=len;
@ -115,7 +115,7 @@ BPF_filter_function BPFtoX86(struct bpf_insn *prog, UINT nins, INT *mem)
// the first pass will emit the lengths of the instructions // the first pass will emit the lengths of the instructions
// to create the reference table // to create the reference table
emitm=emit_lenght; emitm=emit_length;
for(pass=0;;){ for(pass=0;;){

View File

@ -307,7 +307,7 @@ struct _PACKET_OID_DATA {
ULONG Oid; ///< OID code. See the Microsoft DDK documentation or the file ntddndis.h ULONG Oid; ///< OID code. See the Microsoft DDK documentation or the file ntddndis.h
///< for a complete list of valid codes. ///< for a complete list of valid codes.
ULONG Length; ///< Length of the data field ULONG Length; ///< Length of the data field
UCHAR Data[1]; ///< variable-lenght field that contains the information passed to or received UCHAR Data[1]; ///< variable-length field that contains the information passed to or received
///< from the adapter. ///< from the adapter.
}; };
typedef struct _PACKET_OID_DATA PACKET_OID_DATA, *PPACKET_OID_DATA; typedef struct _PACKET_OID_DATA PACKET_OID_DATA, *PPACKET_OID_DATA;