/* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * Copyright (C) Jonathan Naylor G4KLX (g4klx@g4klx.demon.co.uk) */ #include <linux/errno.h> #include <linux/types.h> #include <linux/socket.h> #include <linux/slab.h> #include <linux/in.h> #include <linux/kernel.h> #include <linux/timer.h> #include <linux/string.h> #include <linux/sockios.h> #include <linux/net.h> #include <linux/spinlock.h> #include <net/ax25.h> #include <linux/inet.h> #include <linux/netdevice.h> #include <linux/if_arp.h> #include <linux/skbuff.h> #include <net/sock.h> #include <asm/uaccess.h> #include <linux/fcntl.h> #include <linux/mm.h> #include <linux/interrupt.h> #include <linux/init.h> ax25_dev *ax25_dev_list; DEFINE_SPINLOCK(ax25_dev_lock);
ax25_dev *ax25_addr_ax25dev(ax25_address *addr) { ax25_dev *ax25_dev, *res = NULL; spin_lock_bh(&ax25_dev_lock); for (ax25_dev = ax25_dev_list; ax25_dev != NULL; ax25_dev = ax25_dev->next) if (ax25cmp(addr, (ax25_address *)ax25_dev->dev->dev_addr) == 0) { res = ax25_dev; } spin_unlock_bh(&ax25_dev_lock); return res; }Contributors
Person | Tokens | Prop | Commits | CommitProp | |
pre-git | pre-git | 52 | 69.33% | 1 | 33.33% |
ralf baechle | ralf baechle | 23 | 30.67% | 2 | 66.67% |
Total | 75 | 100.00% | 3 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
pre-git | pre-git | 196 | 83.05% | 4 | 33.33% |
andrew morton | andrew morton | 17 | 7.20% | 1 | 8.33% |
ralf baechle | ralf baechle | 7 | 2.97% | 3 | 25.00% |
steven whitehouse | steven whitehouse | 6 | 2.54% | 1 | 8.33% |
stephen hemminger | stephen hemminger | 5 | 2.12% | 1 | 8.33% |
eric w. biederman | eric w. biederman | 4 | 1.69% | 1 | 8.33% |
jarek poplawski | jarek poplawski | 1 | 0.42% | 1 | 8.33% |
Total | 236 | 100.00% | 12 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
pre-git | pre-git | 153 | 82.70% | 4 | 44.44% |
ralf baechle | ralf baechle | 12 | 6.49% | 2 | 22.22% |
stephen hemminger | stephen hemminger | 10 | 5.41% | 1 | 11.11% |
steven whitehouse | steven whitehouse | 6 | 3.24% | 1 | 11.11% |
eric w. biederman | eric w. biederman | 4 | 2.16% | 1 | 11.11% |
Total | 185 | 100.00% | 9 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
pre-git | pre-git | 121 | 100.00% | 1 | 100.00% |
Total | 121 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
pre-git | pre-git | 48 | 100.00% | 2 | 100.00% |
Total | 48 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
pre-git | pre-git | 38 | 58.46% | 3 | 50.00% |
ralf baechle | ralf baechle | 20 | 30.77% | 2 | 33.33% |
stephen hemminger | stephen hemminger | 7 | 10.77% | 1 | 16.67% |
Total | 65 | 100.00% | 6 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
pre-git | pre-git | 674 | 83.42% | 5 | 31.25% |
ralf baechle | ralf baechle | 67 | 8.29% | 4 | 25.00% |
stephen hemminger | stephen hemminger | 22 | 2.72% | 1 | 6.25% |
andrew morton | andrew morton | 17 | 2.10% | 1 | 6.25% |
steven whitehouse | steven whitehouse | 12 | 1.49% | 1 | 6.25% |
eric w. biederman | eric w. biederman | 8 | 0.99% | 1 | 6.25% |
thomas gleixner | thomas gleixner | 4 | 0.50% | 1 | 6.25% |
tejun heo | tejun heo | 3 | 0.37% | 1 | 6.25% |
jarek poplawski | jarek poplawski | 1 | 0.12% | 1 | 6.25% |
Total | 808 | 100.00% | 16 | 100.00% |