![]() |
| | #1 |
| Registered User Join Date: Dec 2003
Posts: 24
| Packet Filter using Unix Socket Packet Filter Using Unix Sockets Please take a look at the link and help me out. Thanks. |
| doraiashok is offline | |
| | #2 |
| Yes, my avatar is stolen Join Date: Dec 2002
Posts: 2,544
| Do you need to call: Code: setsockopt(handle->fd, SOL_SOCKET, SO_ATTACH_FILTER, &fcode, sizeof(fcode)) |
| anonytmouse is offline | |
| | #3 |
| Registered User Join Date: Dec 2003
Posts: 24
| With SO_ATTACH_FILTER you will have to specify the filter code but i want to block all IP packets and send only the packets, which may be useful. (Definition of useful may be dependent on data and not on any header information) |
| doraiashok is offline | |
![]() |
| Thread Tools | |
| Display Modes | |
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Packet processing in Socket programming, please help | pumpkin | Networking/Device Communication | 5 | 05-28-2009 01:33 AM |
| Global Variables | Taka | C Programming | 34 | 11-02-2007 03:25 AM |
| Problem while constructing IP packet and sending using socket() system call | cavestine | Networking/Device Communication | 10 | 10-15-2007 05:49 AM |
| Datagram Unix socket problem | karas | C Programming | 9 | 07-27-2006 10:08 AM |
| Packet Filter Using Unix Sockets | doraiashok | C Programming | 3 | 12-12-2003 02:56 PM |