// Skip function: __VERIFIER_error // Skip function: __VERIFIER_nondet_int // Skip function: __VERIFIER_nondet_uint // Skip function: __VERIFIER_nondet_ulong // Function: __netif_schedule // with type: void __netif_schedule(struct Qdisc *) // with return type: void void __netif_schedule(struct Qdisc *arg0) { // Void type return; } // Function: __raw_spin_lock_init // with type: void __raw_spin_lock_init(raw_spinlock_t *, const char *, struct lock_class_key *) // with return type: void void __raw_spin_lock_init(raw_spinlock_t *arg0, const char *arg1, struct lock_class_key *arg2) { // Void type return; } // Function: _copy_to_user // with type: unsigned long int _copy_to_user(void *, const void *, unsigned int) // with return type: unsigned long int unsigned long __VERIFIER_nondet_ulong(void); unsigned long int _copy_to_user(void *arg0, const void *arg1, unsigned int arg2) { // Simple type return __VERIFIER_nondet_ulong(); } // Function: _raw_spin_lock // with type: void _raw_spin_lock(raw_spinlock_t *) // with return type: void void _raw_spin_lock(raw_spinlock_t *arg0) { // Void type return; } // Function: _raw_spin_lock_bh // with type: void _raw_spin_lock_bh(raw_spinlock_t *) // with return type: void void _raw_spin_lock_bh(raw_spinlock_t *arg0) { // Void type return; } // Function: _raw_spin_unlock // with type: void _raw_spin_unlock(raw_spinlock_t *) // with return type: void void _raw_spin_unlock(raw_spinlock_t *arg0) { // Void type return; } // Function: _raw_spin_unlock_bh // with type: void _raw_spin_unlock_bh(raw_spinlock_t *) // with return type: void void _raw_spin_unlock_bh(raw_spinlock_t *arg0) { // Void type return; } // Function: add_timer // with type: void add_timer(struct timer_list *) // with return type: void void add_timer(struct timer_list *arg0) { // Void type return; } // Function: alloc_netdev_mqs // with type: struct net_device *alloc_netdev_mqs(int, const char *, void (*)(struct net_device *), unsigned int, unsigned int) // with return type: (struct net_device)* struct net_device *alloc_netdev_mqs(int arg0, const char *arg1, void (*arg2)(struct net_device *), unsigned int arg3, unsigned int arg4) { // Pointer type return ldv_malloc(sizeof(struct net_device)); } // Skip function: calloc // Function: capable // with type: int capable(int) // with return type: int int __VERIFIER_nondet_int(void); int capable(int arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: consume_skb // with type: void consume_skb(struct sk_buff *) // with return type: void void consume_skb(struct sk_buff *arg0) { // Void type return; } // Function: del_timer // with type: int del_timer(struct timer_list *) // with return type: int int __VERIFIER_nondet_int(void); int del_timer(struct timer_list *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: del_timer_sync // with type: int del_timer_sync(struct timer_list *) // with return type: int int __VERIFIER_nondet_int(void); int del_timer_sync(struct timer_list *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: dev_alloc_skb // with type: struct sk_buff *dev_alloc_skb(unsigned int) // with return type: (struct sk_buff)* struct sk_buff *dev_alloc_skb(unsigned int arg0) { // Pointer type return ldv_malloc(sizeof(struct sk_buff)); } // Function: dev_close // with type: int dev_close(struct net_device *) // with return type: int int __VERIFIER_nondet_int(void); int dev_close(struct net_device *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: dev_trans_start // with type: unsigned long int dev_trans_start(struct net_device *) // with return type: unsigned long int unsigned long __VERIFIER_nondet_ulong(void); unsigned long int dev_trans_start(struct net_device *arg0) { // Simple type return __VERIFIER_nondet_ulong(); } // Function: free_netdev // with type: void free_netdev(struct net_device *) // with return type: void void free_netdev(struct net_device *arg0) { // Void type return; } // Skip function: kfree // Function: ldv_check_final_state // with type: void ldv_check_final_state() // with return type: void void ldv_check_final_state() { // Void type return; } // Function: ldv_initialize // with type: void ldv_initialize() // with return type: void void ldv_initialize() { // Void type return; } // Skip function: malloc // Function: might_fault // with type: void might_fault() // with return type: void void might_fault() { // Void type return; } // Function: mod_timer // with type: int mod_timer(struct timer_list *, unsigned long) // with return type: int int __VERIFIER_nondet_int(void); int mod_timer(struct timer_list *arg0, unsigned long arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: msleep_interruptible // with type: unsigned long int msleep_interruptible(unsigned int) // with return type: unsigned long int unsigned long __VERIFIER_nondet_ulong(void); unsigned long int msleep_interruptible(unsigned int arg0) { // Simple type return __VERIFIER_nondet_ulong(); } // Function: netif_rx // with type: int netif_rx(struct sk_buff *) // with return type: int int __VERIFIER_nondet_int(void); int netif_rx(struct sk_buff *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: netpoll_trap // with type: int netpoll_trap() // with return type: int int __VERIFIER_nondet_int(void); int netpoll_trap() { // Simple type return __VERIFIER_nondet_int(); } // Function: printk // with type: int printk(const char *, ...) // with return type: int int __VERIFIER_nondet_int(void); int printk(const char *arg0, ...) { // Simple type return __VERIFIER_nondet_int(); } // Function: register_netdevice // with type: int register_netdevice(struct net_device *) // with return type: int int __VERIFIER_nondet_int(void); int register_netdevice(struct net_device *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: rtnl_lock // with type: void rtnl_lock() // with return type: void void rtnl_lock() { // Void type return; } // Function: rtnl_unlock // with type: void rtnl_unlock() // with return type: void void rtnl_unlock() { // Void type return; } // Function: skb_put // with type: unsigned char *skb_put(struct sk_buff *, unsigned int) // with return type: (unsigned char)* unsigned char *skb_put(struct sk_buff *arg0, unsigned int arg1) { unsigned char *ret_val = arg0->data + arg0->tail; // a more precise implementation of skb_put would actually re-allocate memory // here arg0->tail += arg1; // Pointer type return ret_val; } // Function: slhc_compress // with type: int slhc_compress(struct slcompress *, unsigned char *, int, unsigned char *, unsigned char **, int) // with return type: int int __VERIFIER_nondet_int(void); int slhc_compress(struct slcompress *arg0, unsigned char *arg1, int arg2, unsigned char *arg3, unsigned char **arg4, int arg5) { // Simple type return __VERIFIER_nondet_int(); } // Function: slhc_free // with type: void slhc_free(struct slcompress *) // with return type: void void slhc_free(struct slcompress *arg0) { // Void type return; } // Function: slhc_init // with type: struct slcompress *slhc_init(int, int) // with return type: (struct slcompress)* struct slcompress *slhc_init(int arg0, int arg1) { // Pointer type return ldv_malloc(sizeof(struct slcompress)); } // Function: slhc_remember // with type: int slhc_remember(struct slcompress *, unsigned char *, int) // with return type: int int __VERIFIER_nondet_int(void); int slhc_remember(struct slcompress *arg0, unsigned char *arg1, int arg2) { // Simple type return __VERIFIER_nondet_int(); } // Function: slhc_uncompress // with type: int slhc_uncompress(struct slcompress *, unsigned char *, int) // with return type: int int __VERIFIER_nondet_int(void); int slhc_uncompress(struct slcompress *arg0, unsigned char *arg1, int arg2) { // Simple type return __VERIFIER_nondet_int(); } // Skip function: sprintf // Skip function: strlen // Function: tty_chars_in_buffer // with type: int tty_chars_in_buffer(struct tty_struct *) // with return type: int int __VERIFIER_nondet_int(void); int tty_chars_in_buffer(struct tty_struct *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: tty_devnum // with type: dev_t tty_devnum(struct tty_struct *) // with return type: dev_t unsigned int __VERIFIER_nondet_uint(void); dev_t tty_devnum(struct tty_struct *arg0) { // Typedef type // Real type: __kernel_dev_t // Typedef type // Real type: __u32 // Typedef type // Real type: unsigned int // Simple type return __VERIFIER_nondet_uint(); } // Function: tty_hangup // with type: void tty_hangup(struct tty_struct *) // with return type: void void tty_hangup(struct tty_struct *arg0) { // Void type return; } // Function: tty_mode_ioctl // with type: int tty_mode_ioctl(struct tty_struct *, struct file *, unsigned int, unsigned long) // with return type: int int __VERIFIER_nondet_int(void); int tty_mode_ioctl(struct tty_struct *arg0, struct file *arg1, unsigned int arg2, unsigned long arg3) { // Simple type return __VERIFIER_nondet_int(); } // Function: tty_register_ldisc // with type: int tty_register_ldisc(int, struct tty_ldisc_ops *) // with return type: int int __VERIFIER_nondet_int(void); int tty_register_ldisc(int arg0, struct tty_ldisc_ops *arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: tty_unregister_ldisc // with type: int tty_unregister_ldisc(int) // with return type: int int __VERIFIER_nondet_int(void); int tty_unregister_ldisc(int arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: unregister_netdev // with type: void unregister_netdev(struct net_device *) // with return type: void void unregister_netdev(struct net_device *arg0) { // Void type return; } // Function: unregister_netdevice_queue // with type: void unregister_netdevice_queue(struct net_device *, struct list_head *) // with return type: void void unregister_netdevice_queue(struct net_device *arg0, struct list_head *arg1) { // Void type return; } // Function: warn_slowpath_null // with type: void warn_slowpath_null(const char *, const int) // with return type: void void warn_slowpath_null(const char *arg0, const int arg1) { // Void type return; }