Creation of network device driver in C using kernel programming