| To: | davem@xxxxxxxxxxxxxx, linux-net@xxxxxxxxxxxxxxx, netdev@xxxxxxxxxxx |
|---|---|
| Subject: | comment on [NET]: Delete support for old-style protocols, no longer necessary. |
| From: | Joe Perches <joe@xxxxxxxxxxx> |
| Date: | Tue, 07 Oct 2003 11:37:09 -0700 |
| Sender: | netdev-bounce@xxxxxxxxxxx |
How about
netdevice.h
struct sock;
struct packet_type {
unsigned short type; /* This is really htons(ether_type).
*/
struct net_device *dev; /* NULL is wildcarded here
*/
int (*func) (struct sk_buff *, struct net_device *,
struct packet_type *);
- void *af_packet_priv;
+ struct sock *sk; /* appropriate comment: socket copy? */
struct list_head list;
};
and s/af_packet_priv/sk/g in the rest of the files?
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH] Fix warnings in defxx.c, Maciej W. Rozycki |
|---|---|
| Next by Date: | Re: comment on [NET]: Delete support for old-style protocols, no longer necessary., David S. Miller |
| Previous by Thread: | [PATCH] Fix 64bit bugs in dscc44.c, Andi Kleen |
| Next by Thread: | Re: comment on [NET]: Delete support for old-style protocols, no longer necessary., David S. Miller |
| Indexes: | [Date] [Thread] [Top] [All Lists] |