9 #include <linux/list.h>
10 #include <linux/spinlock.h>
11 #include <linux/utsname.h>
12 #include <asm/resource.h>
13 #include <asm/atomic.h>
17 struct list_head ip_list; /* linked list of ipinfos */
20 __u32 ipv4[NB_IPV4ROOT];/* Process can only bind to these IPs */
21 /* The first one is used to connect */
22 /* and for bind any service */
23 /* The other must be used explicity when */
25 __u32 mask[NB_IPV4ROOT];/* Netmask for each ipv4 */
26 /* Used to select the proper source address */
28 __u32 v4_bcast; /* Broadcast address used to receive UDP packets */
32 extern spinlock_t iplist_lock;
33 extern struct list_head ip_infos;
36 void free_ip_info(struct ip_info *);
37 struct ip_info *create_ip_info(void);
39 #endif /* __KERNEL__ */
40 #endif /* _VX_NETWORK_H */