Searched refs:buf_add (Results 1 – 6 of 6) sorted by relevance
/freebsd/sys/contrib/libsodium/test/default/ |
H A D | sodium_utils.c | 7 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 D | bpf.c | 326 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 D | privsep.c | 40 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 D | dhclient.c | 2084 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 D | dispatch.c | 540 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 D | dhcpd.h | 449 int buf_add(struct buf *, const void *, size_t);
|