/freebsd/contrib/bc/tests/ |
H A D | history.py | 87 # Send data to a child. This makes sure the buffers are empty first. 88 # @param child The child to send data to. 89 # @param data The data to send. 90 def send(child, data): function 92 child.send(data) 110 send(child, "\n") 119 send(child, c) 156 send(child, utf8_stress_strs[idx]) 157 send(child, "\n") 160 send(chil [all...] |
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/rsend/ |
H A D | send_partial_dataset.ksh | 26 # 'zfs send --saved'. 30 # 2. Perform saved send without incremental 31 # 3. Perform saved send with incremental 32 # 4. Perform saved send with incremental, resuming from a token 39 "'zfs send --saved'." 59 log_must eval "zfs send $POOL/testfs2@a | zfs recv $POOL/recvfs" 60 log_must eval "zfs send -i $POOL/testfs2@a $POOL/testfs2@b > " \ 61 "/$POOL/stream/inc.send" 62 log_must eval "zfs send $POOL/testfs2@b > /$POOL/stream/full.send" 63 mess_send_file /$POOL/stream/full.send [all …]
|
H A D | send_holds.ksh | 28 # Verify 'zfs send' can send dataset holds. 33 # 2. Create a full send stream with the fs, including holds. 34 # 3. Receive the send stream and verify the data integrity. 36 # 5. Create an incremental send stream with the fs, including holds. 37 # 6. Receive the incremental send stream and verify the data integrity. 39 # 8. Create an incremental snap with no holds, and send that with -h. 89 log_assert "Verify 'zfs send/recv' can send and receive dataset holds." 110 log_note "Verify 'zfs send' can create full send stream." 128 log_must eval "zfs send -h $init_snap > $full_bkup" 130 log_note "Verify the send stream is valid to receive." [all …]
|
H A D | send_mixed_raw.ksh | 31 # 2. Perform a raw send of the first snapshot to 2 other datasets. 32 # 3. Perform a non-raw send of the second snapshot to one of 33 # the other datasets. Perform a raw send from this dataset to 35 # 4. Attempt to raw send the final snapshot of the first dataset 42 # snap1 ---raw---> snap1 --raw--> snap1 # all snaps initialized via raw send 44 # snap3 ------------raw---------> snap3 # attempt send to C (should fail) 75 log_must eval "zfs send -w $TESTPOOL/$TESTFS1@1 |" \ 78 log_must eval "zfs send -w $TESTPOOL/$TESTFS2@1 |" \ 82 log_must eval "zfs send -i $TESTPOOL/$TESTFS1@1 $TESTPOOL/$TESTFS1@2 |" \ 84 log_must eval "zfs send -w -i $TESTPOOL/$TESTFS2@1 $TESTPOOL/$TESTFS2@2 |" \ [all …]
|
H A D | rsend_003_pos.ksh | 37 # zfs send -I dataset@init to clone@snap can create a clone 41 # 2. send -I pool@init to clone@snap 48 log_assert "zfs send -I send all incrementals from dataset@init to clone@snap" 54 log_must eval "zfs send -R $POOL@final > $BACKDIR/pool-R" 59 # Verify send -I backup all incrementals from pool 61 log_must eval "zfs send -I $POOL2@psnap $POOL2/pclone@final > " \ 72 # Verify send -I backup all incrementals from filesystem 75 log_must eval "zfs send -I $ds/fs2@fsnap $ds/fclone@final > " \ 85 # Verify send -I backup all incrementals from volume 88 log_must eval "zfs send -I $ds/vol@vsnap $ds/vclone@final > " \ [all …]
|
H A D | send_encrypted_props.ksh | 27 # send streams. 33 # 4. Verify that 'zfs recv -x <encryption prop>' fails on a raw send stream 35 # 6. Verify that a simple send can be received as an encryption root 36 # 7. Verify that an unencrypted props send can be received as an 38 # 8. Verify that an unencrypted recursive send can be received as an 40 # 9. Verify that an unencrypted props send can be received as an 42 # 10. Verify that an unencrypted recursive send can be received as an 90 log_mustnot eval "zfs send -e $TESTPOOL/crypt/ds1 | zfs recv $TESTPOOL/recv" 93 # in via prompt because the send stream itself is using stdin. 95 log_must eval "zfs send $snap > $sendfile" [all …]
|
H A D | rsend_030_pos.ksh | 23 # Verify resumability of full ZFS send/receive on existing dataset 26 # 1. Start a full ZFS send with redirect output to a file 29 # 4. ZFS send to the stream state file again using the receive_resume_token 32 # 7. Repeat steps on an incremental ZFS send. It should complete 42 log_assert "Verify resumability of full ZFS send/receive on existing dataset" 47 # Full send/recv on existing dataset 49 log_must eval "zfs send -c -v $sendfs@a >/$streamfs/1" 53 log_must eval "zfs send -t $token >/$streamfs/2" 58 # Incremental send/recv 59 log_must eval "zfs send -c -v -i @a $sendfs@b >/$streamfs/3" [all …]
|
/freebsd/sys/contrib/openzfs/man/man8/ |
H A D | zfs-redact.8 | 35 .Dt ZFS-SEND 8 39 .Nm zfs-send 43 .Cm send 49 .Cm send 54 .Cm send 60 .Cm send 65 .Cm send 77 .Cm send 93 Deduplicated send is no longer supported. 147 flag is used to send encrypte [all...] |
H A D | zfs-send.8 | 39 .Nm zfs-send 43 .Cm send 49 .Cm send 54 .Cm send 60 .Cm send 65 .Cm send 77 .Cm send 93 Deduplicated send is no longer supported. 147 flag is used to send encrypted datasets, then 157 to be excluded from the send stream. [all …]
|
H A D | zstreamdump.8 | 30 .Nd manipulate ZFS send streams 55 utility manipulates ZFS send streams output by the 56 .Sy zfs send 65 Print information about the specified send stream, including headers and 67 The send stream may either be in the specified 98 Decompress selected records in a ZFS send stream provided on standard input, 134 Deduplicated send streams can be generated by using the 135 .Nm zfs Cm send Fl D 137 The ability to send deduplicated send stream [all...] |
H A D | zstream.8 | 30 .Nd manipulate ZFS send streams 55 utility manipulates ZFS send streams output by the 56 .Sy zfs send 65 Print information about the specified send stream, including headers and 67 The send stream may either be in the specified 98 Decompress selected records in a ZFS send stream provided on standard input, 134 Deduplicated send streams can be generated by using the 135 .Nm zfs Cm send Fl D 137 The ability to send deduplicated send streams is deprecated. 138 In the future, the ability to receive a deduplicated send stream with [all …]
|
H A D | zfs-recv.8 | 91 .Nm zfs Cm send 109 .Nm zfs Cm send Fl R 115 The ability to send and receive deduplicated send streams has been removed. 116 However, a deduplicated send stream created with older software can be converted 133 property is set by the send stream, it will be overridden by forcing the 142 is a read-only property and cannot be set, it's allowed to receive the send 145 Raw encrypted send streams (created with 146 .Nm zfs Cm send Fl w ) 160 the standard input for the send strea [all...] |
H A D | zfs-receive.8 | 91 .Nm zfs Cm send 109 .Nm zfs Cm send Fl R 115 The ability to send and receive deduplicated send streams has been removed. 116 However, a deduplicated send stream created with older software can be converted 133 property is set by the send stream, it will be overridden by forcing the 142 is a read-only property and cannot be set, it's allowed to receive the send 145 Raw encrypted send streams (created with 146 .Nm zfs Cm send Fl w ) 160 the standard input for the send stream. 163 The added security provided by raw sends adds some restrictions to the send [all …]
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_send/ |
H A D | zfs_send_006_pos.ksh | 25 # Verify 'zfs send' can generate valid streams with different options 30 # 3. Create a full send streams 31 # 4. Receive the send stream 60 typeset total_size=$(zfs send $option $snapshot 2>&1 | tail -1) 62 typeset total_size=$(zfs send $option $base_snapshot $snapshot \ 87 log_fail "zfs send $options failed" 90 log_fail "zfs send $options gives wrong size estimates" 93 log_assert "Verify 'zfs send -nvP' generates valid stream estimates" 119 full_size=$(zfs send $full_snapshot 2>&1 | wc -c) 120 incremental_size=$(zfs send $incremental_snapshot 2>&1 | wc -c) [all …]
|
H A D | zfs_send_001_pos.ksh | 38 # Verify 'zfs send' can create valid send streams as expected. 42 # 2. Create a full send streams with the fs 43 # 3. Receive the send stream and verify the data integrity 45 # 5. Create an incremental send stream with the fs 46 # 6. Receive the incremental send stream and verify the data integrity. 71 log_assert "Verify 'zfs send' can create valid send streams as expected." 89 log_note "Verify 'zfs send' can create full send stream." 100 log_must eval "zfs send $init_snap > $full_bkup" 102 log_note "Verify the send stream is valid to receive." 108 log_note "Verify 'zfs send -i' can create incremental send stream." [all …]
|
H A D | zfs_send_raw.ksh | 31 # 3. Attempt a raw send of both datasets 32 # 4. Attempt a raw send with properties of both datasets 33 # 5. Attempt a raw replication send of both datasets 35 # 7. Attempt a raw send of the encrypted dataset 61 log_must eval "zfs send -w $snap > /dev/null" 62 log_must eval "zfs send -w $snap1 > /dev/null" 65 log_must eval "zfs send -wp $snap > /dev/null" 66 log_must eval "zfs send -wp $snap1 > /dev/null" 69 log_must eval "zfs send -wR $snap > /dev/null" 70 log_must eval "zfs send -wR $snap1 > /dev/null" [all …]
|
/freebsd/share/man/man4/ |
H A D | send.4 | 30 .Nm send 31 .Nd "Kernel side support for Secure Neighbor Discovery (SeND)" 52 Kernel side support for SeND consists of a kernel module with hooks that 55 send them to user space on a dedicated socket and reinject them back for 61 The native SeND socket is similar to a raw IP socket, but with its own, 94 In case that no user space application is connected to the send socket, 109 for either cryptographic protection or validation by the SeND application. 114 by the SeND options and then sent to user space for cryptographic validation. 119 of SeND options. 125 incoming SeND/ND packet ( [all …]
|
/freebsd/tests/sys/cddl/zfs/tests/cli_root/zfs_send/ |
H A D | zfs_send_001_pos.ksh | 36 # Verify 'zfs send' can create valid send streams as expected. 40 # 2. Create a full send streams with the fs 41 # 3. Receive the send stream and verify the data integrity 43 # 5. Create an incremental send stream with the fs 44 # 6. Receive the incremental send stream and verify the data integrity. 80 log_assert "Verify 'zfs send' can create valid send streams as expected." 98 log_note "Verify 'zfs send' can create full send stream." 109 $ZFS send $init_snap > $full_bkup 111 log_fail "'$ZFS send' fails to create full send" 113 log_note "Verify the send stream is valid to receive." [all …]
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/redacted_send/ |
H A D | redacted_origin.ksh | 26 # 1. Send A(B,C,D) to pool2. 27 # 2. Verify send from A(B, C, D) can be received onto it. 28 # 3. Verify send from A(B, C) can be received onto it. 29 # 4. Verify send from A() can be received onto it. 30 # 5. Verify send from A(E) cannot be received onto it. 31 # 6. Verify send from redaction bookmark for A(B, C) can be received onto it. 32 # 7. Verify send from redaction bookmark for A() can be received onto it. 33 # 8. Verify send from redaction bookmark for A(E) cannot be received onto it. 54 log_must eval "zfs send --redact BCD $dsA >$stream" 59 log_must eval "zfs send --redact BC $dsA >$stream" [all …]
|
/freebsd/contrib/ldns/ldns/ |
H A D | net.h.in | 29 * Contains functions to send and receive packets over a network. 34 * \param[in] qbin the ldns_buffer to be send 35 * \param[in] to the ip addr to send to 45 * Send an udp query and don't wait for an answer but return 47 * \param[in] qbin the ldns_buffer to be send 48 * \param[in] to the ip addr to send to 56 * Send an udp query and don't wait for an answer but return 60 * \param[in] qbin the ldns_buffer to be send 61 * \param[in] to the ip addr to send to 69 * Send an tcp query and don't wait for an answer but return [all …]
|
H A D | net.h | 29 * Contains functions to send and receive packets over a network. 34 * \param[in] qbin the ldns_buffer to be send 35 * \param[in] to the ip addr to send to 45 * Send an udp query and don't wait for an answer but return 47 * \param[in] qbin the ldns_buffer to be send 48 * \param[in] to the ip addr to send to 56 * Send an udp query and don't wait for an answer but return 60 * \param[in] qbin the ldns_buffer to be send 61 * \param[in] to the ip addr to send to 69 * Send an tcp query and don't wait for an answer but return [all …]
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_receive/ |
H A D | zfs_receive_large_block_corrective.ksh | 27 # OpenZFS should be able to heal data using corrective recv when the send file 33 # 1. Test healing (aka corrective) recv from a full send file 34 # 2. Test healing recv (aka heal recv) from an incremental send file 37 # 5. Test heal recv when compression doesn't match between send file and on-disk 38 # 6. Test healing recv of an encrypted dataset using an unencrypted send file 39 # 7. Test healing recv (on an encrypted dataset) using a raw send file 104 # create full send file 105 log_must eval "zfs send -L $TESTPOOL/$TESTFS1@snap1 > $backup" 110 # create incremental send file 111 log_must eval "zfs send -Li $TESTPOOL/$TESTFS1@snap1 \ [all …]
|
H A D | zfs_receive_compressed_corrective.ksh | 27 # OpenZFS should be able to heal data using corrective recv when the send file 33 # 1. Test healing (aka corrective) recv from a full send file 34 # 2. Test healing recv (aka heal recv) from an incremental send file 37 # 5. Test heal recv when compression doesn't match between send file and on-disk 38 # 6. Test healing recv of an encrypted dataset using an unencrypted send file 39 # 7. Test healing recv (on an encrypted dataset) using a raw send file 103 # create full send file 104 log_must eval "zfs send --compressed $TESTPOOL/$TESTFS1@snap1 > $backup" 109 # create incremental send file 110 log_must eval "zfs send -c -i $TESTPOOL/$TESTFS1@snap1 \ [all …]
|
H A D | zfs_receive_corrective.ksh | 32 # 1. Test healing (aka corrective) recv from a full send file 33 # 2. Test healing recv (aka heal recv) from an incremental send file 36 # 5. Test heal recv when compression doesn't match between send file and on-disk 37 # 6. Test healing recv of an encrypted dataset using an unencrypted send file 38 # 7. Test healing recv (on an encrypted dataset) using a raw send file 102 # create full send file 103 log_must eval "zfs send $TESTPOOL/$TESTFS1@snap1 > $backup" 108 # create incremental send file 109 log_must eval "zfs send -i $TESTPOOL/$TESTFS1@snap1 \ 113 # test healing recv from a full send file [all …]
|
/freebsd/tests/sys/kern/ |
H A D | unix_seqpacket_test.c | 170 /* Send data until we get EAGAIN */ in test_eagain() 172 ssize = send(sv[0], sndbuf, pktsize, MSG_EOR); in test_eagain() 180 perror("send"); in test_eagain() 181 atf_tc_fail("send returned < 0 but not EAGAIN"); in test_eagain() 209 /* Fill the send buffer */ in test_sendrecv_symmetric_buffers() 212 /* send and receive the packet */ in test_sendrecv_symmetric_buffers() 213 ssize = send(sv[0], sndbuf, pktsize, MSG_EOR); in test_sendrecv_symmetric_buffers() 215 perror("send"); in test_sendrecv_symmetric_buffers() 216 atf_tc_fail("send returned < 0"); in test_sendrecv_symmetric_buffers() 218 ATF_CHECK_EQ_MSG(pktsize, ssize, "expected %zd=send(...) but got %zd", in test_sendrecv_symmetric_buffers() [all …]
|