lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <CADjbhK4G0Jp+x-gZ7DmKx2Uz2i+zD53NzvmnwUuZjK3YERSAqA@mail.gmail.com>
Date:	Thu, 12 Jun 2014 11:07:40 +0100
From:	Bruno Correia <bcorreia.c@...il.com>
To:	linux-kernel@...r.kernel.org
Subject: [mac80211] send ethernet packet

Hi all,

I am trying to send a custom ethernet packet through a kernel module
(mac80211) and I am facing some problems to understand what I really
need to do.

Until now, I realize that I need to create an "sk_buff" and send it
via "dev_queue_xmit" function. Am I right?

My problem is how to properly create and fill all the needed fields of
"sk_buff" with my data (I only need to pass a number).

In order to give you some context, I am working on a research in IEEE
802.11 and I am developing a mechanism to send the packets in an
energy efficient way. Therefore, I need to employ a specific algorithm
before adding the "Traffic Indication Map" (TIM) into the "Beacon"
frame and, depending on the results of this algorithm, I need to send
an extra message to the station. This is why I cannot simply use a raw
socket in the user space, for example.

Any idea how to achieve my goal? Or any point to a "guide" that help
me to understand what I really need to do?

The kernel version in use is the "3.2.0-4-686-pae".

Best regards,
Coiso22

ps.: I wish to be personally CC'ed the answers/comments posted to the
list in response to my post.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ