/freebsd/tests/sys/netpfil/pf/ |
H A D | frag-overlimit.py | 38 fragsize = 64 40 fragnum= int(boundary / fragsize) 48 frag=(i * fragsize) >> 3, flags='MF') / 49 bytes(packet)[20 + i * fragsize:20 + (i + 1) * fragsize]) 51 frag=(boundary + boundary - fragsize) >> 3) / 52 bytes(packet)[20 + boundary + boundary - fragsize:]) 57 frag=(boundary - fragsize) >> 3, flags='MF') / 58 bytes(packet)[20 + boundary - fragsize:20 + boundary])
|
H A D | frag-overreplace.py | 36 fragsize = 1024 38 fragnum = int(boundary / fragsize) 41 (int((boundary + fragsize) / len(payload)) * payload) 47 frag=(i * fragsize) >> 3, flags='MF') / 48 bytes(packet)[20 + i * fragsize:20 + (i + 1) * fragsize]) 53 frag=(boundary - fragsize) >> 3, flags='MF') / 54 bytes(packet)[20 + boundary - fragsize:20 + boundary])
|
H A D | frag-overindex.py | 35 fragsize = 64 37 fragnum = int(boundary / fragsize) 45 frag=(i * fragsize) >> 3, flags='MF') / 46 bytes(packet)[20 + i * fragsize:20 + (i + 1) * fragsize]) 51 frag=(boundary - fragsize) >> 3, flags='MF') / 52 bytes(packet)[20 + boundary - fragsize:20 + boundary])
|
/freebsd/tools/test/stress2/misc/ |
H A D | newfs6.sh | 47 fragsize=$((bs / i)) 48 echo "newfs $opt -b $bs -f $fragsize md$mdstart " 49 newfs $opt -b $bs -f $fragsize \
|
H A D | newfs.sh | 57 fragsize=$((blocksize / i)) 58 echo "newfs $opt -b $blocksize -f $fragsize"\ 60 newfs $opt -b $blocksize -f $fragsize \
|
H A D | newfs3.sh | 56 fragsize=$((blocksize / i)) 57 newfs -b $blocksize -f $fragsize $opt md$mdstart > \
|
/freebsd/sbin/growfs/ |
H A D | growfs.c | 496 int fragsize; in frag_adjust() 501 fragsize = 0; in frag_adjust() 512 fragsize++; in frag_adjust() 514 if (fragsize && fragsize < sblock.fs_frag) { in frag_adjust() 518 acg.cg_frsum[fragsize] += sign; in frag_adjust() 520 fragsize, sign); in frag_adjust() 522 fragsize = 0; in frag_adjust() 525 if (fragsize && fragsize < sblock.fs_frag) { in frag_adjust() 529 acg.cg_frsum[fragsize] += sign; in frag_adjust() 530 DBG_PRINT2("frag_adjust [%d]+=%d\n", fragsize, sign); in frag_adjust() [all …]
|
/freebsd/tools/tools/net80211/wesside/wesside/ |
H A D | wesside.c | 1692 int fragsize; in send_fragment() local 1707 fragsize = fs->data + fs->len - fs->ptr; in send_fragment() 1709 assert(fragsize > 0); in send_fragment() 1711 if ( (fragsize + 4) > pi->len) { in send_fragment() 1712 fragsize = pi->len - 4; in send_fragment() 1720 memcpy(body, fs->ptr, fragsize); in send_fragment() 1723 crc = crc32(crc, body, fragsize); in send_fragment() 1724 pcrc = (unsigned long*) (body+fragsize); in send_fragment() 1727 for (i = 0; i < (fragsize + 4); i++) in send_fragment() 1735 send_frame(tx, buf, sizeof(*wh) + 4 + fragsize+4); in send_fragment() [all …]
|
/freebsd/sys/netinet/ |
H A D | tcp_output.c | 1976 int32_t fragsize; in tcp_m_copym() local 2050 fragsize = min(segsize, PAGE_SIZE); in tcp_m_copym() 2053 fragsize = segsize; in tcp_m_copym() 2071 if ((frags + howmany(mlen, fragsize)) >= seglimit) { in tcp_m_copym() 2072 mlen = (seglimit - frags - 1) * fragsize; in tcp_m_copym() 2078 frags += howmany(mlen, fragsize); in tcp_m_copym()
|
/freebsd/usr.sbin/bhyve/ |
H A D | audio.c | 212 info.fragstotal, info.fragsize); in audio_set_params()
|
/freebsd/share/examples/sound/oss/ |
H A D | audio.c | 281 config.buffer_info.fragsize, config.buffer_info.fragstotal, in main()
|
/freebsd/tests/sys/netpfil/common/ |
H A D | pft_ping.py | 117 for packet in sp.fragment(ip / icmp / raw, fragsize=send_frag_length): 169 for packet in sp.fragment(ip / udp / raw, fragsize=send_frag_length):
|
/freebsd/sys/net80211/ |
H A D | ieee80211_output.c | 1974 u_int totalhdrsize, fragno, fragsize, off, remainder, payload; in ieee80211_fragment() local 1998 fragsize = MIN(totalhdrsize + remainder, mtu); in ieee80211_fragment() 1999 m = m_get2(fragsize, IEEE80211_M_NOWAIT, MT_DATA, M_PKTHDR); in ieee80211_fragment() 2003 m_align(m, fragsize - ciphdrsize); in ieee80211_fragment() 2023 payload = fragsize - totalhdrsize; in ieee80211_fragment()
|
/freebsd/crypto/openssl/test/ |
H A D | sslapitest.c | 10328 size_t written, readbytes, offset, msglen, fragsize = 10, numpipes = 5; in test_pipelining() local 10373 fragsize = SSL3_RT_MAX_PLAIN_LENGTH; in test_pipelining() 10374 msglen = fragsize * numpipes; in test_pipelining() 10399 if (!TEST_false(SSL_set_split_send_fragment(peera, fragsize + 1))) in test_pipelining() 10409 || !TEST_true(SSL_set_split_send_fragment(peera, fragsize))) in test_pipelining() 10447 for (offset = 0; offset < msglen; offset += fragsize) { in test_pipelining() 10450 if (sendlen > fragsize) in test_pipelining() 10451 sendlen = fragsize; in test_pipelining() 10494 if (fragsize == SSL3_RT_MAX_PLAIN_LENGTH) in test_pipelining()
|
/freebsd/sys/sys/ |
H A D | soundcard.h | 810 int fragsize; /* Size of a fragment in bytes */ member
|
/freebsd/sys/dev/sound/pcm/ |
H A D | dsp.c | 1245 a->fragsize = sndbuf_getblksz(bs); in dsp_ioctl() 1264 a->fragsize = sndbuf_getblksz(bs); in dsp_ioctl()
|
/freebsd/sys/netinet/tcp_stacks/ |
H A D | rack.c | 18178 int32_t fragsize; in rack_fo_base_copym() local 18230 fragsize = min(segsize, PAGE_SIZE); in rack_fo_base_copym() 18233 fragsize = segsize; in rack_fo_base_copym() 18249 if ((frags + howmany(mlen, fragsize)) >= seglimit) { in rack_fo_base_copym() 18250 mlen = (seglimit - frags - 1) * fragsize; in rack_fo_base_copym() 18254 frags += howmany(mlen, fragsize); in rack_fo_base_copym()
|