Searched refs:fragoff (Results 1 – 7 of 7) sorted by relevance
/dragonfly/sys/netinet6/ |
H A D | frag6.c | 163 int fragoff, frgpartlen; /* must be larger than u_int16_t */ in frag6_input() local 293 fragoff = ntohs(ip6f->ip6f_offlg & IP6F_OFF_MASK); in frag6_input() 294 if (fragoff == 0) { in frag6_input() 308 if (q6->ip6q_unfrglen + fragoff + frgpartlen > IPV6_MAXPACKET) { in frag6_input() 316 else if (fragoff + frgpartlen > IPV6_MAXPACKET) { in frag6_input() 327 if (fragoff == 0) { in frag6_input() 369 ip6af->ip6af_off = fragoff; in frag6_input()
|
/dragonfly/sys/net/pf/ |
H A D | pf_norm.c | 871 u_int16_t fragoff = (ntohs(h->ip_off) & IP_OFFMASK) << 3; in pf_normalize_ip() local 925 if (!fragoff && !mff) in pf_normalize_ip() 949 if (fragoff + ip_len > IP_MAXPACKET) { in pf_normalize_ip() 950 DPFPRINTF(("max packet %d\n", fragoff + ip_len)); in pf_normalize_ip() 953 max = fragoff + ip_len; in pf_normalize_ip() 976 DPFPRINTF(("reass frag %d @ %d-%d\n", h->ip_id, fragoff, max)); in pf_normalize_ip() 1126 u_int16_t fragoff = 0; in pf_normalize_ip6() local 1263 fragoff = ntohs(frag.ip6f_offlg & IP6F_OFF_MASK); in pf_normalize_ip6() 1264 if (fragoff + (plen - off - sizeof(frag)) > IPV6_MAXPACKET) in pf_normalize_ip6()
|
H A D | pf.c | 5876 u_int16_t fragoff = (ntohs(h->ip_off) & IP_OFFMASK) << 3; in pf_pull_hdr() local 5878 if (fragoff) { in pf_pull_hdr() 5879 if (fragoff >= len) in pf_pull_hdr()
|
/dragonfly/sys/vfs/ufs/ |
H A D | ffs_alloc.c | 117 if ((uint)size > fs->fs_bsize || fragoff(fs, size) != 0) { in ffs_alloc() 182 if ((uint)osize > fs->fs_bsize || fragoff(fs, osize) != 0 || in ffs_realloccg() 183 (uint)nsize > fs->fs_bsize || fragoff(fs, nsize) != 0) { in ffs_realloccg() 1501 if ((uint)size > fs->fs_bsize || fragoff(fs, size) != 0 || in ffs_blkfree_cg() 1715 if ((uint)size > fs->fs_bsize || fragoff(fs, size) != 0) { in ffs_checkblk()
|
H A D | fs.h | 489 #define fragoff(fs, loc) /* calculates (loc % fs->fs_fsize) */ \ macro
|
/dragonfly/usr.sbin/makefs/ffs/ |
H A D | ffs_alloc.c | 101 if (size > fs->fs_bsize || fragoff(fs, size) != 0) { in ffs_alloc() 446 if (size > fs->fs_bsize || fragoff(fs, size) != 0 || in ffs_blkfree()
|
/dragonfly/stand/boot/common/ |
H A D | fs.h | 541 #define fragoff(fs, loc) /* calculates (loc % fs->fs_fsize) */ \ macro
|