Searched refs:bytebuf (Results 1 - 4 of 4) sorted by relevance

/openbsd-current/usr.sbin/npppd/l2tp/
H A Dl2tp_ctrl.c55 #include "bytebuf.h"
121 bytebuffer *bytebuf; local
173 if ((bytebuf = bytebuffer_create(L2TPD_SND_BUFSIZ)) == NULL) {
178 _this->snd_buffers[i] = bytebuf;
520 bytebuffer *bytebuf; local
530 bytebuf = _this->snd_buffers[seq % _this->snd_buffercnt];
531 header = bytebuffer_pointer(bytebuf);
539 bytebuffer_pointer(bytebuf),
540 bytebuffer_remaining(bytebuf));
543 if (l2tp_ctrl_send(_this, bytebuffer_pointer(bytebuf),
1075 l2tp_ctrl_send_packet(l2tp_ctrl *_this, int call_id, bytebuffer *bytebuf) argument
1270 bytebuffer *bytebuf; local
1425 bytebuffer *bytebuf; local
1524 bytebuffer *bytebuf; local
1577 bytebuffer *bytebuf; local
[all...]
H A Dl2tp_call.c45 #include "bytebuf.h"
398 bytebuffer *bytebuf; local
400 bytebuf = l2tp_ctrl_prepare_snd_buffer(_this->ctrl, 1);
401 if (bytebuf == NULL) {
412 bytebuf_add_avp(bytebuf, avp, 2);
418 bytebuf_add_avp(bytebuf, avp, 2);
421 bytebuf)) != 0) {
742 bytebuffer *bytebuf; local
745 bytebuf = l2tp_ctrl_prepare_snd_buffer(_this->ctrl, 1);
746 if (bytebuf
828 bytebuffer *bytebuf; local
907 bytebuffer *bytebuf; local
[all...]
H A Dl2tp_subr.c46 #include "bytebuf.h"
314 bytebuf_add_avp(bytebuffer *bytebuf, struct l2tp_avp *avp, int value_len) argument
325 if (bytebuffer_put(bytebuf, &avp1, 6) == NULL)
327 if (bytebuffer_put(bytebuf, avp->attr_value, value_len) == NULL)
/openbsd-current/usr.sbin/npppd/npppd/
H A DMakefile15 SRCS+= bytebuf.c addr_range.c recvfromto.c

Completed in 211 milliseconds