-
Notifications
You must be signed in to change notification settings - Fork 2
/
proto.h
24 lines (20 loc) · 784 Bytes
/
proto.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/* internal.h: netsfs protocol handler definitions
*
* Copyright (C) 2012 Beraldo Leal <beraldo@ime.usp.br>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License version
* 2 as published by the Free Software Foundation.
*
* vim: tabstop=4:softtabstop=4:shiftwidth=4:expandtab
*
*/
#ifndef __NETSFS_PROTO_H__
#define __NETSFS_PROTO_H__
extern void netsfs_register_pack(void);
int netsfs_packet_handler(struct sk_buff *skb, struct net_device *dev, struct packet_type *pkt,
struct net_device *dev2);
int get_transport_string(char *str, struct sk_buff *skb);
int get_network_string(char *str, struct sk_buff *skb);
int get_mac_string(char *str, struct sk_buff *skb);
#endif