| /mOS-networking-stack/core/src/ |
| H A D | tcp_send_buffer.c | 62 struct tcp_send_buffer *buf; in SBInit() local 93 SBFree(sb_manager_t sbm, struct tcp_send_buffer *buf) in SBFree() 102 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 D | tcp_sb_queue.c | 55 SBMemoryBarrier(struct tcp_send_buffer * volatile buf, volatile index_type index) in SBMemoryBarrier() 97 SBEnqueue(sb_queue_t sq, struct tcp_send_buffer *buf) in SBEnqueue() 121 struct tcp_send_buffer *buf = sq->_q[h]; in SBDequeue() local
|
| H A D | eth_out.c | 67 uint8_t *buf; in EthernetOutput() local 107 uint8_t *buf; in ForwardEthernetFrame() local
|
| H A D | pipe.c | 29 char *buf; member 131 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()
|
| H A D | api.c | 955 uint8_t buf[TOTAL_TCP_HEADER_LEN]; in eval_bpf_5tuple() local 1455 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 D | tcp_rb.c | 99 buf_next(tcprb_t *rb, tcpbufseg_t *buf) in buf_next() 118 tcpbufseg_t *buf; in buf_getbuf() local 484 tcprb_fflen(tcprb_t *rb, uint8_t *buf, int len, loff_t off) in tcprb_fflen() 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 D | mos_api.c | 244 mtcp_peek(mctx_t mctx, int msock, int side, char *buf, size_t len) in mtcp_peek() 326 ExtractPayloadFromFrags(struct tcp_ring_buffer *rcvbuf, char *buf, in ExtractPayloadFromFrags() 362 char *buf, size_t count, uint64_t off) in mtcp_ppeek() 1267 mtcp_get_debug_string(mctx_t mctx, char *buf, int len) in mtcp_get_debug_string()
|
| H A D | debug.c | 64 DumpPacket(mtcp_manager_t mtcp, char *buf, int len, char *step, int ifindex) in DumpPacket()
|
| H A D | tcp_util.c | 158 TCPCalcChecksum(uint16_t *buf, uint16_t len, uint32_t saddr, uint32_t daddr) in TCPCalcChecksum()
|
| H A D | config.c | 61 #define LINE_FOREACH(line, llen, buf, blen) \ argument 94 DetectWord(char *buf, int len, char **word, int *wlen) in DetectWord() 1044 DetectBlock(struct conf_block *blk, char *buf, int len) in DetectBlock()
|
| /mOS-networking-stack/util/ |
| H A D | netlib.c | 207 GetHeaderString(const char *buf, const char* header, int hdrsize) in GetHeaderString() 222 GetHeaderLong(const char* buf, const char* header, int hdrsize, long int *val) in GetHeaderLong()
|
| H A D | http_parsing.c | 40 http_header_str_val(const char* buf, const char *key, const int keylen, in http_header_str_val()
|
| /mOS-networking-stack/samples/lighttpd-1.4.32/src/ |
| H A D | http-header-glue.c | 279 char buf[sizeof("Sat, 23 Jul 2005 21:20:01 GMT")]; in http_response_handle_cachable() local 339 char buf[sizeof("Sat, 23 Jul 2005 21:20:01 GMT")]; in http_response_handle_cachable() local
|
| H A D | mod_rrdtool.c | 190 static ssize_t safe_write(int fd, const void *buf, size_t count) { in safe_write() 213 static ssize_t safe_read(int fd, void *buf, size_t count) { in safe_read()
|
| H A D | connections.c | 1285 char buf[1024]; local 1657 char buf[1024]; local
|
| H A D | mod_ssi.c | 239 char buf[32]; in build_ssi_cgi_vars() local 330 char buf[255]; in process_ssi_stmt() local
|
| H A D | mod_status.c | 206 char buf[32]; in mod_status_handle_server_status_html() local 569 char buf[32]; in mod_status_handle_server_status_text() local
|
| H A D | configfile-glue.c | 584 int config_append_cond_match_buffer(connection *con, data_config *dc, buffer *buf, int n) in config_append_cond_match_buffer()
|
| H A D | request.c | 477 unsigned char buf[2]; in http_request_parse() local
|
| H A D | buffer.c | 258 char *buf; in buffer_append_long_hex() local 287 int LI_ltostr(char *buf, long val) { in LI_ltostr()
|
| H A D | stat_cache.c | 212 static int stat_cache_attr_get(buffer *buf, char *name) { in stat_cache_attr_get()
|
| /mOS-networking-stack/core/src/include/ |
| H A D | tcp_rb.h | 42 uint8_t buf[UNITBUFSIZE]; member
|
| H A D | netmap_user.h | 117 #define NETMAP_BUF_IDX(ring, buf) \ argument 920 nm_inject(struct nm_desc *d, const void *buf, size_t size) in nm_inject() 974 u_char *buf = (u_char *)NETMAP_BUF(ring, idx); in nm_dispatch() local 998 u_char *buf = (u_char *)NETMAP_BUF(ring, idx); in nm_nextpkt() local
|
| /mOS-networking-stack/samples/simple_firewall/ |
| H A D | simple_firewall.c | 129 ExtractPort(char* buf, in_port_t* sport, in_port_t* dport) in ExtractPort() 171 ExtractIPAddress(char* buf, in_addr_t* addr, int* addrmask) in ExtractIPAddress()
|
| /mOS-networking-stack/core/src/bpf/ |
| H A D | sf_scanner.c | 2863 #define YY_INPUT(buf,result,max_size) \ argument 4522 char *buf; in sfbpf__scan_bytes() local 4694 lex_init(buf) in lex_init() argument
|