| /mOS-networking-stack/core/src/include/ |
| H A D | tcp.h | 9 FillPacketContextTCPInfo(struct pkt_ctx *pctx, struct tcphdr * tcph); 12 FillFlowContext(struct pkt_ctx *pctx, 17 struct pkt_ctx *pctx, uint64_t events); 20 ProcessInTCPPacket(mtcp_manager_t mtcp, struct pkt_ctx *pctx); 24 struct tcp_stream *recvside_stream, struct pkt_ctx *pctx,
|
| H A D | ip_out.h | 12 ForwardIPPacket(mtcp_manager_t mtcp, struct pkt_ctx *pctx); 20 struct pkt_ctx *pctx, uint32_t cur_ts); 24 struct pkt_ctx *pctx, uint32_t cur_ts);
|
| H A D | tcp_in.h | 131 struct pkt_ctx *pctx); 135 struct pkt_ctx *pctx); 142 struct pkt_ctx *pctx); 145 PreRecvTCPEventPrediction(mtcp_manager_t mtcp, struct pkt_ctx *pctx,
|
| H A D | eth_out.h | 16 EthernetOutput(struct mtcp_manager *mtcp, struct pkt_ctx *pctx, 21 ForwardEthernetFrame(struct mtcp_manager *mtcp, struct pkt_ctx *pctx);
|
| H A D | icmp.h | 31 RequestICMP(mtcp_manager_t mtcp, struct pkt_ctx *pctx, uint32_t saddr, uint32_t daddr, 36 ProcessICMPPacket(mtcp_manager_t mtcp, struct pkt_ctx *pctx);
|
| H A D | tcp_out.h | 61 struct pkt_ctx *pctx); 64 PostSendTCPAction(mtcp_manager_t mtcp, struct pkt_ctx *pctx,
|
| H A D | ip_in.h | 8 ProcessInIPv4Packet(mtcp_manager_t mtcp, struct pkt_ctx *pctx);
|
| H A D | arp.h | 33 ForwardARPPacket(mtcp_manager_t mtcp, struct pkt_ctx *pctx);
|
| H A D | event_callback.h | 78 socket_map_t socket, int side, struct pkt_ctx *pctx, event_t events);
|
| H A D | scalable_event.h | 75 socket_map_t socket, int side, struct pkt_ctx *pctx, event_t events);
|
| H A D | tcp_rb.h | 120 tcp_rb_overlapchk(mtcp_manager_t mtcp, struct pkt_ctx *pctx,
|
| H A D | mos_api.h | 158 struct pkt_ctx { struct
|
| H A D | mtcp.h | 245 struct pkt_ctx *pctx; /* current pkt context */
|
| H A D | tcp_stream.h | 279 struct pkt_ctx last_pctx;
|
| /mOS-networking-stack/core/src/ |
| H A D | tcp.c | 26 DetectStreamType(mtcp_manager_t mtcp, struct pkt_ctx *pctx, in DetectStreamType() 88 CreateServerStream(mtcp_manager_t mtcp, int type, struct pkt_ctx *pctx) in CreateServerStream() 112 CreateMonitorStream(mtcp_manager_t mtcp, struct pkt_ctx* pctx, in CreateMonitorStream() 181 FindStream(mtcp_manager_t mtcp, struct pkt_ctx *pctx, unsigned int *hash) in FindStream() 196 CreateStream(mtcp_manager_t mtcp, struct pkt_ctx *pctx, unsigned int *hash) in CreateStream() 259 FillPacketContextTCPInfo(struct pkt_ctx *pctx, struct tcphdr * tcph) in FillPacketContextTCPInfo() 277 struct pkt_ctx *pctx) in HandleSockStream() 285 struct tcp_stream *recvside_stream, struct pkt_ctx *pctx, in UpdateMonitor() 379 struct tcp_stream *recvside_stream, struct pkt_ctx *pctx) in HandleMonitorStream() 409 ProcessInTCPPacket(mtcp_manager_t mtcp, struct pkt_ctx *pctx) in ProcessInTCPPacket()
|
| H A D | icmp.c | 61 ICMPOutput(struct mtcp_manager *mtcp, struct pkt_ctx *pctx, uint32_t saddr, uint32_t daddr, in ICMPOutput() 142 RequestICMP(mtcp_manager_t mtcp, struct pkt_ctx *pctx, uint32_t saddr, uint32_t daddr, in RequestICMP() 152 ProcessICMPECHORequest(mtcp_manager_t mtcp, struct pkt_ctx *pctx, struct icmphdr *icmph) in ProcessICMPECHORequest() 168 ProcessICMPECHOReply(mtcp_manager_t mtcp, struct pkt_ctx *pctx, struct icmphdr *icmph) in ProcessICMPECHOReply() 187 ProcessICMPPacket(mtcp_manager_t mtcp, struct pkt_ctx *pctx) in ProcessICMPPacket()
|
| H A D | eth_out.c | 52 FillOutPacketEthContext(struct pkt_ctx *pctx, uint32_t cur_ts, int out_ifidx, in FillOutPacketEthContext() 63 EthernetOutput(struct mtcp_manager *mtcp, struct pkt_ctx *pctx, in EthernetOutput() 105 ForwardEthernetFrame(struct mtcp_manager *mtcp, struct pkt_ctx *pctx) in ForwardEthernetFrame()
|
| H A D | tcp_in.c | 24 struct pkt_ctx *pctx); 63 struct pkt_ctx *pctx) in HandleActiveOpen() 89 struct pkt_ctx *pctx) in ValidateSequence() 177 struct pkt_ctx *pctx) in ProcessRST() 306 struct pkt_ctx *pctx) in ProcessACK() 701 struct pkt_ctx *pctx) in Handle_TCP_ST_LISTEN() 731 struct pkt_ctx *pctx) in Handle_TCP_ST_SYN_SENT() 825 struct pkt_ctx *pctx) in Handle_TCP_ST_SYN_RCVD() 906 struct pkt_ctx *pctx) in Handle_TCP_ST_ESTABLISHED() 980 struct pkt_ctx *pctx) in Handle_TCP_ST_CLOSE_WAIT() [all …]
|
| H A D | ip_out.c | 40 ForwardIPPacket(mtcp_manager_t mtcp, struct pkt_ctx *pctx) in ForwardIPPacket() 113 FillOutPacketIPContext(struct pkt_ctx *pctx, struct iphdr *iph, int ip_len) in FillOutPacketIPContext() 124 struct pkt_ctx *pctx, uint32_t cur_ts) in IPOutputStandalone() 183 struct pkt_ctx *pctx, uint32_t cur_ts) in IPOutput()
|
| H A D | eth_in.c | 13 FillInPacketEthContext (struct pkt_ctx *pctx, uint32_t cur_ts, int in_ifidx, in FillInPacketEthContext() 31 struct pkt_ctx pctx; in ProcessPacket()
|
| H A D | ip_in.c | 22 FillInPacketIPContext (struct pkt_ctx *pctx, struct iphdr *iph, int ip_len) in FillInPacketIPContext() 31 ProcessInIPv4Packet(mtcp_manager_t mtcp, struct pkt_ctx *pctx) in ProcessInIPv4Packet()
|
| H A D | tcp_out.c | 152 struct pkt_ctx pctx; in SendTCPPacketStandalone() 254 struct pkt_ctx pctx; in SendTCPPacket() 984 struct pkt_ctx *pctx) in UpdatePassiveSendTCPContext_SynSent() 1014 struct pkt_ctx *pctx) in UpdatePassiveSendTCPContext() 1195 PostSendTCPAction(mtcp_manager_t mtcp, struct pkt_ctx *pctx, in PostSendTCPAction()
|
| H A D | mos_api.c | 457 struct pkt_ctx *cur_pkt_ctx; in mtcp_getlastpkt() 526 mtcp_getlastpkt(mctx_t mctx, int sock, int side, struct pkt_ctx **pctx) in mtcp_getlastpkt() 936 struct pkt_ctx *cur_pkt_ctx; in mtcp_setlastpkt()
|
| H A D | arp.c | 383 ForwardARPPacket(struct mtcp_manager *mtcp, struct pkt_ctx *pctx) in ForwardARPPacket()
|
| /mOS-networking-stack/core/include/ |
| H A D | mos_api.h | 158 struct pkt_ctx { struct
|