Lines Matching defs:ctrl
50 static int (*old_sys_read_packet)(int retv, struct strbuf *ctrl,
306 handle_pppoe_input(const ppptun_atype *pma, struct strbuf *ctrl,
336 plp = (struct ppp_ls *)ctrl->buf;
339 ctrl->len = sizeof (*plp);
409 handle_action(struct ppptun_control *ptc, struct strbuf *ctrl,
414 return (handle_pppoe_input(&ptc->ptc_address, ctrl, data));
430 pppoe_sys_read_packet(int retv, struct strbuf *ctrl, struct strbuf *data,
435 if (retv >= 0 && !(retv & MORECTL) && ctrl->len >= sizeof (uint32_t)) {
437 ptc = (struct ppptun_control *)ctrl->buf;
441 if (ctrl->len == sizeof (*ptc))
442 retv = handle_action(ptc, ctrl, data);
451 return ((*old_sys_read_packet)(retv, ctrl, data, flags));