Home
last modified time | relevance | path

Searched refs:pkt_ctx (Results 1 – 25 of 28) sorted by relevance

12

/mOS-networking-stack/core/src/include/
H A Dtcp.h9 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 Dip_out.h12 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 Dtcp_in.h131 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 Deth_out.h16 EthernetOutput(struct mtcp_manager *mtcp, struct pkt_ctx *pctx,
21 ForwardEthernetFrame(struct mtcp_manager *mtcp, struct pkt_ctx *pctx);
H A Dicmp.h31 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 Dtcp_out.h61 struct pkt_ctx *pctx);
64 PostSendTCPAction(mtcp_manager_t mtcp, struct pkt_ctx *pctx,
H A Dip_in.h8 ProcessInIPv4Packet(mtcp_manager_t mtcp, struct pkt_ctx *pctx);
H A Darp.h33 ForwardARPPacket(mtcp_manager_t mtcp, struct pkt_ctx *pctx);
H A Devent_callback.h78 socket_map_t socket, int side, struct pkt_ctx *pctx, event_t events);
H A Dscalable_event.h75 socket_map_t socket, int side, struct pkt_ctx *pctx, event_t events);
H A Dtcp_rb.h120 tcp_rb_overlapchk(mtcp_manager_t mtcp, struct pkt_ctx *pctx,
H A Dmos_api.h158 struct pkt_ctx { struct
H A Dmtcp.h245 struct pkt_ctx *pctx; /* current pkt context */
H A Dtcp_stream.h279 struct pkt_ctx last_pctx;
/mOS-networking-stack/core/src/
H A Dtcp.c26 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 Dicmp.c61 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 Deth_out.c52 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 Dtcp_in.c24 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 Dip_out.c40 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 Deth_in.c13 FillInPacketEthContext (struct pkt_ctx *pctx, uint32_t cur_ts, int in_ifidx, in FillInPacketEthContext()
31 struct pkt_ctx pctx; in ProcessPacket()
H A Dip_in.c22 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 Dtcp_out.c152 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 Dmos_api.c457 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 Darp.c383 ForwardARPPacket(struct mtcp_manager *mtcp, struct pkt_ctx *pctx) in ForwardARPPacket()
/mOS-networking-stack/core/include/
H A Dmos_api.h158 struct pkt_ctx { struct

12