diff options
| author | Arnaldo Carvalho de Melo <acme@conectiva.com.br> | 2003-05-02 21:01:05 -0300 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <acme@conectiva.com.br> | 2003-05-02 21:01:05 -0300 |
| commit | d4cf4c22167c272d4588a32add0c0c7a5ab354a7 (patch) | |
| tree | 6dbac7247f59909248c7b6a96c1ae0b456987b7b /include | |
| parent | cfc7551c0afe5c167eebf68be397c84e1fd3957f (diff) | |
o pppoe: use revised net module infrastructure
Using sk_set_owner and having THIS_MODULE in the struct proto_ops registered
with the core.
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/if_pppox.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/if_pppox.h b/include/linux/if_pppox.h index 117357b14483..78ffd78ddb9e 100644 --- a/include/linux/if_pppox.h +++ b/include/linux/if_pppox.h @@ -140,8 +140,6 @@ struct pppox_proto { int (*create)(struct socket *sock); int (*ioctl)(struct socket *sock, unsigned int cmd, unsigned long arg); - int (*release)(struct socket *sock); - void (*sk_free)(struct sock *sk); struct module *owner; }; @@ -150,9 +148,6 @@ extern void unregister_pppox_proto(int proto_num); extern void pppox_unbind_sock(struct sock *sk);/* delete ppp-channel binding */ extern int pppox_channel_ioctl(struct ppp_channel *pc, unsigned int cmd, unsigned long arg); -extern struct sock *pppox_sk_alloc(struct socket *sock, int protocol, - int priority, int zero_it, - kmem_cache_t *slab); /* PPPoX socket states */ enum { |
