doc: split sections in different files
[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 int p2pkp_msgrecv(struct socket *s, struct sockaddr_in *sin, char *buffer, int len);
12
13 #endif /* _P2PKP_NET_H_ */