Home
last modified time | relevance | path

Searched refs:calling_number (Results 1 – 8 of 8) sorted by relevance

/openbsd/usr.sbin/npppd/l2tp/
H A Dl2tp_call.c339 slen = MINIMUM(sizeof(_this->calling_number) - 1, in l2tp_call_recv_ICRQ()
341 memcpy(_this->calling_number, avp->attr_value, slen); in l2tp_call_recv_ICRQ()
342 _this->calling_number[slen] = '\0'; in l2tp_call_recv_ICRQ()
615 _this->peer_session_id, _this->calling_number, tx_conn_speed, in l2tp_call_recv_ICCN()
1021 strlcpy(ppp->calling_number, _this->calling_number, in l2tp_call_bind_ppp()
1022 sizeof(ppp->calling_number)); in l2tp_call_bind_ppp()
H A Dl2tp.h436 char calling_number[32]; member
/openbsd/usr.sbin/npppd/npppd/
H A Dprivsep.c139 char calling_number[NPPPD_PHONE_NUMBER_LEN + 1]; member
375 strlen(r->calling_number) + 3; in priv_get_user_info()
390 u->calling_number = cp; in priv_get_user_info()
391 n = strlcpy(cp, r->calling_number, sz); in priv_get_user_info()
702 if (strlcpy(r.calling_number, str, in privsep_priv_dispatch_imsg()
703 sizeof(r.calling_number)) >= in privsep_priv_dispatch_imsg()
704 sizeof(r.calling_number)) in privsep_priv_dispatch_imsg()
H A Dnpppd_auth.h60 char *calling_number; member
H A Dnpppd_radius.c279 if (ppp->calling_number[0] != '\0') in radius_acct_request()
280 ATTR_STR(RADIUS_TYPE_CALLING_STATION_ID, ppp->calling_number); in radius_acct_request()
560 if (_this->calling_number[0] != '\0') { in ppp_set_radius_attrs_for_authreq()
562 RADIUS_TYPE_CALLING_STATION_ID, _this->calling_number) != 0) in ppp_set_radius_attrs_for_authreq()
H A Dnpppd_auth.c367 lcallnum = strlen(user->calling_number) + 1; in npppd_auth_get_calling_number()
374 strlcpy(number, user->calling_number, sz); in npppd_auth_get_calling_number()
H A Dppp.h470 char calling_number[NPPPD_PHONE_NUMBER_LEN + 1]; member
H A Dnpppd.c729 (strcmp(number, ppp->calling_number) == 0)? 1 : 0; in npppd_check_calling_number()