Displaying 2 results from an estimated 2 matches for "ic_dev_ioctl".
Did you mean:
cdev_ioctl
2006 Jun 15
2
xenbus api
Hello
I have a lot of problem using the xenbus api (in xen-3.0-testing).
I had to modify the network backend driver (file netback.c), and each
call to a xenbus function in a virtual machine make my machine reboot
(not the virtual, the real machine).
for example, I ''ve add this line of code (wich is useless):
2003 May 22
0
[PATCH 2.5.69 1/3] remove ipconfig support from the kernel
...- }
- kfree(d);
- }
- rtnl_shunlock();
-}
-
-/*
- * Interface to various network functions.
- */
-
-static inline void
-set_sockaddr(struct sockaddr_in *sin, u32 addr, u16 port)
-{
- sin->sin_family = AF_INET;
- sin->sin_addr.s_addr = addr;
- sin->sin_port = port;
-}
-
-static int __init ic_dev_ioctl(unsigned int cmd, struct ifreq *arg)
-{
- int res;
-
- mm_segment_t oldfs = get_fs();
- set_fs(get_ds());
- res = devinet_ioctl(cmd, arg);
- set_fs(oldfs);
- return res;
-}
-
-static int __init ic_route_ioctl(unsigned int cmd, struct rtentry *arg)
-{
- int res;
-
- mm_segment_t oldfs = get_fs();
-...