Home
last modified time | relevance | path

Searched refs:call_id (Results 1 – 7 of 7) sorted by relevance

/openbsd-src/usr.sbin/npppd/pptp/
H A Dpptp_local.h59 uint16_t call_id; member
89 uint16_t call_id; member
106 uint16_t call_id; member
159 uint16_t call_id; member
166 uint16_t call_id; member
H A Dpptp_call.c332 ccr->call_id = ntohs(ccr->call_id); in pptp_call_recv_CCR()
333 pptp_call_log(_this, LOG_INFO, "RecvCCR call_id=%u", ccr->call_id); in pptp_call_recv_CCR()
358 cdn->call_id = _this->id; in pptp_call_send_CDN()
367 cdn->call_id, in pptp_call_send_CDN()
373 cdn->call_id = htons(cdn->call_id); in pptp_call_send_CDN()
400 ocrp->call_id = _this->id; in pptp_call_send_OCRP()
413 ocrp->call_id = htons(ocrp->call_id); in pptp_call_send_OCRP()
443 ocrq->call_id = ntohs(ocrq->call_id); in pptp_call_recv_OCRQ()
455 _this->peers_call_id = ocrq->call_id; in pptp_call_recv_OCRQ()
588 grehdr->call_id = htons(_this->peers_call_id); in pptp_call_gre_output()
[all …]
H A Dpptpd.c241 #define CALL_ID_KEY(call_id, listener_idx) \ argument
242 ((void *)((uintptr_t)(call_id) | (listener_idx) << 16))
249 u_int call_id; in pptpd_assign_call() local
255 call_id = (uintptr_t)slist_itr_next(&_this->call_free_list); in pptpd_assign_call()
256 if (call_id == 0) in pptpd_assign_call()
259 if (call_id == PPTPD_SHUFFLE_MARK) { in pptpd_assign_call()
268 call->id = call_id; in pptpd_assign_call()
687 uint32_t seq, ack, call_id; in pptpd_gre_input() local
749 grehdr->call_id = htons(grehdr->call_id); in pptpd_gre_input()
787 call_id = grehdr->call_id; in pptpd_gre_input()
[all …]
H A Dpptp_ctrl.c885 cdn->call_id = _this->id; in pptp_ctrl_send_CDN()
892 cdn->call_id = htons(cdn->call_id); in pptp_ctrl_send_CDN()
1036 int i, call_id, lpkt0; in pptp_ctrl_call_input() local
1043 call_id = -1; in pptp_ctrl_call_input()
1054 call_id = ntohs(*(uint16_t *)pkt); in pptp_ctrl_call_input()
1061 if (call->id == call_id) in pptp_ctrl_call_input()
1083 if (call->peers_call_id == call_id) in pptp_ctrl_call_input()
1131 pptp_ctrl_mes_type_string(mes_type), mes_type, call_id, reason); in pptp_ctrl_call_input()
/openbsd-src/sys/net/
H A Dpipex_local.h263 uint16_t call_id; /* call_id */ member
H A Dpipex.c1426 gre->call_id = htons(session->peer_session_id); in pipex_pptp_output()
1508 id = ntohs(gre.call_id); in pipex_pptp_lookup_session()
1751 id = ntohs(gre.call_id); in pipex_pptp_userland_lookup_session()
1771 "<%s> session not found (,call_id=%d)",
1772 __func__, (int)gre.call_id));
/openbsd-src/usr.sbin/npppd/l2tp/
H A Dl2tp_ctrl.c1075 l2tp_ctrl_send_packet(l2tp_ctrl *_this, int call_id, bytebuffer *bytebuf) in l2tp_ctrl_send_packet() argument
1093 hdr->session_id = htons(call_id); in l2tp_ctrl_send_packet()