Lines Matching defs:ptc
409 handle_action(struct ppptun_control *ptc, struct strbuf *ctrl,
412 switch (ptc->ptc_action) {
414 return (handle_pppoe_input(&ptc->ptc_address, ctrl, data));
417 warn("bad control message; session %u on %s", ptc->ptc_rsessid,
418 ptc->ptc_name);
433 struct ppptun_control *ptc;
437 ptc = (struct ppptun_control *)ctrl->buf;
439 if (ptc->ptc_discrim == PPPOE_DISCRIM) {
441 if (ctrl->len == sizeof (*ptc))
442 retv = handle_action(ptc, ctrl, data);