hi all:
I built a module for calculate the SHA-1. The code is:
##
#include linux/init.h
#include linux/module.h
#include linux/kernel.h
#include linux/crypto.h
#include linux/err.h
#include linux/scatterlist.h
MODULE_LICENSE(Dual BSD/GPL);
#define SHA1_LENGTH 20
static
lx lxlenovos...@gmail.com writes:
hi all:
I built a module for calculate the SHA-1. The code is:
##
#include linux/init.h
#include linux/module.h
#include linux/kernel.h
#include linux/crypto.h
#include linux/err.h
#include linux/scatterlist.h
MODULE_LICENSE(Dual
HI,
I wanted to know what is the process for adding a new source(say driver) to
the kernel tree.I am not asking for how to add a driver ( like modifying
make file, Kconfig, adding driver to staging or my_driver folder) but the
process for adding it to the source tree Like :
- which branch to add
From: kernelnewbies-boun...@kernelnewbies.org
[mailto:kernelnewbies-boun...@kernelnewbies.org] On Behalf Of lx
Sent: Friday, August 28, 2015 12:36 AM
To: kernelnewbies
Subject: SHA-1 hash calculate in Kernel.
hi all:
I built a module for calculate the SHA-1. The code is:
Hi All,
I am new to kernel development. I am writing a kernel module that captures
packet at the netfilter pre - routing hook.
I only want to capture the BEACON FRAME.
I have few queries:
1When the beacon frame comes to receiving machine do the sk_buff gets
allocated?
2 How can i identify the
Then how do i capture the beacon frames?
On Fri, Aug 28, 2015 at 10:40 PM, Jeff Haran jeff.ha...@citrix.com wrote:
*From:* kernelnewbies-boun...@kernelnewbies.org [mailto:
kernelnewbies-boun...@kernelnewbies.org] *On Behalf Of *Gunjan Mehta
*Sent:* Friday, August 28, 2015 9:21 AM
*To:*
From: Gunjan Mehta [mailto:gunjanmeht...@gmail.com]
Sent: Friday, August 28, 2015 10:51 AM
To: Jeff Haran
Cc: kernelnewbies
Subject: Re: Identify Beacon Frame
Then how do i capture the beacon frames?
On Fri, Aug 28, 2015 at 10:40 PM, Jeff Haran
Well..from userspace application you need to register which subtype of
frames you want to receive.
This is done with netlink sockets. You can check
hostapd/wpa_supplicant sources to see how this is done.
http://w1.fi/wpa_supplicant/
I assume you are using newer kernel e.g. 3.0 onwards.
Old
Avinash,
Ya m talking about the WLAN.
can you just throw some more light on cfg802.11 handlers.
On Fri, Aug 28, 2015 at 11:24 PM, Avinash Patil avinashapa...@gmail.com
wrote:
Hi Gunjan,
Are you talking about WLAN beacon frames? If so, you can you cfg80211
handlers to register management
Hi Gunjan,
Are you talking about WLAN beacon frames? If so, you can you cfg80211
handlers to register management frames and once frame is received
parse frame type/subtype to check if its beacon.
I dont think beacon frames are delievered to netdev.
Thanks,
Avinash
On Fri, Aug 28, 2015 at 10:51
Hi All,
On Friday, August 28, 2015 11:44 PM, Avinash Patil avinashapa...@gmail.com
wrote:
Well..from userspace application you need to register which subtype of
frames you want to receive.
This is done with netlink sockets. You can check
hostapd/wpa_supplicant sources to see how this is done.
11 matches
Mail list logo