diff options
-rw-r--r-- | host/apdu_dispatch.c | 22 | ||||
-rw-r--r-- | host/apdu_dispatch.h | 18 | ||||
-rw-r--r-- | host/libusb_util.c | 18 | ||||
-rw-r--r-- | host/libusb_util.h | 18 | ||||
-rw-r--r-- | host/simtrace2-discovery.c | 19 | ||||
-rw-r--r-- | host/simtrace2-discovery.h | 19 | ||||
-rw-r--r-- | host/simtrace2-remsim.c | 27 | ||||
-rw-r--r-- | host/simtrace2-sniff.c | 12 | ||||
-rw-r--r-- | host/simtrace2_usb.c | 18 | ||||
-rw-r--r-- | host/usb2udp.c | 22 |
10 files changed, 153 insertions, 40 deletions
diff --git a/host/apdu_dispatch.c b/host/apdu_dispatch.c index 6bdba9f..7c7ed01 100644 --- a/host/apdu_dispatch.c +++ b/host/apdu_dispatch.c @@ -2,20 +2,20 @@ * * (C) 2016 by Harald Welte <hwelte@hmw-consulting.de> * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 - * as published by the Free Software Foundation + * 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. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - #include <stdint.h> #include <stdlib.h> #include <string.h> diff --git a/host/apdu_dispatch.h b/host/apdu_dispatch.h index c76c8ec..2c99858 100644 --- a/host/apdu_dispatch.h +++ b/host/apdu_dispatch.h @@ -1,3 +1,21 @@ +/* apdu_dispatch - State machine to determine Rx/Tx phases of APDU + * + * (C) 2016 by Harald Welte <hwelte@hmw-consulting.de> + * + * 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. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ #pragma once #include <stdint.h> diff --git a/host/libusb_util.c b/host/libusb_util.c index 5ee685e..8565372 100644 --- a/host/libusb_util.c +++ b/host/libusb_util.c @@ -1,3 +1,21 @@ +/* libisb utilities + * + * (C) 2010-2016 by Harald Welte <hwelte@hmw-consulting.de> + * + * 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. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ #include <errno.h> #include <unistd.h> #include <stdio.h> diff --git a/host/libusb_util.h b/host/libusb_util.h index 5bbe3cb..2b2d92e 100644 --- a/host/libusb_util.h +++ b/host/libusb_util.h @@ -1,3 +1,21 @@ +/* libisb utilities + * + * (C) 2010-2016 by Harald Welte <hwelte@hmw-consulting.de> + * + * 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. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ #pragma once #include <libusb.h> diff --git a/host/simtrace2-discovery.c b/host/simtrace2-discovery.c index 38868fb..a7306ce 100644 --- a/host/simtrace2-discovery.c +++ b/host/simtrace2-discovery.c @@ -1,3 +1,22 @@ +/* simtrace2-discovery - host PC library to scan for matching USB + * devices + * + * (C) 2016 by Harald Welte <hwelte@hmw-consulting.de> + * + * 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. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ #include <stdint.h> #include <libusb.h> diff --git a/host/simtrace2-discovery.h b/host/simtrace2-discovery.h index 539b471..cfba956 100644 --- a/host/simtrace2-discovery.h +++ b/host/simtrace2-discovery.h @@ -1,3 +1,22 @@ +/* simtrace2-discovery - host PC library to scan for matching USB + * devices + * + * (C) 2016 by Harald Welte <hwelte@hmw-consulting.de> + * + * 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. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ #pragma once #include <stdint.h> diff --git a/host/simtrace2-remsim.c b/host/simtrace2-remsim.c index df38f77..462f73e 100644 --- a/host/simtrace2-remsim.c +++ b/host/simtrace2-remsim.c @@ -1,21 +1,22 @@ -/* simtrace2-remsim - main program for the host PC +/* simtrace2-remsim - main program for the host PC to provide a remote SIM + * using the SIMtrace 2 firmware in card emulation mode * - * (C) 2010-2017 by Harald Welte <hwelte@hmw-consulting.de> + * (C) 2016 by Harald Welte <hwelte@hmw-consulting.de> * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 - * as published by the Free Software Foundation + * 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. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - #include <errno.h> #include <unistd.h> #include <stdio.h> diff --git a/host/simtrace2-sniff.c b/host/simtrace2-sniff.c index 67bfb79..b61b7d0 100644 --- a/host/simtrace2-sniff.c +++ b/host/simtrace2-sniff.c @@ -1,5 +1,10 @@ -/* simtrace2-sniff - main program for the host PC to communicate with the SIMtrace 2 firmware in sniffer mode */ -/* This program is free software; you can redistribute it and/or +/* simtrace2-sniff - main program for the host PC to communicate with the + * SIMtrace 2 firmware in sniffer mode + * + * (C) 2016 by Harald Welte <hwelte@hmw-consulting.de> + * (C) 2018 by sysmocom -s.f.m.c. GmbH, Author: Kevin Redon <kredon@sysmocom.de> + * + * 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. @@ -12,9 +17,6 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - * - * (C) 2010-2017 by Harald Welte <hwelte@hmw-consulting.de> - * (C) 2018 by Kevin Redon <kredon@sysmocom.de> */ #include <errno.h> #include <unistd.h> diff --git a/host/simtrace2_usb.c b/host/simtrace2_usb.c index 2016670..cdfe29e 100644 --- a/host/simtrace2_usb.c +++ b/host/simtrace2_usb.c @@ -1,3 +1,21 @@ +/* simtrace2_usb - host PC application to list found SIMtrace 2 USB devices + * + * (C) 2016 by Harald Welte <hwelte@hmw-consulting.de> + * + * 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. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ #include <stdio.h> #include <stdint.h> #include <stdlib.h> diff --git a/host/usb2udp.c b/host/usb2udp.c index 7a1e4a3..c25920f 100644 --- a/host/usb2udp.c +++ b/host/usb2udp.c @@ -2,20 +2,20 @@ * * (C) 2010-2016 by Harald Welte <hwelte@hmw-consulting.de> * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 - * as published by the Free Software Foundation + * 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. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ - #include <errno.h> #include <unistd.h> #include <stdio.h> |