if_vx.c (30022) | if_vx.c (31016) |
---|---|
1/* 2 * Copyright (c) 1994 Herb Peyerl <hpeyerl@novatel.ca> 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 891 unchanged lines hidden (view full) --- 900 901static int 902vxioctl(ifp, cmd, data) 903 register struct ifnet *ifp; 904 int cmd; 905 caddr_t data; 906{ 907 struct vx_softc *sc = vx_softc[ifp->if_unit]; | 1/* 2 * Copyright (c) 1994 Herb Peyerl <hpeyerl@novatel.ca> 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 891 unchanged lines hidden (view full) --- 900 901static int 902vxioctl(ifp, cmd, data) 903 register struct ifnet *ifp; 904 int cmd; 905 caddr_t data; 906{ 907 struct vx_softc *sc = vx_softc[ifp->if_unit]; |
908 struct ifaddr *ifa = (struct ifaddr *) data; | |
909 struct ifreq *ifr = (struct ifreq *) data; 910 int s, error = 0; 911 912 s = splimp(); 913 914 switch (cmd) { 915 case SIOCSIFADDR: 916 case SIOCGIFADDR: --- 179 unchanged lines hidden --- | 908 struct ifreq *ifr = (struct ifreq *) data; 909 int s, error = 0; 910 911 s = splimp(); 912 913 switch (cmd) { 914 case SIOCSIFADDR: 915 case SIOCGIFADDR: --- 179 unchanged lines hidden --- |