[B.A.T.M.A.N.] [PATCH 04/10] batman-adv: Send neighbor discovery packets

Sven Eckelmann sven.eckelmann at gmx.de
Tue Dec 7 15:51:21 CET 2010


On Tuesday 07 December 2010 15:39:32 Linus Lüssing wrote:
> +	memcpy(skb_put(skb, packet_len), batman_if->ndp_packet_buff,
> +	       packet_len);
> +
> +	send_skb_packet(skb, batman_if, broadcast_addr);

> --- a/types.h
> +++ b/types.h
> @@ -47,6 +47,7 @@ struct batman_if {
>  	struct packet_type batman_adv_ptype;
>  	struct net_device *soft_iface;
>  	struct rcu_head rcu;
> +	unsigned char *ndp_packet_buff;

Good way to never get included in the linux kernel by David S. Miller.

Best regards,
	Sven
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.open-mesh.org/pipermail/b.a.t.m.a.n/attachments/20101207/14a5195a/attachment.pgp>


More information about the B.A.T.M.A.N mailing list