projects
/
p2p-kernel-protocol.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
module: added support for multiple USERSPACE receivers
[p2p-kernel-protocol.git]
/
module
/
p2pkp_net.h
1
#ifndef _P2PKP_NET_H_
2
#define _P2PKP_NET_H_
3
4
#include <net/sock.h>
5
#include <linux/net.h>
6
7
8
int p2pkp_create_udp_sock(struct socket **sock);
9
void p2pkp_destroy_udp_sock(struct socket *sock);
10
int p2pkp_msgsend(struct socket *s, struct sockaddr_in *sin, char *buffer, int len);
11
12
#endif /* _P2PKP_NET_H_ */