Home
last modified time | relevance | path

Searched refs:fragsize (Results 1 – 25 of 33) sorted by relevance

12

/external/scapy/scapy/layers/
Dinet.py455 def fragment(self, fragsize=1480): argument
457 fragsize = (fragsize+7)//8*8
467 nb = (len(s)+fragsize-1)//fragsize
475 q[fnb].frag += i * fragsize // 8
476 r = conf.raw_layer(load=s[i*fragsize:(i+1)*fragsize])
834 def fragment(pkt, fragsize=1480): argument
836 fragsize = (fragsize+7)//8*8
840 nb = (len(s)+fragsize-1)//fragsize
848 q[IP].frag += i * fragsize // 8
849 r = conf.raw_layer(load=s[i*fragsize:(i+1)*fragsize])
[all …]
/external/e2fsprogs/lib/ext2fs/
Dtst_fs_struct.c48 check_field(fragsize); in main()
Dopenfs.c313 fs->fragsize = fs->blocksize = EXT2_BLOCK_SIZE(fs->super); in ext2fs_open2()
Dinitialize.c218 fs->fragsize = fs->blocksize = EXT2_BLOCK_SIZE(super); in ext2fs_initialize()
Dext2fs.h231 int fragsize; member
/external/kernel-headers/original/uapi/rdma/hfi/
Dhfi1_user.h215 __u16 fragsize; member
/external/python/cpython2/Modules/
Dlinuxaudiodev.c353 return PyInt_FromLong((ai.fragstotal * ai.fragsize) / (nchannels * ssize)); in lad_bufsize()
372 return PyInt_FromLong((ai.fragstotal * ai.fragsize - ai.bytes) / in lad_obufcount()
Dossaudiodev.c586 return PyInt_FromLong((ai.fragstotal * ai.fragsize) / (nchannels * ssize)); in oss_bufsize()
605 return PyInt_FromLong((ai.fragstotal * ai.fragsize - ai.bytes) / in oss_obufcount()
/external/python/cpython3/Modules/
Dossaudiodev.c666 return PyLong_FromLong((ai.fragstotal * ai.fragsize) / (nchannels * ssize)); in oss_bufsize()
688 return PyLong_FromLong((ai.fragstotal * ai.fragsize - ai.bytes) / in oss_obufcount()
/external/webrtc/webrtc/sound/
Dpulseaudiosoundsystem.cc1484 attr.fragsize = latency; in ConnectInputStream()
1487 LOG(LS_VERBOSE) << "Configuring latency = " << attr.fragsize in ConnectInputStream()
/external/kernel-headers/original/uapi/linux/
Dsoundcard.h575 int fragsize; /* Size of a fragment in bytes */ member
/external/webrtc/webrtc/modules/audio_device/linux/
Daudio_device_pulse_linux.cc1311 _recBufferAttr.fragsize = latency; // size of fragment in InitRecording()
/external/scapy/test/
Dregression.uts5665 payloadlen, fragsize = 100, 8
5666 assert fragsize % 8 == 0
5667 fragcount = (payloadlen // fragsize) + bool(payloadlen % fragsize)
5671 frags = fragment(pkt, fragsize)
5677 * each fragment except the last one should have a payload of fragsize bytes
5679 assert len(frags[-1].payload) == ((payloadlen % fragsize) or fragsize)
5744 payloadlen, fragsize = 100, 8
5745 assert fragsize % 8 == 0
5746 fragcount = (payloadlen // fragsize) + bool(payloadlen % fragsize)
5750 frags = pkt.fragment(fragsize)
[all …]
/external/e2fsprogs/po/
Deo.po869 #. @-expanded: superblock block_size = %b, fragsize = %c.\n
874 "@S @b_size = %b, fragsize = %c.\n"
878 "En @S: block_size = %b, fragsize = %c.\n"
Did.po874 #. @-expanded: superblock block_size = %b, fragsize = %c.\n
879 "@S @b_size = %b, fragsize = %c.\n"
883 "@S @b_size = %b, fragsize = %c.\n"
Dpl.po868 #. @-expanded: superblock block_size = %b, fragsize = %c.\n
873 "@S @b_size = %b, fragsize = %c.\n"
877 "W @Su block_size (rozm. bloku) = %b, fragsize (rozm. fragmentu) = %c.\n"
De2fsprogs.pot852 #. @-expanded: superblock block_size = %b, fragsize = %c.\n
856 "@S @b_size = %b, fragsize = %c.\n"
Dfi.po855 #. @-expanded: superblock block_size = %b, fragsize = %c.\n
860 "@S @b_size = %b, fragsize = %c.\n"
Dcs.po878 #. @-expanded: superblock block_size = %b, fragsize = %c.\n
883 "@S @b_size = %b, fragsize = %c.\n"
887 "V superbloku block_size = %b, fragsize = %c.\n"
Dde.po870 #. @-expanded: superblock block_size = %b, fragsize = %c.\n
875 "@S @b_size = %b, fragsize = %c.\n"
879 "@S-@b_size = %b, fragsize = %c.\n"
Dzh_CN.po868 #. @-expanded: superblock block_size = %b, fragsize = %c.\n
873 "@S @b_size = %b, fragsize = %c.\n"
Dsr.po869 #. @-expanded: superblock block_size = %b, fragsize = %c.\n
874 "@S @b_size = %b, fragsize = %c.\n"
Duk.po878 #. @-expanded: superblock block_size = %b, fragsize = %c.\n
883 "@S @b_size = %b, fragsize = %c.\n"
Dms.po956 #. @-expanded: superblock block_size = %b, fragsize = %c.\n
961 "@S @b_size = %b, fragsize = %c.\n"
Dit.po877 #. @-expanded: superblock block_size = %b, fragsize = %c.\n
882 "@S @b_size = %b, fragsize = %c.\n"

12