Lines Matching refs:protoff
78 pkt_get(void *pkt, uint32_t pktlen, uint16_t proto, uint32_t *protoff)
96 *protoff = 4 * ip->ihl;
101 (struct tcphdr *) ((char *)pkt + *protoff);
104 if (pktlen < *protoff + sizeof(struct tcphdr)
105 || pktlen < *protoff + tcph->doff * 4) {
113 if (pktlen < *protoff + sizeof(struct udphdr)) {
186 helper_run(struct pkt_buff *pktb, uint32_t protoff, struct myct *myct,
208 *verdict = cur->helper->cb(pktb, protoff, myct, ctinfo);
223 uint32_t id, ctinfo, queue_num = 0, protoff = 0, pktlen;
260 if (pkt_get(pkt, pktlen, ntohs(ph->hw_protocol), &protoff))
287 helper = helper_run(pktb, protoff, myct, ctinfo, queue_num, &verdict);