Re: Way how frames are read in pppd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Christian writes:

> I have a device which gives me a function to transmit data in a hdlc
> frame, so i can just call some function like:
> 
> tx_frame(char *p, int l);
> 
> and i can be sure the data will come out on the other side in exactly 1
> hdlc frame with size l.
> 
> on the other hand i have installed a callback like
> 
> rx_frame(char *p, int l);
> 
> where i receive the data from exactly 1 hdlc frame with length l.

Have a look at Documentation/networking/ppp_generic.txt and
drivers/net/ppp_synctty.c in the Linux kernel sources.

Paul.
-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Audio Users]     [Linux for Hams]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Fedora Users]

  Powered by Linux