We (OZ2ABA and I) are presently working on a version of PB/PG
for Linux (based on the work of John Melton (G0ORX/N6LYT), but
with X-support removed and automatic download requests added.
The first version used the devices (e.g. /dev/scc1) directly,
but we are now switching to use the network interfaces. This
switch is necessitated by our wanting PG to be able to work
simultaneously with PB.
As part of this exercise I have written a program to generate
synthetic traffic on the interface by taking a KISS log file,
e.g. one generated by XPB, and sending the frames through the
socket interface.
What I want to do eventually is to see the frames being sent
over the interface exactly as received from the satellite.
This has necessitated that I study the socket mechanism in
greater detail, but here I have run into a problem, and it is
here that I hope somebody reading this may be able to help.
So far I have been unable to locate any literature on the
special sockets types in Linux. I have found some literature,
on general socket programming, e.g. Digital's "Network Programming
Guidelines" for Digital UNIX, but this manual only describes sockets
types SOCK_STREAM and SOCK_DGRAM. SOCK_RAW is mentioned but not
treated in any depth.
Where can I find documentation on the socket types that are
special (?) to Linux such as SOCK_PACKET, etc. Also, I'm looking
for information on what the address family AF_AX25 has of features.
I have searched through the NET_HOWTO and the AX25_HOWTO
without finding anything on socket programming. I have also
searched for a AX.25 FAQ for Linux but not found any.
I do hope this is the right place to ask this kind of questions.
Please help.
Best regards,
Bent/OZ6BL
(also lpfhk@woodyware.com)