added a static protocol version number used when client and server are
establishing a conneciton to make sure the protocol matches
netlink header, msg header nor iov should be part of pdev, that's
retarded
split netlink_send into netlink_send that takes netlink header as
argument and sends it and netlink_send_msg that takes just payload and
confirms the delivery
made netlink_recv return nlmsghdr instead my own structure, that's
entirely pointless, also, it uses it's own msghdr and iovec, no need to
reuse them
since I'm not reusing already existing structures I need malloc, also
perror for errno
implemented all the functions and got rid of separate functions for
checking version, that should be the first thing when connecting so I
added that to conn_client/conn_server
removed version checking since it will be done when establishing
connection witht he server, added genric functions for sending and
receiving that use loops
it's pointless to use my own structure for netlink messages when I can
use nlmsghdr, also split _send into _send that takes nlmsghdr and
_send_msg that takes a buffer to be payload and confirms the delivery
version checking is done when establishing connection
nake handle_netlink use the generic send function: netlink_send, for now
it just returns the netlink header it got
proxy_dev really shouldn't contain these struts used in sending and
receiving messages, those should be managed by sending/receiving
functions