Lines Matching refs:fh
41 const struct frag_hdr *fh;
53 fh = skb_header_pointer(skb, ptr, sizeof(_frag), &_frag);
54 if (fh == NULL) {
59 pr_debug("INFO %04X ", fh->frag_off);
60 pr_debug("OFFSET %04X ", ntohs(fh->frag_off) & ~0x7);
61 pr_debug("RES %02X %04X", fh->reserved, ntohs(fh->frag_off) & 0x6);
62 pr_debug("MF %04X ", fh->frag_off & htons(IP6_MF));
63 pr_debug("ID %u %08X\n", ntohl(fh->identification),
64 ntohl(fh->identification));
68 ntohl(fh->identification),
71 fraginfo->flags & IP6T_FRAG_RES, fh->reserved,
72 ntohs(fh->frag_off) & 0x6,
74 (fh->reserved || (ntohs(fh->frag_off) & 0x06))));
77 ntohs(fh->frag_off) & ~0x7,
79 (ntohs(fh->frag_off) & ~0x7)));
82 ntohs(fh->frag_off) & IP6_MF,
84 !((ntohs(fh->frag_off) & IP6_MF))));
87 ntohs(fh->frag_off) & IP6_MF,
89 (ntohs(fh->frag_off) & IP6_MF)));
91 return (fh != NULL) &&
93 ntohl(fh->identification),
96 (fh->reserved || (ntohs(fh->frag_off) & 0x6))) &&
98 (ntohs(fh->frag_off) & ~0x7)) &&
100 !(ntohs(fh->frag_off) & IP6_MF)) &&
102 (ntohs(fh->frag_off) & IP6_MF));