Searched refs:h_proto (Results 1 – 6 of 6) sorted by relevance
| /mOS-networking-stack/core/src/ |
| H A D | eth_in.c | 34 u_short h_proto = ntohs(ethh->h_proto); in ProcessPacket() local 56 if (h_proto == ETH_P_IP) { in ProcessPacket() 64 if (h_proto == ETH_P_ARP) { in ProcessPacket()
|
| H A D | eth_out.c | 64 uint16_t h_proto, int nif, unsigned char* dst_haddr, uint16_t iplen, in EthernetOutput() argument 95 ethh->h_proto = htons(h_proto); in EthernetOutput()
|
| H A D | debug.c | 78 if (ntohs(ethh->h_proto) != ETH_P_IP) { in DumpPacket() 93 thread_printf(mtcp, mtcp->log_fp, "protocol %04hx ", ntohs(ethh->h_proto)); in DumpPacket()
|
| H A D | mos_api.c | 1039 cur_pkt_ctx->p.ethh->h_proto != ntohs(ETH_P_IP) || in mtcp_setlastpkt()
|
| H A D | api.c | 961 ethh->h_proto = htons(ETH_P_IP); in eval_bpf_5tuple()
|
| /mOS-networking-stack/core/src/include/ |
| H A D | eth_out.h | 17 uint16_t h_proto, int nif, unsigned char* dst_haddr, uint16_t iplen,
|