Home
last modified time | relevance | path

Searched refs:buf_add (Results 1 – 6 of 6) sorted by relevance

/freebsd/sys/contrib/libsodium/test/default/
H A Dsodium_utils.c7 unsigned char buf_add[1000]; in main() local
88 memset(buf_add, 0, bin_len); in main()
92 sodium_increment(buf_add, bin_len); in main()
94 sodium_add(buf2, buf_add, bin_len); in main()
101 memset(buf_add, 0xff, bin_len); in main()
104 sodium_add(buf2, buf_add, bin_len); in main()
105 sodium_add(buf2, buf_add, 0U); in main()
/freebsd/sbin/dhclient/
H A Dbpf.c326 errs += buf_add(buf, &hdr, sizeof(hdr)); in send_packet_unpriv()
327 errs += buf_add(buf, &len, sizeof(len)); in send_packet_unpriv()
328 errs += buf_add(buf, raw, len); in send_packet_unpriv()
329 errs += buf_add(buf, &from, sizeof(from)); in send_packet_unpriv()
330 errs += buf_add(buf, &to, sizeof(to)); in send_packet_unpriv()
H A Dprivsep.c40 buf_add(struct buf *buf, const void *data, size_t len) in buf_add() function
228 if (buf_add(buf, &hdr, sizeof(hdr))) in dispatch_imsg()
230 if (buf_add(buf, &ret, sizeof(ret))) in dispatch_imsg()
H A Ddhclient.c2084 errs += buf_add(buf, &hdr, sizeof(hdr)); in script_init()
2085 errs += buf_add(buf, &mediumlen, sizeof(mediumlen)); in script_init()
2087 errs += buf_add(buf, medium->string, mediumlen); in script_init()
2089 errs += buf_add(buf, &len, sizeof(len)); in script_init()
2090 errs += buf_add(buf, reason, len); in script_init()
2298 errs += buf_add(buf, &hdr, sizeof(hdr)); in script_write_params()
2299 errs += buf_add(buf, lease, sizeof(*lease)); in script_write_params()
2300 errs += buf_add(buf, &fn_len, sizeof(fn_len)); in script_write_params()
2301 errs += buf_add(buf, lease->filename, fn_len); in script_write_params()
2302 errs += buf_add(buf, &sn_len, sizeof(sn_len)); in script_write_params()
[all …]
H A Ddispatch.c540 errs += buf_add(buf, &hdr, sizeof(hdr)); in interface_set_mtu_unpriv()
541 errs += buf_add(buf, &mtu, sizeof(mtu)); in interface_set_mtu_unpriv()
H A Ddhcpd.h449 int buf_add(struct buf *, const void *, size_t);