Changeset 33739be in rtems
- Timestamp:
- 09/30/14 09:25:57 (9 years ago)
- Branches:
- 4.11, 5, master
- Children:
- 805360b
- Parents:
- fbe59f7
- git-author:
- Sebastian Huber <sebastian.huber@…> (09/30/14 09:25:57)
- git-committer:
- Sebastian Huber <sebastian.huber@…> (09/30/14 12:06:09)
- Location:
- cpukit/libnetworking/net
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
cpukit/libnetworking/net/if_ppp.c
rfbe59f7 r33739be 383 383 /* write out frame byte to start the transmission */ 384 384 sc->sc_outchar = (u_char)PPP_FLAG; 385 (*tp-> device.write)(tp->minor, (char *)&sc->sc_outchar, 1);385 (*tp->handler.write)(tp, (char *)&sc->sc_outchar, 1); 386 386 } 387 387 -
cpukit/libnetworking/net/ppp_tty.c
rfbe59f7 r33739be 607 607 sc->sc_outflag &=~(SC_TX_FCS); 608 608 sc->sc_outchar = (u_char)PPP_FLAG; 609 (*tp-> device.write)(tp->minor, (char *)&sc->sc_outchar, 1);609 (*tp->handler.write)(tp, (char *)&sc->sc_outchar, 1); 610 610 return(0); 611 611 } … … 644 644 645 645 /* write out the character(s) and update the stats */ 646 (*tp-> device.write)(tp->minor, (char *)sendBegin, (ioffset > 0) ? ioffset : 1);646 (*tp->handler.write)(tp, (char *)sendBegin, (ioffset > 0) ? ioffset : 1); 647 647 sc->sc_stats.ppp_obytes += (ioffset > 0) ? ioffset : 1; 648 648 sc->sc_outoff += ioffset;
Note: See TracChangeset
for help on using the changeset viewer.