taglinefilesource code
ax25_dev68net/ax25/ax25_route.cstruct ax25_dev *next;
ax25_dev427net/ax25/ax25_route.cstatic struct ax25_dev *ax25_dev_get_dev(struct device *dev)
ax25_dev429net/ax25/ax25_route.cstruct ax25_dev *s;
ax25_dev443net/ax25/ax25_route.cstruct ax25_dev *ax25_dev;
ax25_dev445net/ax25/ax25_route.cif ((ax25_dev = ax25_dev_get_dev(dev)) == NULL) {
ax25_dev450net/ax25/ax25_route.creturn ax25_dev->values[valueno];
ax25_dev460net/ax25/ax25_route.cstruct ax25_dev *ax25_dev;
ax25_dev462net/ax25/ax25_route.cif ((ax25_dev = (struct ax25_dev *)kmalloc(sizeof(struct ax25_dev), GFP_ATOMIC)) == NULL)
ax25_dev465net/ax25/ax25_route.cax25_dev->dev        = dev;
ax25_dev467net/ax25/ax25_route.cax25_dev->values[AX25_VALUES_IPDEFMODE] = AX25_DEF_IPDEFMODE;
ax25_dev468net/ax25/ax25_route.cax25_dev->values[AX25_VALUES_AXDEFMODE] = AX25_DEF_AXDEFMODE;
ax25_dev469net/ax25/ax25_route.cax25_dev->values[AX25_VALUES_NETROM]    = AX25_DEF_NETROM;
ax25_dev470net/ax25/ax25_route.cax25_dev->values[AX25_VALUES_TEXT]      = AX25_DEF_TEXT;
ax25_dev471net/ax25/ax25_route.cax25_dev->values[AX25_VALUES_BACKOFF]   = AX25_DEF_BACKOFF;
ax25_dev472net/ax25/ax25_route.cax25_dev->values[AX25_VALUES_CONMODE]   = AX25_DEF_CONMODE;
ax25_dev473net/ax25/ax25_route.cax25_dev->values[AX25_VALUES_WINDOW]    = AX25_DEF_WINDOW;
ax25_dev474net/ax25/ax25_route.cax25_dev->values[AX25_VALUES_EWINDOW]   = AX25_DEF_EWINDOW;
ax25_dev475net/ax25/ax25_route.cax25_dev->values[AX25_VALUES_T1]        = (AX25_DEF_T1 * PR_SLOWHZ) / 2;
ax25_dev476net/ax25/ax25_route.cax25_dev->values[AX25_VALUES_T2]        = AX25_DEF_T2 * PR_SLOWHZ;
ax25_dev477net/ax25/ax25_route.cax25_dev->values[AX25_VALUES_T3]        = AX25_DEF_T3 * PR_SLOWHZ;
ax25_dev478net/ax25/ax25_route.cax25_dev->values[AX25_VALUES_N2]        = AX25_DEF_N2;
ax25_dev483net/ax25/ax25_route.cax25_dev->next = ax25_device;
ax25_dev484net/ax25/ax25_route.cax25_device    = ax25_dev;
ax25_dev491net/ax25/ax25_route.cstruct ax25_dev *s, *t, *ax25_dev = ax25_device;
ax25_dev493net/ax25/ax25_route.cwhile (ax25_dev != NULL) {
ax25_dev494net/ax25/ax25_route.cs        = ax25_dev;
ax25_dev495net/ax25/ax25_route.cax25_dev = ax25_dev->next;
ax25_dev518net/ax25/ax25_route.cstruct ax25_dev *ax25_dev;
ax25_dev530net/ax25/ax25_route.cif ((ax25_dev = ax25_dev_get_dev(dev)) == NULL)
ax25_dev565net/ax25/ax25_route.cmemcpy(ax25_dev->values, ax25_parms.values, AX25_MAX_VALUES * sizeof(short));
ax25_dev566net/ax25/ax25_route.cax25_dev->values[AX25_VALUES_T1] *= (PR_SLOWHZ / 2);
ax25_dev567net/ax25/ax25_route.cax25_dev->values[AX25_VALUES_T2] *= PR_SLOWHZ;
ax25_dev568net/ax25/ax25_route.cax25_dev->values[AX25_VALUES_T3] *= PR_SLOWHZ;
ax25_dev577net/ax25/ax25_route.cif ((ax25_dev = ax25_dev_get_dev(dev)) == NULL)
ax25_dev579net/ax25/ax25_route.cmemcpy(ax25_parms.values, ax25_dev->values, AX25_MAX_VALUES * sizeof(short));