Home
last modified time | relevance | path

Searched defs:len (Results 1 – 25 of 61) sorted by relevance

123

/mOS-networking-stack/samples/lighttpd-1.4.32/src/
H A Dstatus_counter.c19 data_integer *status_counter_get_counter(server *srv, const char *s, size_t len) { in status_counter_get_counter()
38 int status_counter_inc(server *srv, const char *s, size_t len) { in status_counter_inc()
46 int status_counter_dec(server *srv, const char *s, size_t len) { in status_counter_dec()
54 int status_counter_set(server *srv, const char *s, size_t len, int val) { in status_counter_set()
H A Dhttp_chunk.c23 static int http_chunk_append_len(server *srv, connection *con, size_t len) { in http_chunk_append_len()
54 int http_chunk_append_file(server *srv, connection *con, buffer *fn, off_t offset, off_t len) { in http_chunk_append_file()
94 int http_chunk_append_mem(server *srv, connection *con, const char * mem, size_t len) { in http_chunk_append_mem()
H A Dmd5.c60 #define MD5_memcpy(output, input, len) memcpy((output), (input), (len)) argument
65 #define MD5_memset(output, value, len) memset((output), (value), (len)) argument
289 static void Encode (unsigned char *output, UINT4 *input, unsigned int len) in Encode()
304 static void Decode (UINT4 *output, const unsigned char *input, unsigned int len) in Decode()
316 static void MD5_memcpy (POINTER output, POINTER input, unsigned int len) in MD5_memcpy()
328 static void MD5_memset (POINTER output, int value, unsigned int len) in MD5_memset()
H A Dchunk.c163 int chunkqueue_append_file(chunkqueue *cq, buffer *fn, off_t offset, off_t len) { in chunkqueue_append_file()
227 int chunkqueue_append_mem(chunkqueue *cq, const char * mem, size_t len) { in chunkqueue_append_mem()
324 off_t len = 0; in chunkqueue_length() local
344 off_t len = 0; in chunkqueue_written() local
H A Dconnections.c204 int r, ssl_err, len, count = 0, read_offset, toread; local
337 int len; local
1284 int len; local
1656 int len; local
H A Ddata_config.c74 size_t len = strlen(du->key->ptr); in data_config_print() local
H A Dbuffer.c290 int len = 1; in LI_ltostr() local
342 int len = 1; in buffer_append_off_t() local
484 char * buffer_search_string_len(buffer *b, const char *needle, size_t len) { in buffer_search_string_len()
596 int buffer_is_equal_right_len(buffer *b1, buffer *b2, size_t len) { in buffer_is_equal_right_len()
/mOS-networking-stack/core/src/
H A Dtcp_util.c16 uint32_t cur_ts, uint8_t *tcpopt, int len) in ParseTCPOptions()
63 struct tcp_timestamp *ts, uint8_t *tcpopt, int len) in ParseTCPTimestamp()
97 uint32_t ack_seq, uint8_t *tcpopt, int len) in ParseSACKOption()
158 TCPCalcChecksum(uint16_t *buf, uint16_t len, uint32_t saddr, uint32_t daddr) in TCPCalcChecksum()
193 PrintTCPOptions(uint8_t *tcpopt, int len) in PrintTCPOptions()
H A Ddebug.c32 int len; in thread_printf() local
64 DumpPacket(mtcp_manager_t mtcp, char *buf, int len, char *step, int ifindex) in DumpPacket()
159 DumpIPPacket(mtcp_manager_t mtcp, const struct iphdr *iph, int len) in DumpIPPacket()
217 DumpIPPacketToFile(FILE *fout, const struct iphdr *iph, int len) in DumpIPPacketToFile()
H A Dtcp_rb.c150 buf_try_resize(tcprb_t *rb, int len, loff_t data, int datalen) in buf_try_resize()
290 #define MEMCPY_FOR_read(a, b, len) memcpy(a, b, len) argument
291 #define MEMCPY_FOR_write(a, b, len) memcpy(b, a, len) argument
355 tcprb_new(mem_pool_t mp, int len, unsigned buf_mgmt) in tcprb_new()
450 tcprb_ffhead(tcprb_t *rb, int len) in tcprb_ffhead()
484 tcprb_fflen(tcprb_t *rb, uint8_t *buf, int len, loff_t off) in tcprb_fflen()
520 tcprb_resize_meta(tcprb_t *rb, int len) in tcprb_resize_meta()
563 tcprb_resize(tcprb_t *rb, int len) in tcprb_resize()
605 tcprb_ppeek(tcprb_t *rb, uint8_t *buf, int len, loff_t off) in tcprb_ppeek()
632 tcprb_pwrite(tcprb_t *rb, uint8_t *buf, int len, loff_t off) in tcprb_pwrite()
H A Dicmp.c35 ICMPChecksum(uint16_t *icmph, int len) in ICMPChecksum()
63 uint8_t *icmpd, uint16_t len) in ICMPOutput()
144 uint8_t *icmpd, uint16_t len) in RequestICMP()
H A Dconfig.c94 DetectWord(char *buf, int len, char **word, int *wlen) in DetectWord()
164 FeedAppConfLine(struct conf_block *blk, char *line, int len) in FeedAppConfLine()
188 FeedMosConfLine(struct conf_block *blk, char *line, int len) in FeedMosConfLine()
220 FeedNetdevConfLine(struct conf_block *blk, char *line, int len) in FeedNetdevConfLine()
291 FeedArpConfLine(struct conf_block *blk, char *line, int len) in FeedArpConfLine()
325 FeedRouteConfLine(struct conf_block *blk, char *line, int len) in FeedRouteConfLine()
358 FeedNICFwdConfLine(struct conf_block *blk, char *line, int len) in FeedNICFwdConfLine()
956 int len = strlen(raw); in PreprocessConf() local
1026 AllocateBlock(char *name, int len) in AllocateBlock()
1044 DetectBlock(struct conf_block *blk, char *buf, int len) in DetectBlock()
[all …]
H A Dtcp_send_buffer.c102 SBPut(sb_manager_t sbm, struct tcp_send_buffer *buf, const void *data, size_t len) in SBPut()
134 SBRemove(sb_manager_t sbm, struct tcp_send_buffer *buf, size_t len) in SBRemove()
H A Dutil.c171 int len = strlen(str); in StrToArgs() local
429 FORCE_INLINE U32 XXH32_endian_align(const void* input, size_t len, U32 seed, XXH_endianess endian, … in XXH32_endian_align()
506 unsigned XXH32 (const void* input, size_t len, unsigned seed) in XXH32()
534 FORCE_INLINE U64 XXH64_endian_align(const void* input, size_t len, U64 seed, XXH_endianess endian, … in XXH64_endian_align()
646 unsigned long long XXH64 (const void* input, size_t len, unsigned long long seed) in XXH64()
H A Deth_in.c29 uint32_t cur_ts, unsigned char *pkt_data, int len) in ProcessPacket()
H A Dapi.c1455 PeekForUser(mtcp_manager_t mtcp, tcp_stream *cur_stream, char *buf, int len) in PeekForUser()
1470 CopyToUser(mtcp_manager_t mtcp, tcp_stream *cur_stream, char *buf, int len) in CopyToUser()
1502 mtcp_recv(mctx_t mctx, int sockid, char *buf, size_t len, int flags) in mtcp_recv()
1612 mtcp_read(mctx_t mctx, int sockid, char *buf, size_t len) in mtcp_read()
1728 CopyFromUser(mtcp_manager_t mtcp, tcp_stream *cur_stream, const char *buf, int len) in CopyFromUser()
1770 mtcp_write(mctx_t mctx, int sockid, const char *buf, size_t len) in mtcp_write()
H A Dlogger.c113 size_t len; in ThreadLogMain() local
H A Dpipe.c131 PipeRead(mctx_t mctx, int pipeid, char *buf, int len) in PipeRead()
234 PipeWrite(mctx_t mctx, int pipeid, const char *buf, int len) in PipeWrite()
/mOS-networking-stack/core/src/bpf/
H A Dsf_bpf_filter.c132 #define MINDEX(len, _m, _k) \ argument
148 register int len; local
185 register int len; local
225 int merr, len; local
549 DAQ_SO_PUBLIC int bpf_validate(f, len) in bpf_validate() argument
H A Dmain.c15 int len = 1514; in main() local
/mOS-networking-stack/util/
H A Dhttp_parsing.c15 find_http_header(char *data, int len) in find_http_header()
79 long int len; in http_header_long_val() local
H A Dring_buffer.c127 int CopyData(ring_buffer *dest_buff, ring_buffer *src_buff, int len) in CopyData()
149 int MoveToREPData(ring_buffer *dest_buff, ring_buffer *src_buff, int len) in MoveToREPData()
195 int MoveData(ring_buffer *dest_buff, ring_buffer *src_buff, int len) in MoveData()
/mOS-networking-stack/samples/nat/
H A Dnat.c63 socklen_t len = sizeof(struct sockaddr_in) * 2; in assign_port() local
142 socklen_t len = sizeof(struct sockaddr_in) * 2; in translate_addr() local
/mOS-networking-stack/samples/common/
H A Dapplib.c111 int len = strlen(vlist[i].name); in LoadConfig() local
/mOS-networking-stack/core/src/include/
H A Dtcp_send_buffer.h17 uint32_t len; member

123