Mailing List
Home
Linux - General Red Hat Linux discussion list
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Installation - Getting started with Red Hat Linux
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
Default Gateway Thorough A Programme

Default Gateway Thorough A Programme

2005-03-30       - By Alexey Fadyushin

 Back
Reply:     1     2     3     4     5     6     7  

These operations could be made using ioctl calls on sockets. The ioctl
codes and names of relevant IOCTL's are listed in the include file
<linux/sockios.h>.

Alexey Fadyushin
Brainbench MVP for Linux.
http://www.brainbench.com


David Balazic wrote:

> I believe reading the sources of /sbin/ifconfig would be very helpful.
>
> -- --Original Message-- --
> From: redhat-list-bounces@(protected) [mailto:redhat-list-bounces@(protected)]
> On Behalf Of Muhammad Rizwan
> Sent: 29. marec 2005 10:15
> To: General Red Hat Linux discussion list
> Subject: RE: Default Gateway Thorough A Programme
>
>
>
> In addition to that how can i get my ip address and how can i add another ip
> address through my program.
>
> Thanks
>
> On Tue, 2005-03-29 at 12:28, David Balazic wrote:
>
>>Guys, I think he just wants to find out the address of the default
>>Gateway, nothing more :-)
>>
>>Like :
>>Int gw_adr = get_def_ge();
>>
>>Which would return 192.168.1.1 for example.
>>
>>
>>-- --Original Message-- --
>>From: redhat-list-bounces@(protected)
>>[mailto:redhat-list-bounces@(protected)]
>>On Behalf Of Alexey Fadyushin
>>Sent: 26. marec 2005 20:16
>>To: General Red Hat Linux discussion list
>>Subject: Re: Default Gateway Thorough A Programme
>>
>>
>>If you need to intercept the packets which are tobe sent via default
>>router, you can use iptables targets QUEUE and/or ULOG (if kernel
>>supports it) which will pass the packets to user space program which can
>>process them and, if necessary, return them back to kernel for further
>>processing.
>>
>>Alexey Fadyushin
>>Brainbench MVP for Linux.
>>http://www.brainbench.com
>>
>>Robert Canary wrote:
>>
>>
>>>You would have to create a virtual ethernet driver that really
>>>dosen't look at a physical device but rather a FIFO file.
>>>
>>>Sort of like null modem driver...
>>>
>>>kanhu rauta wrote:
>>>
>>>
>>>>  Hi all,
>>>>
>>>>How can i get the default gateway of a linux machine through a C
>>>>programme. Can i get it through IOCTL call.
>>>>
>>>>Any idea to Proceed with is welcome.
>>>>
>>>>With Regards,
>>>>Kanhu
>>>>
>>>>Kanhu Charan Rauta
>>>>
>>>>Innomedia Techonologies Pvt. Ltd
>>>>
>>>>#3278,12Th Main,
>>>>
>>>>HAL 2nd stage.
>>>>
>>>>Banglore-560008.
>>>
>>>
>>--
>>redhat-list mailing list
>>unsubscribe mailto:redhat-list-request@(protected)?subject=unsubscribe
>>https://www.redhat.com/mailman/listinfo/redhat-list
>
>

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@(protected)?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list