link a serial char and network driver



hi....i'm a new member.. may name is maroajahan...

i have a problem on programming linux device driver....

i want to build a driver that have two behavior.....

on user mode it will be recognized as serial char driver but on kernel
kernel system will recognize it as a network device driver that open an
UDP port and read/write that port.

i confuse how to implement it...especially how to open UDP port in
kernel space and how to link that both drivers (network and serial char
driver)

i hope you can give me a sollution on this...

thankyou.

.



Relevant Pages

  • Re: link a serial char and network driver
    ... i have a problem on programming linux device driver.... ... i want to build a driver that have two behavior..... ... on user mode it will be recognized as serial char driver but on kernel ... UDP port and read/write that port. ...
    (comp.os.linux.development.system)
  • Re: link a serial char and network driver
    ... i have a problem on programming linux device driver.... ... i want to build a driver that have two behavior..... ... on user mode it will be recognized as serial char driver but on kernel ... UDP port and read/write that port. ...
    (comp.os.linux.development.system)
  • Re: 2.6.30-rc4 kernel
    ... I think there may be a problem with the 2.6.30 kernel that is ... # Generic Driver Options ... # PCI IDE chipsets support ... # Other IDE chipsets support ...
    (Linux-Kernel)
  • 2.6.30-rc4 kernel
    ... kernel panic - not syncing: ... # Generic Driver Options ... # PCI IDE chipsets support ... # Other IDE chipsets support ...
    (Linux-Kernel)
  • [PATCH 18-rc2] Fix typos in /Documentation : N-P
    ... Again, if you're not gonna do synchronization with disk drives (dang, ... -the kernel. ... There are two options specific to PSX driver portion. ... The driver uses the settings from the EEPROM set in the SCSI BIOS ...
    (Linux-Kernel)