Rough VJ Channel Implementation - vj_udp.patch
Subsystems (3)
PATCH 3/3 Rough VJ Channel Implementation - vj_udp.patch
Signed-off-by Kelly Daly <[email protected]>
Hacked udp.c to receive directly to VJ Channel socket. Breaks normal UDP - sockets don't speak non-VJ anymore!
----
include/linux/udp.h +2 -0
@@ -51,6 +51,8 @@* when the socket is uncorked. */ __u16 len;/* total length of pending frames */ +struct vj_channel *chan;/* VJ net channel */ +int vj_reg_flag;/* is the vj channel registered */ };static inline struct udp_sock *udp_sk (const struct sock *sk)
net/ipv4/udp.c +277 -55
448 lines not on this page · raw message