sending arbitrary UDP packets from kernel module

2008-12-20 Thread Ferner Cilloniz
So i have done some research and reading and found that i need to call either udp_send or udp_output. Can anyone help me out with providing the proper arguments to these functions so i may call them and send arbitrary UDP packets from a kernel module? Thanks everyone :) static int udp_send(struct

Re: Update of Yandex' SMBable em driver

2008-12-20 Thread Ivan Voras
Vladimir Ivanov wrote: > Hi, > > We've published latest versions at > > http://people.yandex-team.ru/~wawa/em-6.7.3-yandex-1.40.tar.gz > http://people.yandex-team.ru/~wawa/em-6.9.6-RELENG7-yandex-1.36.2.8.tar.gz > > These revisions use mtx_trylock instead of mtx_lock in em_start(). Thank you!

Re: Update of Yandex' SMBable em driver

2008-12-20 Thread Sergey Matveychuk
Ivan Voras пишет: Vladimir Ivanov wrote: Hi, We've published latest versions at http://people.yandex-team.ru/~wawa/em-6.7.3-yandex-1.40.tar.gz http://people.yandex-team.ru/~wawa/em-6.9.6-RELENG7-yandex-1.36.2.8.tar.gz These revisions use mtx_trylock instead of mtx_lock in em_start(). Thank

Checksum offloading

2008-12-20 Thread Michael Tüxen
Dear all, I'm currently analyzing how TCP/UDP checksum offloading works to find the best way to add SCTP checksum offloading. sys/mbuf.h has constants: #define CSUM_IP 0x0001 /* will csum IP */ #define CSUM_TCP0x0002 /* will csum TCP */ #define C

Re: HEADSUP: arp-v2 has been committed

2008-12-20 Thread Gerald Pfeifer
The code in question on the Wine side is #if defined(HAVE_SYS_SYSCTL_H) && defined(NET_RT_DUMP) int mib[] = {CTL_NET, PF_ROUTE, 0, AF_INET, NET_RT_FLAGS, RTF_LLINFO}; and there is nothing FreeBSD-specific in dlls/iphlpapi/ipstats.c as far as I can see. If the arp-v2 update now made us incomp

Re: HEADSUP: arp-v2 has been committed

2008-12-20 Thread Kip Macy
The flag is not needed. It is only possible to retrieve arp entries by way of sysctl. The converse of this is you no longer need to grab all the entries in the routing table and look at each one to determine which are cloned routes (dynamic host routes) which contain ARP entries. -Kip On Sat, Dec