Re: Using net/wan/hdlc with serdev

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

 



Ayush Singh <ayushdevel1325@xxxxxxxxx> writes:

> But well, I am not sure how to create an HDLC frame? Is there a helper
> that creates HDLC frame skbuff for me? Or maybe the hdlc
> implementation is simply not designed to be used for Asynchronous
> framing [1]. It would be great if someone could explain how to use
> this HDLC module or point to some resource I might have missed.

I don't know anything at all about this subject, but I believe the wan
HDLC stuff is sync only.

Noting that the ppp driver does all the async framing internally. And
interleaved with ppp specific stuff, so probably not re-usable even if
exported. Ref ppp_async_encode() in drivers/net/ppp/ppp_async.c

I assume it would have used a shared implementation if there was one.
But I could be wrong...


Bjørn

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies




[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]

  Powered by Linux