Lines Matching defs:data
254 * PPPoE Message structure -- holds data from a received PPPoE
340 pppoec_getmsg(int fd, struct strbuf *ctrl, struct strbuf *data, int *flags)
345 retv = mygetmsg(fd, ctrl, data, flags);
362 retv & MOREDATA ? "data " : "");
432 logerr("%s: Warning: PPPoE data link "
589 struct strbuf data;
592 /* Set up the control data expected by the driver. */
600 data.len = poe_length(poep) + sizeof (*poep);
601 data.buf = (caddr_t)poep;
604 myname, msgname, ehost(destaddr), data.len);
605 if (putmsg(tunfd, &ctrl, &data, 0) < 0) {
653 struct strbuf data;
673 data.maxlen = PKT_INPUT_LEN;
674 data.buf = (caddr_t)pkt_input;
677 if (pppoec_getmsg(tunfd, &ctrl, &data, &flags) < 0)
693 display_pppoe(stdout, poep, data.len,
702 * the filter data structure. The string is also parsed for a MAC
1081 * The server has now assigned its session ID for the data
1099 * Connect the data portion to the correct lower stream.
1406 struct strbuf data;
1466 data.maxlen = PKT_INPUT_LEN;
1467 data.buf = (caddr_t)pkt_input;
1470 if (pppoec_getmsg(tunfd, &ctrl, &data, &flags) < 0)
1483 pmsg.poemsg_len = data.len;