Networking Forums

Networking Forums > Computer Networking > Linux Networking > Howto send raw HDLC frames on /dev/scc0?

Reply
Thread Tools Display Modes

Howto send raw HDLC frames on /dev/scc0?

 
 
Nick Austen
Guest
Posts: n/a

 
      12-06-2004, 06:59 AM
Hi - I used the /dev/scc devices in earlier kernels but am now using
2.6.9 and things have changed a lot.

The scc driver module is built, installed, loads and I can talk to it
using the sccstat program - but I don't know what the API is to send
and receive raw HDLC frames!

I open the device by using the socket() call:

int fd = socket(AF_AX25,SOCK_DGRAM,0);

This succeeds (gives fd > 0).

A write() of two bytes (eg. a SNRM to address 0x55) fails with:

Cannot assign requested address

from perror().

----
Does anyone have an example source file that simply opens the
/dev/scc0 device and sends and receives a frame???
----
I am missing some infomation and just need a kick in the right
direction.

Cheers,

Nick.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Jumbo Frames David Windows Networking 4 09-15-2006 09:48 PM
Frames received with errors greater than frames received ok affiliateian@gmail.com Wireless Internet 1 06-05-2006 11:41 PM
ZEBRA/OSPF and HDLC Markus Klenk Linux Networking 0 12-21-2003 08:55 AM
Ethernet-Howto and Networking-Howto, etc... Bernard DEBREIL Linux Networking 0 11-27-2003 10:16 PM
DSCC4 + HDLC mini-HOWTO Frantisek Rysanek Linux Networking 0 07-14-2003 10:27 AM



1 2 3 4 5 6 7 8 9 10 11