tag | line | file | source code |
ax25_dev | 68 | net/ax25/ax25_route.c | struct ax25_dev *next; |
ax25_dev | 427 | net/ax25/ax25_route.c | static struct ax25_dev *ax25_dev_get_dev(struct device *dev) |
ax25_dev | 429 | net/ax25/ax25_route.c | struct ax25_dev *s; |
ax25_dev | 443 | net/ax25/ax25_route.c | struct ax25_dev *ax25_dev; |
ax25_dev | 445 | net/ax25/ax25_route.c | if ((ax25_dev = ax25_dev_get_dev(dev)) == NULL) { |
ax25_dev | 450 | net/ax25/ax25_route.c | return ax25_dev->values[valueno]; |
ax25_dev | 460 | net/ax25/ax25_route.c | struct ax25_dev *ax25_dev; |
ax25_dev | 462 | net/ax25/ax25_route.c | if ((ax25_dev = (struct ax25_dev *)kmalloc(sizeof(struct ax25_dev), GFP_ATOMIC)) == NULL) |
ax25_dev | 465 | net/ax25/ax25_route.c | ax25_dev->dev = dev; |
ax25_dev | 467 | net/ax25/ax25_route.c | ax25_dev->values[AX25_VALUES_IPDEFMODE] = AX25_DEF_IPDEFMODE; |
ax25_dev | 468 | net/ax25/ax25_route.c | ax25_dev->values[AX25_VALUES_AXDEFMODE] = AX25_DEF_AXDEFMODE; |
ax25_dev | 469 | net/ax25/ax25_route.c | ax25_dev->values[AX25_VALUES_NETROM] = AX25_DEF_NETROM; |
ax25_dev | 470 | net/ax25/ax25_route.c | ax25_dev->values[AX25_VALUES_TEXT] = AX25_DEF_TEXT; |
ax25_dev | 471 | net/ax25/ax25_route.c | ax25_dev->values[AX25_VALUES_BACKOFF] = AX25_DEF_BACKOFF; |
ax25_dev | 472 | net/ax25/ax25_route.c | ax25_dev->values[AX25_VALUES_CONMODE] = AX25_DEF_CONMODE; |
ax25_dev | 473 | net/ax25/ax25_route.c | ax25_dev->values[AX25_VALUES_WINDOW] = AX25_DEF_WINDOW; |
ax25_dev | 474 | net/ax25/ax25_route.c | ax25_dev->values[AX25_VALUES_EWINDOW] = AX25_DEF_EWINDOW; |
ax25_dev | 475 | net/ax25/ax25_route.c | ax25_dev->values[AX25_VALUES_T1] = (AX25_DEF_T1 * PR_SLOWHZ) / 2; |
ax25_dev | 476 | net/ax25/ax25_route.c | ax25_dev->values[AX25_VALUES_T2] = AX25_DEF_T2 * PR_SLOWHZ; |
ax25_dev | 477 | net/ax25/ax25_route.c | ax25_dev->values[AX25_VALUES_T3] = AX25_DEF_T3 * PR_SLOWHZ; |
ax25_dev | 478 | net/ax25/ax25_route.c | ax25_dev->values[AX25_VALUES_N2] = AX25_DEF_N2; |
ax25_dev | 483 | net/ax25/ax25_route.c | ax25_dev->next = ax25_device; |
ax25_dev | 484 | net/ax25/ax25_route.c | ax25_device = ax25_dev; |
ax25_dev | 491 | net/ax25/ax25_route.c | struct ax25_dev *s, *t, *ax25_dev = ax25_device; |
ax25_dev | 493 | net/ax25/ax25_route.c | while (ax25_dev != NULL) { |
ax25_dev | 494 | net/ax25/ax25_route.c | s = ax25_dev; |
ax25_dev | 495 | net/ax25/ax25_route.c | ax25_dev = ax25_dev->next; |
ax25_dev | 518 | net/ax25/ax25_route.c | struct ax25_dev *ax25_dev; |
ax25_dev | 530 | net/ax25/ax25_route.c | if ((ax25_dev = ax25_dev_get_dev(dev)) == NULL) |
ax25_dev | 565 | net/ax25/ax25_route.c | memcpy(ax25_dev->values, ax25_parms.values, AX25_MAX_VALUES * sizeof(short)); |
ax25_dev | 566 | net/ax25/ax25_route.c | ax25_dev->values[AX25_VALUES_T1] *= (PR_SLOWHZ / 2); |
ax25_dev | 567 | net/ax25/ax25_route.c | ax25_dev->values[AX25_VALUES_T2] *= PR_SLOWHZ; |
ax25_dev | 568 | net/ax25/ax25_route.c | ax25_dev->values[AX25_VALUES_T3] *= PR_SLOWHZ; |
ax25_dev | 577 | net/ax25/ax25_route.c | if ((ax25_dev = ax25_dev_get_dev(dev)) == NULL) |
ax25_dev | 579 | net/ax25/ax25_route.c | memcpy(ax25_parms.values, ax25_dev->values, AX25_MAX_VALUES * sizeof(short)); |